Validation rules
BR-CO-05
The document-level allowance reason code (BT-98) and reason text (BT-97) should describe the same type of allowance.
- Rule
BR-CO-05— official EN 16931 / XRechnung rule- Severity
- error
- Detected by
- tier 3 — KoSIT validator (authoritative)
- Reachability
- Not expressible through the normbill invoice model — documented for completeness
The pinned Schematron implements this as an always-true assertion (semantic agreement between code and free text cannot be machine-checked), so the validator never reports it in practice.
How to fix it
Align the allowance's reason and reason_code so they describe the same thing.
BR-CO-05 auf Deutsch — was bedeutet der Fehler?
Der Code des Nachlassgrundes (BT-98) und der Grundtext (BT-97) sollen denselben Nachlasstyp beschreiben. Die amtliche Schematron-Implementierung prüft dies faktisch nicht (Always-true-Assertion).
So beheben Sie den Fehler
Bringen Sie reason und reason_code des Nachlasses inhaltlich in Übereinstimmung.
Official sources
- XRechnung specification (KoSIT / xeinkauf.de)
- KoSIT validator on GitHub and the XRechnung validator configuration
Every 422 from the API lists the rule id, the path in your request JSON, a plain-language message and a suggested fix — see the docs overview for the report format.