Free tool
Leitweg-ID directory & check-digit verification
Check a Leitweg-ID for validity, identify the responsible Bundesland, and understand its structure — for legally compliant XRechnungen to public authorities.
The check runs entirely in the browser (ISO 7064, Mod 97-10). No data is transmitted or stored.
Bundesland prefixes (element 1 of the coarse addressing)
| Präfix | Bundesland / Ebene | Empfangsplattform |
|---|---|---|
| 01 | Schleswig-Holstein | Serviceportal SH |
| 02 | Hamburg | Serviceportal Hamburg |
| 03 | Niedersachsen | NAVO |
| 04 | Bremen | E-Rechnung Bremen |
| 05 | Nordrhein-Westfalen | E-Rechnung NRW |
| 06 | Hessen | landesspezifisch |
| 07 | Rheinland-Pfalz | E-Rechnungsportal RLP |
| 08 | Baden-Württemberg | service-bw |
| 09 | Bayern | landesspezifisch |
| 10 | Saarland | über RLP-Portal |
| 11 | Berlin | OZG-RE |
| 12 | Brandenburg | OZG-RE |
| 13 | Mecklenburg-Vorpommern | OZG-RE |
| 14 | Sachsen | OZG-RE |
| 15 | Sachsen-Anhalt | Serviceportal Sachsen-Anhalt |
| 16 | Thüringen | OZG-RE |
| 99 | Bund | OZG-RE (Bundesdruckerei) |
Prefixes per Leitweg-ID format specification v2.0.2 (KoSIT). Platform details are guidance values and may change — you always receive the specific Leitweg-ID from the respective contracting authority. A complete public directory of individual Leitweg-IDs does not exist.
What is a Leitweg-ID?
The Leitweg-ID is the unique address of a public contracting authority in electronic invoicing. It appears in the XRechnung in the buyer reference field (BT-10) and is mandatory for invoices to public authorities (B2G) — if it is missing, the invoice is rejected with the error BR-DE-15.
How is a Leitweg-ID structured?
A Leitweg-ID consists of up to three parts separated by hyphens (max. 46 characters):
- Coarse addressing: 2–12 digits. The first two digits identify the Bundesland (01–16) or the federal government (99).
- Fine addressing (optional): up to 30 alphanumeric characters assigned internally by the contracting authority.
- Check digit: exactly 2 digits, calculated per ISO 7064 (Mod 97-10) — the same procedure as for the IBAN.
How is the check digit calculated?
Coarse and fine addressing are concatenated, letters are replaced by their position in the alphabet (A=10 … Z=35), and two zeros are appended. The remainder of the division by 97 is subtracted from 98 — the result is the two-digit check digit. To validate, divide the complete number including the check digit by 97; the remainder must equal 1.
Frequently asked questions
Where do I get my Leitweg-ID?▾
The Leitweg-ID is provided to you by the public contracting authority (the government body) — usually with the order or purchase order. There is no central public directory from which you could look up arbitrary Leitweg-IDs.
How do I know whether a Leitweg-ID is valid?▾
Formally, the check digit can be verified per ISO 7064 (Mod 97-10) — which is exactly what this tool does. A correct check digit means the ID is technically well-formed. Whether it is actually assigned to an existing recipient can only be confirmed by the contracting authority or its invoice receipt platform.
What does the error BR-DE-15 mean?▾
BR-DE-15 means that the buyer reference (BT-10) is missing. For B2G invoices, this is the Leitweg-ID. Enter the Leitweg-ID specified by the recipient to fix the error.
Do I need a Leitweg-ID for B2B invoices to companies?▾
No. The Leitweg-ID is required exclusively for invoices to public contracting authorities (B2G). For B2B invoices to other companies, the buyer reference field remains optional.