Factur-X / ZUGFeRD EN 16931

Factur-X / ZUGFeRD EN 16931: a full EN 16931 invoice in UN/CEFACT CII. Its specification identifier is the plain EN 16931 one, urn:cen.eu:en16931:2017, so the profile is known from the PDF: inside a Factur-X / ZUGFeRD PDF the XML gets this profile's rules, on its own the CEN EN 16931 rules (EN 16931 CII).

Version
Factur-X 1.09.2 / ZUGFeRD 2.5.2
Syntax
UN/CEFACT CII, Factur-X profile XSD
Root element
CrossIndustryInvoice
Specification identifier (BT-24)
urn:cen.eu:en16931:2017
Detected when
The XML of a Factur-X / ZUGFeRD 2.x PDF (by its XMP) whose guideline ID (BT-24, ram:GuidelineSpecifiedDocumentContextParameter/ram:ID) is urn:cen.eu:en16931:2017, the identifier of the EN 16931 profile in Factur-X and ZUGFeRD 2.x, or any CII file with urn:cen.eu:en16931:2017#compliant#urn:factur-x.eu:1p0:en16931. Standalone CII XML with the plain urn:cen.eu:en16931:2017 is checked as EN 16931 CII (CEN rules).

Checks

The checks run in this order. A file that is not well-formed XML stops at the XSD check.

  • 1. XSD

    Factur-X 1.09.2 EN 16931 XSD (FACTUR-X_EN16931.xsd)

  • 2. Factur-X / ZUGFeRD EN 16931 rules

    FNFE-MPE and FeRD · version Factur-X 1.09.2 / ZUGFeRD 2.5.2 · 433 rules (429 fatal, 4 warning)

  • You can upload the Factur-X or ZUGFeRD PDF as it is. Its PDF checks (embedded XML, XMP metadata, PDF/A-3 (basic check); rules PDF-01 to PDF-21) run first, then the embedded XML gets the checks above.
  • The sample XML has the plain urn:cen.eu:en16931:2017, so on its own it gets the CEN EN 16931 rules (EN 16931 CII). Upload it inside its PDF (/samples/factur-x-en16931.pdf) for this profile's rules.

Sample file

This sample passes the XSD check and every rule set above.

factur-x-en16931.xml

Validate a Factur-X / ZUGFeRD invoice

The validator detects the schema from the file, so a file in this schema runs the checks above. Free, no signup. Or POST the XML to the API.

Other schemas