EN 16931 CII (Factur-X / ZUGFeRD XML)

A UN/CEFACT Cross Industry Invoice that follows EN 16931, sent as XML on its own. The XML inside a Factur-X or ZUGFeRD PDF is CII too; there it gets the rules of its Factur-X / ZUGFeRD profile.

Version
D16B, EN 16931 rules 1.3.16
Syntax
UN/CEFACT CII D16B
Root element
CrossIndustryInvoice
Specification identifier (BT-24)
urn:cen.eu:en16931:2017
Detected when
Standalone CII XML that is not an XRechnung and whose guideline ID (BT-24) is not a Factur-X / ZUGFeRD profile: the plain urn:cen.eu:en16931:2017, a CIUS or any other identifier. Inside a Factur-X / ZUGFeRD PDF, urn:cen.eu:en16931:2017 is the Factur-X EN 16931 profile instead.

Checks

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

  • 1. XSD

    UN/CEFACT CII D16B CrossIndustryInvoice

  • 2. EN 16931 (CII)

    CEN/TC 434 · version 1.3.16 · 806 rules (335 fatal, 471 warning)

  • Only the EN 16931 rules run. A Factur-X / ZUGFeRD profile identifier (MINIMUM, BASIC WL, BASIC, EXTENDED) gets that profile's rules instead, also as standalone XML.
  • Factur-X and ZUGFeRD 2.x use urn:cen.eu:en16931:2017 for their EN 16931 profile too. To check such an invoice against the Factur-X EN 16931 rules, upload the PDF: 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 Factur-X EN 16931 XSD and rules. Sample PDF: /samples/factur-x-en16931.pdf.

Sample file

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

en16931-cii.xml

Validate a CII 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