Factur-X-API

Prüfen Sie Factur-X-PDFs und ihr CII-XML: POST /v1/invoices/validate extrahiert factur-x.xml, wendet die Regeln des angegebenen Profils an (MINIMUM bis EXTENDED, Factur-X 1.09.2), bei französischem Abrechnungsrahmen (BT-23) die französischen BR-FR-Regeln, und prüft PDF/A-3 mit veraPDF. Jeder Befund enthält die Regel-ID, den offiziellen Text, eine Erklärung und die Zeile.

Erstellen Sie ein Factur-X-PDF aus JSON (POST /v1/invoices/generate?target=zugferd-facturx) oder konvertieren Sie eine EN-16931-Rechnung in UBL oder CII dorthin (POST /v1/invoices/convert?target=zugferd-facturx): ein PDF/A-3b mit lesbarer Rechnungsseite und dem CII als factur-x.xml, das vor der Rückgabe erneut geprüft wird. Factur-X-Rechnungen der Profile BASIC, EN 16931 und EXTENDED lassen sich nach UBL konvertieren; Daten, die nicht übernommen werden können, stoppen die Konvertierung und werden aufgelistet.

Die API erstellt und prüft Dokumente. Sie ist keine zugelassene Plattform (PA): Übermittlung an Kunden und Steuerverwaltung sowie E-Reporting laufen über Ihre Plattform.

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

Hier unterstützt

FormatVersionenPrüfungen
EN 16931 core (UBL 2.1) unterstütztEN 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 unterstütztEN 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) unterstütztProfile 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

Vollständige Liste: unterstützte Formate und Einschränkungen.

Fragen

Welches Profil hat ein erzeugtes Factur-X?

EN 16931, das Profil mit der vollständigen europäischen Rechnung. Das Ergebnis ist ein PDF/A-3b mit factur-x.xml, base64-kodiert in der JSON-Antwort.

Ist das ZUGFeRD-Ziel dasselbe wie Factur-X?

Ja. Das Ziel heißt zugferd-facturx, weil beide Namen dieselbe Datei bezeichnen; das eingebettete XML heißt factur-x.xml.

Kann ich ein empfangenes Factur-X als JSON auslesen?

Ja. POST /v1/invoices/parse gibt die EN-16931-Daten der eingebetteten Rechnung als JSON zurück.