Skip to content

E-invoicing developer guide

EN 16931 defines what an electronic invoice must contain (the semantic model: business terms BT-1 to BT-165). It has two XML syntaxes: OASIS UBL 2.1 and UN/CEFACT CII D16B.

XRechnung is the German CIUS of EN 16931: extra rules such as a mandatory buyer reference (Leitweg-ID for public buyers) and seller contact data. ZUGFeRD and Factur-X embed a CII invoice in a PDF/A-3 file; only some of their profiles are EN 16931 compliant.

Validating a document means three layers: the XML Schema of the syntax, the EN 16931 business rules, and the rules of the CIUS or profile. Technical validity is not the same as legal or tax correctness, and transmitting an invoice (for example over Peppol) is a separate step.

In Germany, businesses must be able to receive e-invoices since 1 January 2025; issuing becomes mandatory in stages through 2027 and 2028. Check the official sources of the Federal Ministry of Finance for the rules that apply to you.

Supported here

FormatVersionsChecks
XRechnung 3.0 (UBL 2.1 Invoice / CreditNote) supported3.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) supported3.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) supportedEN 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 supportedEN 16931-1:2017 (CEN artefacts 1.3.16)XML well-formedness, CII D16B XML Schema, EN 16931 Schematron (CEN, CII binding)
ZUGFeRD 2.x / Factur-X 1.0 (PDF/A-3 with embedded CII XML, or the CII XML alone) supportedProfile 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), PDF/A-3 conformance of the PDF container (veraPDF), when the PDF checker is enabled

Full list: supported formats and limitations.

Questions

Where are the official artefacts?

KoSIT publishes the XRechnung specification, Schematron, validator and test suite on GitHub (itplr-kosit); CEN/TC 434 publishes the EN 16931 validation artefacts (ConnectingEurope/eInvoicing-EN16931).