Guide
Markdown exportLeitweg-ID: Format, Check Digit, and BT-10
Some German public-sector recipients use a Leitweg-ID to route an invoice. The recipient must provide the value.
What is a Leitweg-ID?
A Leitweg-ID is a routing identifier that some German public-sector recipients use for electronic invoices. It consists of a coarse address, an optional fine address, and a check value.
Mandatory Information
Use a Leitweg-ID in BT-10 when the recipient or its submission portal requires one. Obtain it from the order, contract, or recipient; not every German public-sector channel uses the same routing rule.
Leitweg-ID basics
Format Requirements
- Total length between 5 and 46 characters
- Coarse addressing (Grobstruktur): 2 to 12 digits assigned by the public authority
- Optional fine addressing (Feinstruktur): up to 30 characters
- Two-digit check digit at the end (Modulo 97)
- Hyphens (-) separate segments; no spaces or other special characters
- The public authority must provide the actual identifier for each order
Try it
Anatomy of a Leitweg-ID
Type or paste a Leitweg-ID. It splits into its three parts, and the check digits are verified as you type.
Valid Leitweg-ID. The check digits 19 match.
9910373019
Divided by 97, it leaves remainder 1: valid.
Example Leitweg-IDs
991-03730-19 (Federal authority)
Illustrative federal example
991-12345-73 (Federal authority)
Illustrative example only
Validation Process
- Confirm the ID was supplied by the public authority on the order or contract
- Check total length (5–46 characters) and segment structure
- Verify the two-digit Modulo 97 check digit where applicable
- Place the value in BuyerReference (BT-10) in the XRechnung XML
- Validate the XML against KoSIT rules before submission
- Use the recipient’s stated submission channel (e.g. OZG-RE for federal authorities)
Quick actions
Common Errors & Solutions
Invalid format
Leitweg-ID does not meet format requirements Solution: Correct format according to official specifications
Wrong recipient ID
The Leitweg-ID does not match the authority named on the order Solution: Request the correct Leitweg-ID from the procurement contact
Inactive status
Authority is temporarily not ready to receive Solution: Use alternative transmission methods or try later
Routing error
Technical delivery not possible Solution: Contact Access Point Provider
Format Example
| coarse address | fine address | check value |
|---|---|---|
| 991 | 03730 | 19 |
Official specification
There is no single public lookup directory for every Leitweg-ID. Obtain the identifier from the order, contract, or procurement contact and follow the recipient’s portal documentation.
Resources & Links
Related articles
Leitweg-ID for XRechnung B2G: format (5–46 characters), Grobstruktur/Feinstruktur, OZG-RE routing, and correct BT-10 placement.
KoSIT validator error codes: BR-DE, BR-CO and PEPPOL rules explainedKoSIT error codes with cause and fix: PEPPOL-EN16931-R008, BR-DE-19, BR-CO-09, BR-CO-13, BR-S-08, BR-DE-15 and more. Checked against XRechnung 3.0.2.