
Leitweg-ID Finder: Format, Examples & State-by-State Rules (2026)
Official references
Use these sources to verify dates, formats, and official rule changes.
Related Technical Wiki
Explore deep-dive developer documentation and regulatory guidelines matching this article.
Complete guide to Leitweg-ID: format, validation, directory and correct usage for XRechnung and German e-invoicing.
Routing references for German public-sector XRechnung invoices.
German routing ID required for many public sector recipients (B2G).
A routing identifier assigned by the buyer for internal routing purposes
Article overview
This article explains Leitweg-ID Finder: Format, Examples & State-by-State Rules (2026) as a practical reference for European e-invoicing. It defines the topic in plain language, places it in the compliance context, and connects the explanation to invoice formats such as XRechnung, ZUGFeRD/Factur-X, UBL, and CII.
Leitweg-ID: Your Key to Successful XRechnung Invoicing in Germany
The Leitweg-ID is the buyer reference (Business Term BT-10) that identifies the public-sector recipient of an XRechnung invoice. If it is missing, invalid, or entered in the wrong field, the recipient or submission platform may reject the invoice or be unable to route it correctly.
At Invoice-Converter.com, we ensure accurate BT-10 buyer reference placement and validation when converting invoices to XRechnung and ZUGFeRD, helping your public sector (B2G) transactions run smoothly.
What is a Leitweg-ID?
The Leitweg-ID is a unique electronic routing address used in Germany's public administration. It functions like an electronic postal code, ensuring that your XRechnung invoice reaches the exact department or agency responsible for processing and paying it.
Structure of a Leitweg-ID (Grobstruktur & Feinstruktur)
A Leitweg-ID is a structured identifier made up of alphanumeric segments separated by hyphens. The official format specification defines its length, segment structure, and check digit.
- Grobstruktur (coarse structure): The leading segment used to identify the routing domain.
- Feinstruktur (fine addressing): The recipient-specific organization and unit codes, followed by a two-digit check digit calculated using Modulo 97.
Example Format: 991-12345-06 (illustrative only). Your public authority must provide the actual Leitweg-ID for the order.
Federal (Bund) vs. State (Bundesländer) Routing Rules
Germany operates under a federal structure, meaning submission portals and Leitweg-ID rules differ between levels of government:
- Federal Authorities: Federal invoices are submitted through the Online Access Act-compliant Invoice Submission Platform (OZG-RE). The former ZRE platform was consolidated into OZG-RE on 19 September 2025. Check the recipient's instructions for the applicable submission channel and Leitweg-ID.
- State and municipal authorities: Submission channels and requirements vary by recipient. Follow the instructions in the order or contract and use the Leitweg-ID supplied by the public authority.
How to Obtain a Leitweg-ID
- Official Purchase Order: Check the official order document or contract from the public authority.
- Contact the Recipient: Request the Leitweg-ID directly from your contact person at the procurement office.
- Official platform guidance: Consult the recipient's e-invoicing portal documentation. There is no single public lookup directory for every Leitweg-ID.
Using the Leitweg-ID in XRechnung XML
The Leitweg-ID must be placed strictly in the BuyerReference element (BT-10). In UBL XML, this is /Invoice/cbc:BuyerReference. In CII XML (ZUGFeRD/XRechnung CII), it belongs in /rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:BuyerReference.
How Invoice-Converter.com Validates Your Leitweg-ID
When using our PDF to XRechnung Converter, our engine automatically verifies the Leitweg-ID check digits, prefix validity, and character limits prior to submission, preventing costly portal rejections.
How to use this guide
Use the article as a starting point before changing a finance or ERP workflow: identify the applicable country rule or standard, decide which structured format is expected, validate the generated XML, and keep a documented exception process for invoices that require manual review.
Ready to convert your invoices?
Start converting PDF invoices to XRechnung, ZUGFeRD, and other formats today with credits or a paid plan.
Related articles
XRechnung Required Fields: Practical Reference Guide
Practical guide to the required fields in XRechnung. Learn what each field means and how to prepare invoices for German B2G compliance.
Read moreGermany E-Invoice Mandate 2027/2028: Timeline, €800k Threshold, and Format Rules
Germany B2B e-invoicing timeline: receive since 2025, issue from 2027 for issuers above €800,000 turnover, and a broad mandate by 2028. Includes the 2027
Read moreWhich e-invoice formats are usable in Germany in 2026?
A practical Germany format guide for April 2026: when to use XRechnung, ZUGFeRD, UBL or CII, what still counts as a non-structured invoice, and how to
Read more