Validation rules

NB-LEITWEG-FORMAT — normbill pre-flight check

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.

Related rules

  • BR-DE-15 — Buyer reference (BT-10) is missing. XRechnung requires it; public-sector buyers in Germany use their…

Official sources

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.

Spotted something?

Bug, missing feature, wrong validation result — tell us. The page you're on is attached automatically; email optional.