Skip to main content
Invoice-Converter.comInvoice-Converter
BlogPricing
Convert InvoiceConvert
ConvertConvert Invoice
  1. Home
  2. /
  3. Blog
  4. /
  5. Leitweg-ID Finder: Format, Examples & Validation Tool (2026)
Leitweg-ID Finder: Format, Examples & Validation Tool (2026)
Blog

Leitweg-ID Finder: Format, Examples & Validation Tool (2026)

January 7, 20257 min read
Markdown export

Related Technical Wiki

Explore deep-dive developer documentation and regulatory guidelines matching this article.

Leitweg-ID

Complete guide to Leitweg-ID: format, validation, directory and correct usage for XRechnung and German e-invoicing.

Buyer reference and Leitweg-ID problems

Routing references for German public-sector XRechnung invoices.

Leitweg-ID

German routing ID required for many public sector recipients (B2G).

BT-10 Buyer Reference

A routing identifier assigned by the buyer for internal routing purposes

Article overview

This article explains Leitweg-ID Finder: Format, Examples & Validation Tool (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.

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.

Leitweg-ID: Your Key to Successful XRechnung Invoicing

The Leitweg-ID is the buyer reference used by many German public-sector recipients to route XRechnung invoices internally. If it is missing, outdated, or typed into the wrong field, a technically valid invoice can still be rejected by the recipient.

At Invoice-Converter.com, we understand the importance of accurate and compliant e-invoicing. We're here to provide clarity on the intricacies of XRechnung, including the proper use of the Leitweg-ID, to help your B2G transactions run smoothly.

What is a Leitweg-ID?

The Leitweg-ID is a unique identifier used to route electronic invoices to the correct recipient within the German public administration. It acts like an electronic postal code, ensuring that your invoice reaches the specific department or agency responsible for processing it. Without a valid Leitweg-ID, your XRechnung invoice may not be delivered or processed, leading to payment delays and potential compliance issues.

Structure of a Leitweg-ID

The Leitweg-ID follows a specific structure, consisting of up to 60 alphanumeric characters, typically divided into several parts:

  • Central Invoice Platform Identifier: Usually two digits, this part identifies the central invoice platform the invoice is going to be sent to. This is either 01 for the central government, 02-16 for the states, or 99 for other entities.
  • Fine Addressing: This part further specifies the recipient within the organization, such as a department or division. It can consist of several sub-parts separated by hyphens.
  • Check Digit: The last digit is a check digit calculated using a specific algorithm to ensure the accuracy of the Leitweg-ID.

Example: 01-12345-67 or 12-abcdef-34

How to Obtain a Leitweg-ID

You'll need to obtain the correct Leitweg-ID from the public sector entity you're invoicing. Here's how you can typically get it:

  • Request from the Recipient: The most reliable way is to directly request the Leitweg-ID from your contact person at the government agency or department.
  • Contractual Documents: The Leitweg-ID may be specified in your contract or order documents.
  • Publicly Available Lists: Some public sector entities publish lists of their Leitweg-IDs online. However, always verify the accuracy of these lists with the recipient.
  • Central Invoice Portals: The Leitweg-ID may also be available through the website of the central invoice submission portals (ZRE/ORE).

Using the Leitweg-ID in Your XRechnung Invoices

The Leitweg-ID must be included in the correct field within your XRechnung file. Here's how to ensure its proper use:

  • Correct Field: The Leitweg-ID must be placed in the BuyerReference element within the XRechnung XML structure.
  • Accuracy: Double-check that you've entered the Leitweg-ID exactly as provided by the recipient. Any errors can lead to misrouting or rejection of your invoice.
  • Validation: Use a reliable XRechnung validator to ensure that your invoice, including the Leitweg-ID, complies with all requirements. Our converter at Invoice-Converter.com automatically validates your files.

Common Mistakes to Avoid

  • Incorrect Leitweg-ID: Using an outdated, incomplete, or incorrect Leitweg-ID is a common error that can lead to invoice delivery failures.
  • Wrong Field: Placing the Leitweg-ID in the wrong XML element will result in an invalid XRechnung file.
  • Missing Leitweg-ID: Omitting the Leitweg-ID altogether will likely lead to processing delays or rejection of your invoice.

How Invoice-Converter.com Ensures Accurate Leitweg-ID Handling

Invoice-Converter.com simplifies the process of creating XRechnung invoices, including the correct handling of the Leitweg-ID. When you use our PDF to XRechnung converter:

  • Data Input: You can enter the Leitweg-ID in a designated field during the conversion process.
  • Automated Placement: Our system automatically places the Leitweg-ID in the correct BuyerReference element within the XRechnung XML structure.
  • Validation: We validate your converted XRechnung file, including the Leitweg-ID, to ensure compliance with all requirements.

Conclusion

The Leitweg-ID is a fundamental component of XRechnung invoicing, ensuring that your invoices reach the right destination within the German public sector. By understanding its structure, obtaining it correctly, and using it accurately in your XRechnung files, you can avoid processing delays and ensure smooth B2G transactions. Invoice-Converter.com provides the tools and support to simplify this process, making your e-invoicing journey hassle-free.

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. 3-day free trial included.

Start Free Trial

Related articles

Convert PDF to XRechnung: practical workflow and free trial

Learn when PDF to XRechnung conversion is the right bridge, which German deadlines matter in 2026, and how to validate the result before sending.

Read more

Europe E-Invoicing Deadlines 2026: Germany, France, Belgium and ViDA

Updated April 2026: compare Europe’s key e-invoicing deadlines for Germany, France and Belgium, and see what the EU ViDA package means for ERP teams and...

Read more

ERP integration checklist for e-invoicing and modern rollout teams

A practical ERP integration checklist for e-invoicing projects: data mapping, format choice, validation, exception handling, and go-live controls.

Read more

Related Technical Wiki

Explore deep-dive developer documentation and regulatory guidelines matching this article.

Leitweg-ID

Complete guide to Leitweg-ID: format, validation, directory and correct usage for XRechnung and German e-invoicing.

Buyer reference and Leitweg-ID problems

Routing references for German public-sector XRechnung invoices.

Leitweg-ID

German routing ID required for many public sector recipients (B2G).

BT-10 Buyer Reference

A routing identifier assigned by the buyer for internal routing purposes

Invoice-Converter.com

Empowering businesses across Europe to effortlessly comply with XRechnung regulations. Join hundreds who've automated their invoice conversion process.

20,000+ invoices processed
Fast & Secure
Trusted by hundreds

Features

Convert PDFs & create

  • PDF to XRechnung
  • PDF to UBL
  • PDF to XRechnung (CII)
  • PDF to ZUGFeRD
  • PDF to Factur-X
  • Create XRechnung
  • XRechnung to PDF

View & validate

  • XRechnung/XML Viewer
  • XRechnung Validator

Quick Links

  • Resources
  • Trust & Security Center
  • Developer API Documentation
  • Blog
  • FAQ
  • Pricing
  • Climate Contribution

Legal

  • Imprint
  • Privacy Policy
  • Data Processing Agreement
  • Terms & Conditions
  • Money-Back Guarantee

Get in Touch

contact@invoice-converter.com
Start Converting
© 2026 Invoice-Converter.com.Made with in Europe
GDPR Compliant
German Server