Skip to content

Factuur-XML naar JSON

Het parse-endpoint leest UBL, CII of een ZUGFeRD / Factur-X-pdf en geeft voor al deze formaten één JSON-structuur terug, volgens de EN 16931-bedrijfstermen: verkoper, koper, regels, btw-specificatie, totalen, betalingsinstructies.

Bedragen blijven exacte decimale strings. Alles wat het model niet kan bevatten, wordt als waarschuwing vermeld met pad en regel, zodat er niets ongemerkt verdwijnt.

curl https://einvoiceengine.com/v1/invoices/parse \
  -H "Authorization: Bearer $EINV_KEY" \
  -H "Content-Type: application/xml" \
  --data-binary @invoice.xml

Hier ondersteund

FormaatVersiesControles
XRechnung 3.0 (UBL 2.1 Invoice / CreditNote) ondersteund3.0.2XML well-formedness, UBL 2.1 XML Schema, EN 16931 Schematron (CEN, UBL binding), XRechnung 3.0.2 CIUS Schematron (KoSIT)
XRechnung 3.0 (UN/CEFACT CII D16B) ondersteund3.0.2XML well-formedness, CII D16B XML Schema, EN 16931 Schematron (CEN, CII binding), XRechnung 3.0.2 CIUS Schematron (KoSIT)
EN 16931 core (UBL 2.1) ondersteundEN 16931-1:2017 (CEN artefacts 1.3.16)XML well-formedness, UBL 2.1 XML Schema, EN 16931 Schematron (CEN, UBL binding)
EN 16931 core (UN/CEFACT CII D16B) — also Factur-X / ZUGFeRD 'EN 16931' profile XML ondersteundEN 16931-1:2017 (CEN artefacts 1.3.16)XML well-formedness, CII D16B XML Schema, EN 16931 Schematron (CEN, CII binding)

Volledige lijst: ondersteunde formaten en beperkingen.

Vragen

Is er een JSON Schema?

Ja, in het OpenAPI-document onder components.schemas.Invoice.