{"slug":"agent-data-tools-revmesh2074-workers-dev-einvoice-to-json-fa077f","title":"Convert XRechnung, ZUGFeRD","host":"agent-data-tools.revmesh2074.workers.dev","method":"GET","resource":"https://agent-data-tools.revmesh2074.workers.dev/einvoice/to-json","category":"market","description":"Convert XRechnung, ZUGFeRD. Convert an EU e-invoice to plain JSON: send XRechnung, ZUGFeRD / Factur-X (XML or the PDF that embeds it), Peppol or other EN 16931 XML as text, as a file in a POST body or by URL. Returns number, dates, seller and buyer with VAT numbers and addresses, every line with qua","price_listed":0.01,"price_asked":null,"state":"effects","state_label":"Not tested: has real-world effects","checks_7d":0,"answered_7d":0,"latency_ms_median":null,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:137","eip155:42161","eip155:8453","solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"method":"GET","queryParams":{"url":"https://raw.githubusercontent.com/itplr-kosit/xrechnung-testsuite/master/src/test/business-cases/standard/01.01a-INVOICE_uncefact.xml"},"type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"method":{"enum":["GET"],"type":"string"},"queryParams":{"properties":{"url":{"description":"Absolute public http(s) URL of the e-invoice: an XML file or a ZUGFeRD / Factur-X PDF (or send `xml`, or the file in a POST body)","examples":["https://raw.githubusercontent.com/itplr-kosit/xrechnung-testsuite/master/src/test/business-cases/standard/01.01a-INVOICE_uncefact.xml"],"type":"string"},"xml":{"description":"The e-invoice XML as text (CII or UBL), up to 5 MB in a POST body","examples":["<rsm:CrossIndustryInvoice …>…</rsm:CrossIndustryInvoice>"],"type":"string"}},"required":["url"],"type":"object"},"type":{"const":"http","type":"string"}},"required":["type","method"],"type":"object"},"output":{"properties":{"example":{"properties":{"invoice":{"properties":{"businessProcess":{"type":"string"},"buyer":{"properties":{"city":{"type":"string"},"country":{"type":"string"},"endpointId":{"type":"string"},"endpointScheme":{"type":"string"},"name":{"type":"string"},"postCode":{"type":"string"},"street":{"type":"string"}},"type":"object"},"buyerReference":{"type":"string"},"currency":{"type":"string"},"issueDate":{"type":"string"},"lines":{"items":{"properties":{"description":{"type":"string"},"id":{"type":"string"},"name":{"type":"string"},"netAmount":{"type":"number"},"quantity":{"type":"number"},"unit":{"type":"string"},"unitPrice":{"type":"number"},"vatCategory":{"type":"string"},"vatRate":{"type":"number"}},"type":"object"},"type":"array"},"note":{"type":"string"},"number":{"type":"string"},"payment":{"properties":{"iban":{"type":"string"},"meansCode":{"type":"string"},"terms":{"type":"string"}},"type":"object"},"seller":{"properties":{"city":{"type":"string"},"contactName":{"type":"string"},"country":{"type":"string"},"email":{"type":"string"},"endpointId":{"type":"string"},"endpointScheme":{"type":"string"},"legalId":{"type":"string"},"name":{"type":"string"},"phone":{"type":"string"},"postCode":{"type":"string"},"street":{"type":"string"},"vatId":{"type":"string"}},"type":"object"},"specification":{"type":"string"},"totals":{"properties":{"grand":{"type":"number"},"lineNet":{"type":"number"},"payable":{"type":"number"},"tax":{"type":"number"},"taxBasis":{"type":"number"}},"type":"object"},"typeCode":{"type":"string"},"vat":{"items":{"properties":{"basis":{"type":"number"},"category":{"type":"string"},"rate":{"type":"number"},"tax":{"type":"number"}},"type":"object"},"type":"array"}},"type":"object"},"standard":{"type":"string"},"syntax":{"type":"string"},"url":{"type":"string"}},"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[],"description_full":"Convert XRechnung, ZUGFeRD. Convert an EU e-invoice to plain JSON: send XRechnung, ZUGFeRD / Factur-X (XML or the PDF that embeds it), Peppol or other EN 16931 XML as text, as a file in a POST body or by URL. Returns number, dates, seller and buyer with VAT numbers and addresses, every line with quantity, price, VAT rate and net amount, the VAT breakdown, totals and bank account. Exact values from the file, no AI. Use to book incoming e-invoices into a sheet or ERP.","last_updated":"2026-11-15T04:50:29.017Z","schemes":["exact"]}