E-invoice rule explained · XRechnung
BR-DE-21: Specification identifier is not the XRechnung 3.0 identifier
Official message
Das Element "Specification identifier" (BT-24) soll syntaktisch der Kennung des Standards XRechnung entsprechen.
- Severity
- Warning (should be fixed; not a rejection on its own)
- Checked in
- UBL, CII
- Business terms
- BT-24
What does BR-DE-21 mean?
The specification identifier (BT-24) should be exactly one of the XRechnung 3.0 identifiers, normally urn:cen.eu:en16931:2017#compliant#urn:xeinkauf.de:kosit:xrechnung_3.0 (or the variants for the XRechnung extension or the CVD profile). The comparison is character for character, so spaces or another version number fail it. This is a warning, but a file that does not declare XRechnung may not be treated as one by the receiving platform.
Usual causes
- The software still writes an XRechnung 2.x identifier (for example xrechnung_2.3).
- A plain EN 16931, Peppol or ZUGFeRD/Factur-X identifier was used for a file meant as XRechnung.
- The identifier has a typo, a missing part or a space or line break around it.
How do I fix BR-DE-21?
- Set cbc:CustomizationID (UBL) or ram:ID in ram:GuidelineSpecifiedDocumentContextParameter (CII) to urn:cen.eu:en16931:2017#compliant#urn:xeinkauf.de:kosit:xrechnung_3.0.
- Use the #conformant#urn:xeinkauf.de:kosit:extension:xrechnung_3.0 variant only if the file really uses the XRechnung extension.
- Update or reconfigure the invoicing software so it produces XRechnung 3.0 rather than an older version.
Corrected XML (minimal example we wrote)
UBL
<cbc:CustomizationID>urn:cen.eu:en16931:2017#compliant#urn:xeinkauf.de:kosit:xrechnung_3.0</cbc:CustomizationID>
CII
<rsm:ExchangedDocumentContext> <ram:GuidelineSpecifiedDocumentContextParameter> <ram:ID>urn:cen.eu:en16931:2017#compliant#urn:xeinkauf.de:kosit:xrechnung_3.0</ram:ID> </ram:GuidelineSpecifiedDocumentContextParameter></rsm:ExchangedDocumentContext>
Example values only. Put the elements in place of, or beside, what your file has; element order matters in both syntaxes.
Check your file for free
The free checker runs the official EN 16931, XRechnung and Peppol rules in your browser. Your file is not uploaded.
In development — early access
Fix-and-explain for accountants and invoicing teams
A paid service that explains every failed rule in plain German, French, Dutch or English and proposes a corrected file is in development. Early access
Source
Rule id and official message from the KoSIT XRechnung Schematron, v2.6.0 (for XRechnung 3.0) (Apache-2.0), compiled from upstream commit 7e3ddbe. The explanation, causes, fix and XML on this page are our own, not the rule publisher's. KoSIT XRechnung Schematron v2.6.0 (for XRechnung 3.0)