전자(세금)계산서 수정발행 - 기재사항 착오정정
고친 세금계산서 내용을 전달하면 API가 원본을 상계하는 취소분과 고친 내용의 수정분을 함께 발행합니다. 응답의 issuanceKey는 수정분, cancelIssuanceKey는 취소분입니다. 두 장은 각 키로 따로 조회하고 웹훅도 따로 받으며, 장마다 포인트를 차감합니다.
품목 공급가액 합계는 0이 아니어야 합니다. 세액 합계가 0이나 null이 아니면 공급가액 합계와 부호가 같아야 합니다.
supplier를 생략하면 원본 공급자를 사용합니다. supplier를 보낼 때 identificationNumber와 taxRegistrationId는 원본과 같아야 합니다. 위수탁 세금계산서와 공급받는자 식별번호가 외국인등록번호인 세금계산서는 지원하지 않습니다.
수정발행 유형 가이드를 참고하세요.
API가 요청 텍스트의 보이지 않는 문자를 자동으로 지웁니다. 탭, 줄바꿈, 캐리지리턴은 유지합니다. 이모지처럼 U+FFFF를 넘는 보충 문자는 400으로 거부합니다. 지원하지 않는 문자를 참고하세요.
POST
/
v1
/
taxInvoices
/
{issuanceKey}
/
amend
/
misspell
전자(세금)계산서 수정발행 - 기재사항 착오정정
curl --request POST \
--url https://xapi.bolta.io/v1/taxInvoices/{issuanceKey}/amend/misspell \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '
{
"date": "2026-05-27",
"purpose": "CLAIM",
"taxType": "TAXABLE",
"supplied": {
"identificationNumber": "0987654321",
"taxRegistrationId": null,
"organizationName": "공급받는자 상호",
"representativeName": "공급받는자대표",
"address": null,
"businessItem": null,
"businessType": null,
"managers": [
{
"email": "recipient@example.com",
"name": "공급받는자담당자",
"telephone": null
}
]
},
"items": [
{
"date": "2026-05-27",
"name": "정정 품목",
"unitPrice": null,
"quantity": null,
"supplyCost": 100000,
"tax": 10000,
"specification": null,
"description": null
}
]
}
'import requests
url = "https://xapi.bolta.io/v1/taxInvoices/{issuanceKey}/amend/misspell"
payload = {
"date": "2026-05-27",
"purpose": "CLAIM",
"taxType": "TAXABLE",
"supplied": {
"identificationNumber": "0987654321",
"taxRegistrationId": None,
"organizationName": "공급받는자 상호",
"representativeName": "공급받는자대표",
"address": None,
"businessItem": None,
"businessType": None,
"managers": [
{
"email": "recipient@example.com",
"name": "공급받는자담당자",
"telephone": None
}
]
},
"items": [
{
"date": "2026-05-27",
"name": "정정 품목",
"unitPrice": None,
"quantity": None,
"supplyCost": 100000,
"tax": 10000,
"specification": None,
"description": None
}
]
}
headers = {
"Authorization": "Basic <encoded-value>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Basic <encoded-value>', 'Content-Type': 'application/json'},
body: JSON.stringify({
date: '2026-05-27',
purpose: 'CLAIM',
taxType: 'TAXABLE',
supplied: {
identificationNumber: '0987654321',
taxRegistrationId: null,
organizationName: '공급받는자 상호',
representativeName: '공급받는자대표',
address: null,
businessItem: null,
businessType: null,
managers: [{email: 'recipient@example.com', name: '공급받는자담당자', telephone: null}]
},
items: [
{
date: '2026-05-27',
name: '정정 품목',
unitPrice: null,
quantity: null,
supplyCost: 100000,
tax: 10000,
specification: null,
description: null
}
]
})
};
fetch('https://xapi.bolta.io/v1/taxInvoices/{issuanceKey}/amend/misspell', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://xapi.bolta.io/v1/taxInvoices/{issuanceKey}/amend/misspell",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'date' => '2026-05-27',
'purpose' => 'CLAIM',
'taxType' => 'TAXABLE',
'supplied' => [
'identificationNumber' => '0987654321',
'taxRegistrationId' => null,
'organizationName' => '공급받는자 상호',
'representativeName' => '공급받는자대표',
'address' => null,
'businessItem' => null,
'businessType' => null,
'managers' => [
[
'email' => 'recipient@example.com',
'name' => '공급받는자담당자',
'telephone' => null
]
]
],
'items' => [
[
'date' => '2026-05-27',
'name' => '정정 품목',
'unitPrice' => null,
'quantity' => null,
'supplyCost' => 100000,
'tax' => 10000,
'specification' => null,
'description' => null
]
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Basic <encoded-value>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://xapi.bolta.io/v1/taxInvoices/{issuanceKey}/amend/misspell"
payload := strings.NewReader("{\n \"date\": \"2026-05-27\",\n \"purpose\": \"CLAIM\",\n \"taxType\": \"TAXABLE\",\n \"supplied\": {\n \"identificationNumber\": \"0987654321\",\n \"taxRegistrationId\": null,\n \"organizationName\": \"공급받는자 상호\",\n \"representativeName\": \"공급받는자대표\",\n \"address\": null,\n \"businessItem\": null,\n \"businessType\": null,\n \"managers\": [\n {\n \"email\": \"recipient@example.com\",\n \"name\": \"공급받는자담당자\",\n \"telephone\": null\n }\n ]\n },\n \"items\": [\n {\n \"date\": \"2026-05-27\",\n \"name\": \"정정 품목\",\n \"unitPrice\": null,\n \"quantity\": null,\n \"supplyCost\": 100000,\n \"tax\": 10000,\n \"specification\": null,\n \"description\": null\n }\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Basic <encoded-value>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://xapi.bolta.io/v1/taxInvoices/{issuanceKey}/amend/misspell")
.header("Authorization", "Basic <encoded-value>")
.header("Content-Type", "application/json")
.body("{\n \"date\": \"2026-05-27\",\n \"purpose\": \"CLAIM\",\n \"taxType\": \"TAXABLE\",\n \"supplied\": {\n \"identificationNumber\": \"0987654321\",\n \"taxRegistrationId\": null,\n \"organizationName\": \"공급받는자 상호\",\n \"representativeName\": \"공급받는자대표\",\n \"address\": null,\n \"businessItem\": null,\n \"businessType\": null,\n \"managers\": [\n {\n \"email\": \"recipient@example.com\",\n \"name\": \"공급받는자담당자\",\n \"telephone\": null\n }\n ]\n },\n \"items\": [\n {\n \"date\": \"2026-05-27\",\n \"name\": \"정정 품목\",\n \"unitPrice\": null,\n \"quantity\": null,\n \"supplyCost\": 100000,\n \"tax\": 10000,\n \"specification\": null,\n \"description\": null\n }\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://xapi.bolta.io/v1/taxInvoices/{issuanceKey}/amend/misspell")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Basic <encoded-value>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"date\": \"2026-05-27\",\n \"purpose\": \"CLAIM\",\n \"taxType\": \"TAXABLE\",\n \"supplied\": {\n \"identificationNumber\": \"0987654321\",\n \"taxRegistrationId\": null,\n \"organizationName\": \"공급받는자 상호\",\n \"representativeName\": \"공급받는자대표\",\n \"address\": null,\n \"businessItem\": null,\n \"businessType\": null,\n \"managers\": [\n {\n \"email\": \"recipient@example.com\",\n \"name\": \"공급받는자담당자\",\n \"telephone\": null\n }\n ]\n },\n \"items\": [\n {\n \"date\": \"2026-05-27\",\n \"name\": \"정정 품목\",\n \"unitPrice\": null,\n \"quantity\": null,\n \"supplyCost\": 100000,\n \"tax\": 10000,\n \"specification\": null,\n \"description\": null\n }\n ]\n}"
response = http.request(request)
puts response.read_body{
"issuanceKey": "8D529FAD3EBAE050B79CE943CCC7CEDE",
"cancelIssuanceKey": "8D529FAD3EBAE050B79CE943CCC7CEDE"
}{
"code": "<string>",
"message": "<string>",
"traceId": "<string>"
}{
"code": "<string>",
"message": "<string>",
"traceId": "<string>"
}{
"code": "<string>",
"message": "<string>",
"traceId": "<string>"
}{
"code": "<string>",
"message": "<string>",
"traceId": "<string>"
}인증
헤더
세금계산서 요청자 관리번호입니다. 선택 사항이며 1~255자의 비어 있지 않은 값을 입력하세요. 같은 API 키에서 세금계산서 발행 계열 API에 이미 사용한 값은 요청 내용이나 API 경로가 같든 다르든 재사용할 수 없습니다. 중복이면 API가 400 Bad Request와 INVALID_REQUEST를 반환합니다. 응답을 받지 못했다면 같은 요청을 다시 보내지 말고 요청 상태 조회 API로 접수 결과를 확인하세요.
Required string length:
1 - 255Pattern:
\S본문
application/json
전자(세금)계산서 수정발행 - 기재사항 착오정정
curl --request POST \
--url https://xapi.bolta.io/v1/taxInvoices/{issuanceKey}/amend/misspell \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '
{
"date": "2026-05-27",
"purpose": "CLAIM",
"taxType": "TAXABLE",
"supplied": {
"identificationNumber": "0987654321",
"taxRegistrationId": null,
"organizationName": "공급받는자 상호",
"representativeName": "공급받는자대표",
"address": null,
"businessItem": null,
"businessType": null,
"managers": [
{
"email": "recipient@example.com",
"name": "공급받는자담당자",
"telephone": null
}
]
},
"items": [
{
"date": "2026-05-27",
"name": "정정 품목",
"unitPrice": null,
"quantity": null,
"supplyCost": 100000,
"tax": 10000,
"specification": null,
"description": null
}
]
}
'import requests
url = "https://xapi.bolta.io/v1/taxInvoices/{issuanceKey}/amend/misspell"
payload = {
"date": "2026-05-27",
"purpose": "CLAIM",
"taxType": "TAXABLE",
"supplied": {
"identificationNumber": "0987654321",
"taxRegistrationId": None,
"organizationName": "공급받는자 상호",
"representativeName": "공급받는자대표",
"address": None,
"businessItem": None,
"businessType": None,
"managers": [
{
"email": "recipient@example.com",
"name": "공급받는자담당자",
"telephone": None
}
]
},
"items": [
{
"date": "2026-05-27",
"name": "정정 품목",
"unitPrice": None,
"quantity": None,
"supplyCost": 100000,
"tax": 10000,
"specification": None,
"description": None
}
]
}
headers = {
"Authorization": "Basic <encoded-value>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Basic <encoded-value>', 'Content-Type': 'application/json'},
body: JSON.stringify({
date: '2026-05-27',
purpose: 'CLAIM',
taxType: 'TAXABLE',
supplied: {
identificationNumber: '0987654321',
taxRegistrationId: null,
organizationName: '공급받는자 상호',
representativeName: '공급받는자대표',
address: null,
businessItem: null,
businessType: null,
managers: [{email: 'recipient@example.com', name: '공급받는자담당자', telephone: null}]
},
items: [
{
date: '2026-05-27',
name: '정정 품목',
unitPrice: null,
quantity: null,
supplyCost: 100000,
tax: 10000,
specification: null,
description: null
}
]
})
};
fetch('https://xapi.bolta.io/v1/taxInvoices/{issuanceKey}/amend/misspell', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://xapi.bolta.io/v1/taxInvoices/{issuanceKey}/amend/misspell",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'date' => '2026-05-27',
'purpose' => 'CLAIM',
'taxType' => 'TAXABLE',
'supplied' => [
'identificationNumber' => '0987654321',
'taxRegistrationId' => null,
'organizationName' => '공급받는자 상호',
'representativeName' => '공급받는자대표',
'address' => null,
'businessItem' => null,
'businessType' => null,
'managers' => [
[
'email' => 'recipient@example.com',
'name' => '공급받는자담당자',
'telephone' => null
]
]
],
'items' => [
[
'date' => '2026-05-27',
'name' => '정정 품목',
'unitPrice' => null,
'quantity' => null,
'supplyCost' => 100000,
'tax' => 10000,
'specification' => null,
'description' => null
]
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Basic <encoded-value>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://xapi.bolta.io/v1/taxInvoices/{issuanceKey}/amend/misspell"
payload := strings.NewReader("{\n \"date\": \"2026-05-27\",\n \"purpose\": \"CLAIM\",\n \"taxType\": \"TAXABLE\",\n \"supplied\": {\n \"identificationNumber\": \"0987654321\",\n \"taxRegistrationId\": null,\n \"organizationName\": \"공급받는자 상호\",\n \"representativeName\": \"공급받는자대표\",\n \"address\": null,\n \"businessItem\": null,\n \"businessType\": null,\n \"managers\": [\n {\n \"email\": \"recipient@example.com\",\n \"name\": \"공급받는자담당자\",\n \"telephone\": null\n }\n ]\n },\n \"items\": [\n {\n \"date\": \"2026-05-27\",\n \"name\": \"정정 품목\",\n \"unitPrice\": null,\n \"quantity\": null,\n \"supplyCost\": 100000,\n \"tax\": 10000,\n \"specification\": null,\n \"description\": null\n }\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Basic <encoded-value>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://xapi.bolta.io/v1/taxInvoices/{issuanceKey}/amend/misspell")
.header("Authorization", "Basic <encoded-value>")
.header("Content-Type", "application/json")
.body("{\n \"date\": \"2026-05-27\",\n \"purpose\": \"CLAIM\",\n \"taxType\": \"TAXABLE\",\n \"supplied\": {\n \"identificationNumber\": \"0987654321\",\n \"taxRegistrationId\": null,\n \"organizationName\": \"공급받는자 상호\",\n \"representativeName\": \"공급받는자대표\",\n \"address\": null,\n \"businessItem\": null,\n \"businessType\": null,\n \"managers\": [\n {\n \"email\": \"recipient@example.com\",\n \"name\": \"공급받는자담당자\",\n \"telephone\": null\n }\n ]\n },\n \"items\": [\n {\n \"date\": \"2026-05-27\",\n \"name\": \"정정 품목\",\n \"unitPrice\": null,\n \"quantity\": null,\n \"supplyCost\": 100000,\n \"tax\": 10000,\n \"specification\": null,\n \"description\": null\n }\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://xapi.bolta.io/v1/taxInvoices/{issuanceKey}/amend/misspell")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Basic <encoded-value>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"date\": \"2026-05-27\",\n \"purpose\": \"CLAIM\",\n \"taxType\": \"TAXABLE\",\n \"supplied\": {\n \"identificationNumber\": \"0987654321\",\n \"taxRegistrationId\": null,\n \"organizationName\": \"공급받는자 상호\",\n \"representativeName\": \"공급받는자대표\",\n \"address\": null,\n \"businessItem\": null,\n \"businessType\": null,\n \"managers\": [\n {\n \"email\": \"recipient@example.com\",\n \"name\": \"공급받는자담당자\",\n \"telephone\": null\n }\n ]\n },\n \"items\": [\n {\n \"date\": \"2026-05-27\",\n \"name\": \"정정 품목\",\n \"unitPrice\": null,\n \"quantity\": null,\n \"supplyCost\": 100000,\n \"tax\": 10000,\n \"specification\": null,\n \"description\": null\n }\n ]\n}"
response = http.request(request)
puts response.read_body{
"issuanceKey": "8D529FAD3EBAE050B79CE943CCC7CEDE",
"cancelIssuanceKey": "8D529FAD3EBAE050B79CE943CCC7CEDE"
}{
"code": "<string>",
"message": "<string>",
"traceId": "<string>"
}{
"code": "<string>",
"message": "<string>",
"traceId": "<string>"
}{
"code": "<string>",
"message": "<string>",
"traceId": "<string>"
}{
"code": "<string>",
"message": "<string>",
"traceId": "<string>"
}