Finance
Turns a UBL-TR e-Invoice or e-Archive XML document into clean JSON: parties, line items, taxes and totals.
Works regardless of the namespace prefix the sender used (cbc:, cac:, ns0:), normalises single-line documents into arrays, and reports amount mismatches in warnings instead of returning quietly wrong totals. The job that costs accounting and expense software the most engineering time.
Credits per call: 3 · Operation id: tr_invoice_parse
In the GET form every field is a query parameter; object and array fields are JSON-encoded.
get/v1/tr/invoice/parse
Request
- Base URL: https://api.temsor.com
- URL: https://api.temsor.com/v1/tr/invoice/parse
- Auth: one of:
- HTTP bearer
- API key in header x-api-key
Query parameters
xmlstring required
UBL-TR e-Invoice / e-Archive (e-Arsiv) XML body.
Response
Success
Changes
No recorded changes to this operation across all 1 revision of this API.