Validation rules
BR-65 — EN 16931 rule
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.
Related rules
BR-64— An item standard identifier (BT-157) has no scheme identifier.BR-63— The buyer electronic address (BT-49) has no scheme identifier.BR-62— The seller electronic address (BT-34) has no scheme identifier.BR-61— The payment means is a credit transfer (code 30 or 58), so a payment account identifier (IBAN, BT-84) is…BR-57— A deliver-to address (BG-15) must contain a country code (BT-80).BR-56— A seller tax representative (BG-11) must carry the representative's VAT identifier (BT-63).
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.