Factur-X-API

Valideer Factur-X-pdf’s en hun CII-XML: POST /v1/invoices/validate haalt factur-x.xml eruit, past de regels van het opgegeven profiel toe (MINIMUM tot EXTENDED, Factur-X 1.09.2), de Franse BR-FR-regels als het factureringskader (BT-23) Frans is, en controleert PDF/A-3 met veraPDF. Elke bevinding bevat de regel-id, de officiële tekst, een uitleg en de regel in het bestand.

Maak een Factur-X-pdf uit JSON (POST /v1/invoices/generate?target=zugferd-facturx) of converteer een EN 16931-factuur in UBL of CII ernaar (POST /v1/invoices/convert?target=zugferd-facturx): een PDF/A-3b met een leesbare factuurpagina en de CII ingebed als factur-x.xml, opnieuw gevalideerd voordat hij wordt teruggegeven. Factur-X-facturen in BASIC, EN 16931 en EXTENDED converteren naar UBL; gegevens die niet mee kunnen, stoppen de conversie en worden opgesomd.

De API maakt en controleert documenten. Hij is geen erkend platform (PA): verzending naar klanten en de belastingdienst, en e-reporting, lopen via uw platform.

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

Hier ondersteund

FormaatVersiesControles
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), France: when the business process (BT-23, cbc:ProfileID) is an XP Z12-012 billing framework code (B1, S1, M1 ...), the French CTC rules BR-FR (FNFE-MPE France_RFE 1.4.0.04) and the EN 16931 rules as packaged by FNFE-MPE
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 (the syntax binding of EN 16931-3-3), EN 16931 Schematron (CEN, CII binding), France: when the business process (BT-23) is an XP Z12-012 billing framework code (B1, S1, M1 ...), the UN/CEFACT CII D22B XML Schema, the EN 16931 rules as packaged by FNFE-MPE and the French CTC rules BR-FR (France_RFE 1.4.0.04) instead
ZUGFeRD 2.x / Factur-X 1.0 (PDF/A-3 with embedded CII XML, or the CII XML alone) ondersteundProfile MINIMUM; Profile BASIC WL; Profile BASIC; Profile EN 16931 (COMFORT); Profile EXTENDED; Profile XRECHNUNGExtraction of the embedded XML (factur-x.xml, zugferd-invoice.xml, xrechnung.xml), Factur-X 1.09.2 / ZUGFeRD 2.5 XML Schema of the profile (FNFE-MPE / FeRD), Factur-X 1.09.2 / ZUGFeRD 2.5 Schematron of the profile, including the EN 16931 rules for BASIC, EN 16931 and EXTENDED, Profile XRECHNUNG: XRechnung 3.0.2 CIUS (see XRechnung CII), France: profiles EN 16931, EXTENDED and BASIC WL whose business process (BT-23) is an XP Z12-012 billing framework code get the Factur-X 1.09.2 schema and Schematron as published by FNFE-MPE (France_RFE 1.4.0.04) plus the French CTC rules BR-FR, PDF/A-3 conformance of the PDF container (veraPDF), when the PDF checker is enabled

Volledige lijst: ondersteunde formaten en beperkingen.

Vragen

Welk profiel heeft een gegenereerde Factur-X?

EN 16931, het profiel met de volledige Europese factuur. Het resultaat is een PDF/A-3b met factur-x.xml, base64-gecodeerd in het JSON-antwoord.

Is het ZUGFeRD-doel hetzelfde als Factur-X?

Ja. Het doel heet zugferd-facturx omdat beide namen hetzelfde bestand aanduiden; de ingebedde XML heet factur-x.xml.

Kan ik een ontvangen Factur-X als JSON uitlezen?

Ja. POST /v1/invoices/parse geeft de EN 16931-gegevens van de ingebedde factuur als JSON terug.