Free tool
Leitweg-ID format checker
The Leitweg-ID is the routing identifier German public buyers (B2G) give you — it goes
in the XRechnung BuyerReference (BT-10). This checks its structure so it isn't rejected
on arrival. Everything runs in your browser; nothing is sent anywhere.
The structure
A Leitweg-ID has two or three hyphen-separated parts:
In code
const LEITWEG = /^\d{2,12}(-[0-9A-Za-z]{1,30})?-\d{2}$/;
LEITWEG.test("04011000-12345-67"); // true Sending XRechnung? A missing or empty BuyerReference triggers BR-DE-15. Our API flags it and every other rule — get a key with 50 free credits →