Korean
Parse a Korean e-tax invoice XML (전자세금계산서/계산서) into supplier, buyer, line items (quantity, unit price, amounts) and totals, with consistency checks and a ledger row (매입장/매출장)
post/api/kr-tax-invoice-parse
Request
- Base URL: https://toolsthatdontupload.com
- URL: https://toolsthatdontupload.com/api/kr-tax-invoice-parse
- Auth: one of:
- none
- API key in header X-API-Key
Request body
Example request
{
"xml": "<?xml version=\"1.0\" encoding=\"UTF-8\"?><TaxInvoice xmlns=\"urn:kr:or:kec:standard:Tax:ReusableAggregateBusinessInformationEntitySchemaModule:1:0\" xmlns:ds=\"http://www.w3.org/2000/09/xmldsig#\"><ExchangedDocument><IssueDateTime>20261012101500</IssueDateTime><ReferencedDocument><ID>202610124100000100000001</ID></ReferencedDocument></ExchangedDocument><TaxInvoiceDocument><IssueID>20261012410000010000ABCD</IssueID><TypeCode>0101</TypeCode><DescriptionText>10월분</DescriptionText><IssueDateTime>20261012</IssueDateTime><PurposeCode>02</PurposeCode></TaxInvoiceDocument><TaxInvoiceTradeSettlement><InvoicerParty><ID>2208162517</ID><TypeCode>도소매</TypeCode><NameText>(주)공급상사</NameText><ClassificationCode>사무용품</ClassificationCode><SpecifiedPerson><NameText>김공급</NameText></SpecifiedPerson><DefinedContact><URICommunication>sales@example.com</URICommunication></DefinedContact><SpecifiedAddress><LineOneText>서울시 강남구 테헤란로 1</LineOneText></SpecifiedAddress></InvoicerParty><InvoiceeParty><ID>2803001413</ID><TypeCode>서비스</TypeCode><NameText>다고툴즈 & 파트너스</NameText><SpecifiedPerson><NameText>박지훈</NameText></SpecifiedPerson></InvoiceeParty><SpecifiedPaymentMeans><TypeCode>40</TypeCode><PaidAmount>660000</PaidAmount></SpecifiedPaymentMeans><SpecifiedMonetarySummation><ChargeTotalAmount>600000</ChargeTotalAmount><TaxTotalAmount>60000</TaxTotalAmount><GrandTotalAmount>660000</GrandTotalAmount></SpecifiedMonetarySummation></TaxInvoiceTradeSettlement><TaxInvoiceTradeLineItem><SequenceNumeric>1</SequenceNumeric><InvoiceAmount>500000</InvoiceAmount><ChargeableUnitQuantity>10</ChargeableUnitQuantity><InformationText>A4 80g</InformationText><NameText>복사용지</NameText><PurchaseExpiryDateTime>20261012</PurchaseExpiryDateTime><TotalTax><CalculatedAmount>50000</CalculatedAmount></TotalTax><UnitPrice><UnitAmount>50000</UnitAmount></UnitPrice></TaxInvoiceTradeLineItem><TaxInvoiceTradeLineItem><SequenceNumeric>2</SequenceNumeric><InvoiceAmount>100000</InvoiceAmount><ChargeableUnitQuantity>4</ChargeableUnitQuantity><NameText><![CDATA[토너 <검정>]]></NameText><PurchaseExpiryDateTime>20261012</PurchaseExpiryDateTime><TotalTax><CalculatedAmount>10000</CalculatedAmount></TotalTax><UnitPrice><UnitAmount>25000</UnitAmount></UnitPrice></TaxInvoiceTradeLineItem><ds:Signature><ds:SignedInfo/></ds:Signature></TaxInvoice>"
}Response
Success (JSON)
Changes
No recorded changes to this operation across all 1 revision of this API.