Validation rules
BR-64
An item standard identifier (BT-157) has no scheme identifier.
- Rule
BR-64— official EN 16931 / XRechnung rule- Severity
- error
- Business term
BT-157— Item standard identifier- Field in your JSON
invoice.lines[*].standard_item_id.id- Detected by
- tier 3 — KoSIT validator (authoritative)
- Reachability
- Not expressible through the normbill invoice model — documented for completeness
The request schema requires standard_item_id.scheme whenever standard_item_id is set; the serializer always writes schemeID.
How to fix it
Set the schemeID attribute on cac:StandardItemIdentification/cbc:ID (e.g. 0160 for GTIN).
BR-64 auf Deutsch — was bedeutet der Fehler?
Einer Artikel-Standardkennung (BT-157) fehlt die Schema-Kennung.
So beheben Sie den Fehler
Setzen Sie das schemeID-Attribut auf cac:StandardItemIdentification/cbc:ID (z. B. 0160 für GTIN). Über normbill ist standard_item_id.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.