Validation rules

BR-DE-15

Buyer reference (BT-10) is missing. XRechnung requires it; public-sector buyers in Germany use their Leitweg-ID here.

Rule
BR-DE-15official EN 16931 / XRechnung rule
Severity
error
Business term
BT-10 — Buyer reference / Leitweg-ID
Field in your JSON
invoice.buyer_reference

How to fix it

Set invoice.buyer_reference. Leitweg-ID format: 04011000-1234512345-06.

BR-DE-15 auf Deutsch — was bedeutet der Fehler?

Die Käuferreferenz (BT-10) fehlt. Die XRechnung macht sie zur Pflichtangabe; öffentliche Auftraggeber in Deutschland erwarten hier ihre Leitweg-ID, über die die Rechnung intern zugestellt wird.

So beheben Sie den Fehler

Setzen Sie invoice.buyer_reference. Bei Behörden ist das die Leitweg-ID im Format "04011000-1234512345-06"; im B2B-Verhältnis genügt eine beliebige, mit dem Kunden vereinbarte Referenz.

Dieselbe Regel, gemappt auf Ihr JSON, kommt von der XRechnung API.

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.

Generate a valid XRechnung from JSON with the XRechnung API — the 422 names this field instead of the Schematron code.

Spotted something?

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