Leitweg-ID: structure, check digit and where to find it
Last updated:
Key points
- The Leitweg-ID is the routing address of a German public-sector invoice recipient. In an XRechnung it goes into “Buyer reference” (BT-10).
- Your public-sector customer provides it, usually with the contract or purchase order.
- Structure: coarse address (mandatory), fine address (optional, up to 30 characters) and a two-digit check digit.
- The check digit uses ISO 7064 MOD 97-10, like an IBAN. Our validator detects transposed digits.
If you invoice German authorities, municipalities or other public bodies, you need a Leitweg-ID. It makes sure your e-invoice reaches the right inbox.
Where it goes
In an XRechnung the Leitweg-ID belongs in “Buyer reference” (BT-10). The federal government and several states require it; other states use their own identifiers in BT-10. If in doubt, ask your public-sector customer what BT-10 should contain.
Structure
Three parts separated by hyphens:
- Coarse address (mandatory): digits based on the German regional key – state or federal level (2 digits), administrative district (1), county (2) and municipality (3, 4 or 7 digits).
- Fine address (optional): up to 30 characters, letters A–Z and digits 0–9, case-insensitive.
- Check digit (mandatory): two digits.
A fictitious example: 04011000-1234512345-06.
The check digit
It is calculated with ISO/IEC 7064 MOD 97-10, the same method as for IBANs: letters become numbers (A = 10 … Z = 35), hyphens are dropped, and the full number including the check digit must leave a remainder of 1 when divided by 97. Our validator recalculates it and flags a wrong Leitweg-ID – the official rule sets do not check this themselves.
Common mistakes
- Missing Leitweg-ID: violates rule BR-DE-15; the invoice may be rejected.
- Transposed digits: the check digit does not match.
- Wrong field: the ID is only in a free-text note or the order number instead of BT-10.
For VAT purposes a missing BT-10 is irrelevant – the BMF cites it as an example of a business-rule error without tax consequences (BMF letter of 15 Oct 2025, paras. 6b, 35a). In practice it still matters: without a valid Leitweg-ID the buyer cannot route your invoice, and payment is delayed.