EN 16931 CII (Factur-X / ZUGFeRD XML)
A UN/CEFACT Cross Industry Invoice that follows EN 16931. This is the XML inside a Factur-X or ZUGFeRD PDF, and it is also sent on its own.
- Version
- D16B, EN 16931 rules 1.3.16
- Specification
- EN 16931 validation artefacts (GitHub)
- Syntax
- UN/CEFACT CII D16B
- Root element
- CrossIndustryInvoice
- Specification identifier (BT-24)
urn:cen.eu:en16931:2017- Detected when
- Any CII file that is not an XRechnung, whatever its guideline ID (BT-24).
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. The profile rules of Factur-X and ZUGFeRD (MINIMUM, BASIC WL, EXTENDED) are not checked.
- Upload the XML, not the PDF. Extract the embedded XML from the PDF first.
Sample file
This sample passes the XSD check and every rule set above.
en16931-cii.xmlValidate 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.