Validation rules
BR-CO-07
An invoice line allowance reason code (BT-140) and reason text (BT-139) should describe the same type of allowance.
- Rule
BR-CO-07— 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, so the validator never reports it in practice.
How to fix it
Align the line allowance's reason and reason_code so they describe the same thing.
BR-CO-07 auf Deutsch — was bedeutet der Fehler?
Code (BT-140) und Text (BT-139) des Grundes eines Positionsnachlasses sollen denselben Typ beschreiben. Die amtliche Schematron-Implementierung prüft dies faktisch nicht.
So beheben Sie den Fehler
Bringen Sie reason und reason_code des Positionsnachlasses 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.