Leitweg-ID check
Check a Leitweg-ID
Enter a Leitweg-ID and see whether its structure and check digit match the format specification. The check runs in your browser only; your input is neither stored nor sent.
Result
- Only digits, the letters A–Z and hyphens are allowed.
- Expected are two or three parts separated by hyphens: coarse address, optional fine address, check digit.
- The coarse address (first part) may only contain digits.
- The coarse address (first part) must have 2, 3, 5, 8, 9 or 12 digits.
- The first two digits are not a code of a federal state (01 to 16) or of the federal government (99).
- The fine address (middle part) may have at most 30 characters.
- The check digit (last part) must consist of exactly two digits.
- The check digit does not match the preceding parts – probably a typo.
| Coarse address | |
|---|---|
| Code of the federal state or federal government | |
| Administrative district | |
| District | |
| Municipal association / municipality | |
| Fine address | |
| Check digit | |
| Expected check digit | |
What this check does not cover
The tool only checks the structure and the check digit. It cannot tell whether the Leitweg-ID has been assigned or belongs to your recipient – ask the public contracting authority that provided it. There is no directory of Leitweg-IDs here.
Check an XRechnung – no account needed Create an XRechnung in the formQuestions about the Leitweg-ID
How is a Leitweg-ID structured?
A Leitweg-ID consists of the coarse address (2 to 12 digits: code of the federal state or the federal government, optionally the administrative district, district and municipality), an optional fine address (up to 30 letters A–Z and digits) and a two-digit check digit. The parts are separated by hyphens, e.g. 04011000-1234512345-06.
How is the check digit calculated?
According to ISO/IEC 7064 using the modulo 97-10 method, as for the IBAN: coarse and fine address without hyphens, letters replaced by numbers (A = 10 to Z = 35), append 00, divide by 97 and subtract the remainder from 98.
Does a correct result mean that the Leitweg-ID exists?
No. The tool only checks the structure and the check digit. Whether the Leitweg-ID has been assigned and belongs to your recipient can only be confirmed by the public contracting authority that provided it.
Where does the Leitweg-ID go in an XRechnung?
In the buyer reference (BT-10). If it is missing in an XRechnung, the validation reports the rule BR-DE-15.
Sources
- Leitweg-ID – Format-Spezifikation, Version 2.0.2 (dated 28.07.2021, KoSIT / XStandards Einkauf)
This page provides general information and is no legal advice.