Validation rules
BR-65
An item classification code (BT-158) has no scheme identifier.
- Rule
BR-65— official EN 16931 / XRechnung rule- Severity
- error
- Business term
BT-158— Item classification code- Field in your JSON
invoice.lines[*].classifications[*].code- Detected by
- tier 3 — KoSIT validator (authoritative)
- Reachability
- Not expressible through the normbill invoice model — documented for completeness
The request schema requires classifications[i].scheme on every classification; the serializer always writes listID.
How to fix it
Set the listID attribute on cac:CommodityClassification/cbc:ItemClassificationCode.
BR-65 auf Deutsch — was bedeutet der Fehler?
Einem Artikel-Klassifikationscode (BT-158) fehlt die Listenkennung.
So beheben Sie den Fehler
Setzen Sie das listID-Attribut auf cac:CommodityClassification/cbc:ItemClassificationCode. Über normbill ist classifications[i].scheme Pflicht.
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.
Or try it live: drop any XRechnung XML on the free validator — same KoSIT-backed report, no account.