# XRechnung 3.0 (CII)

> The German e-invoice standard in UN/CEFACT CII syntax, the syntax that ZUGFeRD and Factur-X also use. It has the same BR-DE rules as the UBL version.

- Publisher: [KoSIT](https://xeinkauf.de/xrechnung/)
- Version: 3.0.2
- Specification: [XRechnung (xeinkauf.de)](https://xeinkauf.de/xrechnung/)
- Syntax: UN/CEFACT CII D16B
- Root element: CrossIndustryInvoice
- Specification identifier (BT-24): `urn:cen.eu:en16931:2017#compliant#urn:xeinkauf.de:kosit:xrechnung_3.0`
- Detected when: A CII file whose guideline ID (BT-24, ram:GuidelineSpecifiedDocumentContextParameter/ram:ID) contains urn:xeinkauf.de:kosit:xrechnung_3.0.

## 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)
3. [KoSIT XRechnung 3.0 rules (CII)](https://peppolvalidator.com/rules/sets/xrechnung-3-cii): 74 rules (61 fatal, 12 warning, 1 information)

## Sample file

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

## Validate

Validate an XRechnung: https://peppolvalidator.com/en/xrechnung-validator#validate (the schema is detected from the file), or POST the XML to https://peppolvalidator.com/api/v1/validate.
