Validation rules
NB-LEITWEG-FORMAT
buyer_reference does not look like a Leitweg-ID. German B2G platforms (ZRE/OZG-RE) reject malformed Leitweg-IDs. For B2B invoices any buyer reference is fine — ignore this warning then.
- Rule
NB-LEITWEG-FORMAT— normbill pre-flight check (no single official rule id applies)- Severity
- warning
- Business term
BT-10— Buyer reference / Leitweg-ID- Field in your JSON
invoice.buyer_reference
How to fix it
For public-sector buyers, use their Leitweg-ID, e.g. "04011000-1234512345-06".
NB-LEITWEG-FORMAT auf Deutsch — was bedeutet der Fehler?
buyer_reference sieht nicht wie eine Leitweg-ID aus. Die Rechnungseingangsplattformen des Bundes und der Länder (ZRE, OZG-RE) weisen fehlerhaft formatierte Leitweg-IDs ab. Für B2B-Rechnungen ist jede Referenz zulässig — dann können Sie diese Warnung ignorieren.
So beheben Sie den Fehler
Verwenden Sie für öffentliche Auftraggeber deren Leitweg-ID, z. B. "04011000-1234512345-06".
NB-* checks run before generation to catch problems the official rule set would only report indirectly. The authoritative KoSIT validation still has the final word on conformance.
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.