Skip to main content
Invoice-Converter.comInvoice-Converter
BlogPricing
Convert InvoiceConvert
ConvertConvert Invoice
ResourcesBlog
  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

Felix Graeber

Founder, Invoice-Converter.com

Builds practical e-invoicing workflows for EN 16931, XRechnung, and ZUGFeRD adoption.

Leitweg-ID: Your Key to Successful XRechnung Invoicing

The Leitweg-ID (Buyer Reference) is a crucial element of the XRechnung standard, playing a vital role in ensuring that electronic invoices reach the correct recipient within the German public sector. This guide provides a comprehensive overview of the Leitweg-ID, explaining its purpose, structure, and how to use it effectively in your XRechnung invoices.

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.

πŸš€ 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 ZUGFeRD: Try it for free now

Free trial: Convert PDF to ZUGFeRD. Discover how to easily convert your PDF invoices to ZUGFeRD format with drag & drop. 3 days free trial, then €5 per conversion or €12.50/month annual subscription.

Read more

Convert PDF to XRechnung: Try It Free

Try PDF to XRechnung conversion for free. Learn how to turn PDF invoices into XRechnung files with drag and drop, then continue with a 3-day free trial, €5 per conversion, or a €15/month annual plan.

Read more

ERP Integration Checklist for E-Invoicing (SAP, DATEV, lexoffice)

Step-by-step ERP integration checklist for e-invoicing: data mapping, validation, testing, and go-live guidance for SAP, DATEV, lexoffice, and more.

Read more

Felix Graeber

Founder, Invoice-Converter.com

Builds practical e-invoicing workflows for EN 16931, XRechnung, and ZUGFeRD adoption.

Invoice-Converter.com

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

Start Converting

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
  • About
  • Pricing
  • Free trial
  • Climate Contribution

Legal

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

Get in Touch

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