# 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.

- Publisher: [CEN/TC 434 (EN 16931), UN/CEFACT (CII syntax)](https://github.com/ConnectingEurope/eInvoicing-EN16931)
- Version: D16B, EN 16931 rules 1.3.16
- Specification: [EN 16931 validation artefacts (GitHub)](https://github.com/ConnectingEurope/eInvoicing-EN16931)
- 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

1. XSD: UN/CEFACT CII D16B CrossIndustryInvoice
2. [EN 16931 (CII)](https://peppolvalidator.com/rules/sets/en16931-cii): 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

https://peppolvalidator.com/samples/en16931-cii.xml passes the XSD check and every rule set above.

## Validate

Validate a CII invoice: https://peppolvalidator.com/factur-x-validator#validate (the schema is detected from the file), or POST the XML to https://peppolvalidator.com/api/v1/validate.
