Skip to main content
Invoice-Converter.comInvoice-Converter
BlogPricing
Convert InvoiceConvert
ConvertConvert Invoice
Mandatory

Leitweg-ID for Public Contracts

Everything you need to know

The Leitweg-ID is mandatory for electronic invoices to public contractors in Germany. Learn everything about format, validation and correct usage.

Create XRechnung with Leitweg-ID

What is a Leitweg-ID?

The Leitweg-ID is a unique identifier that ensures your electronic invoice (XRechnung) is automatically delivered to the correct authority and organizational unit.

Mandatory

Since November 27, 2020, the Leitweg-ID is mandatory for all invoices to public contractors in Germany.

Leitweg-ID Format

A Leitweg-ID consists of 3 to 12 alphanumeric characters:

991-12345-67
991=Federal level
12345=Authority code
67=Organizational unit
3 to 12 characters long
Alphanumeric (A-Z, 0-9)
Hyphens (-) allowed
No spaces
Unique per authority
Registered in directory

Where to find the Leitweg-ID?

1

Search the directory

Use the official Leitweg-ID directory to search for authorities

Open directory
2

Ask the contractor

Contact the responsible department directly and ask for the Leitweg-ID

3

In tender documents

The Leitweg-ID is often specified in public tenders

Common Errors & Solutions

Invalid format

Solution: Ensure the Leitweg-ID has 3-12 characters and only contains letters, numbers and hyphens

Not in directory

Solution: Request the correct Leitweg-ID directly from the contractor

Invoice not delivered

Solution: Check the Leitweg-ID in the official directory and contact the recipient

Create XRechnung with Leitweg-ID

Invoice-Converter automatically validates your Leitweg-ID and creates compliant XRechnung documents:

Automatic Leitweg-ID validation
Correct XRechnung formatting
EN 16931 compliant
Direct upload to government portals possible
Try for free

3 days free • Credit card required • Auto-conversion

Frequently Asked Questions

What is a Leitweg-ID?

A unique identifier for public contractors in Germany that enables automatic delivery of electronic invoices.

Where to find the Leitweg-ID?

In the official Leitweg-ID directory at leitweg-id.de or ask the contractor directly.

Is the Leitweg-ID mandatory?

Yes, since November 27, 2020, the correct Leitweg-ID is mandatory for all invoices to public contractors in Germany.

How to validate a Leitweg-ID?

Use the official Leitweg-ID directory at leitweg-id.de for validation.

What happens with wrong Leitweg-ID?

The invoice cannot be delivered and will be rejected by the system. You must resend the invoice with the correct Leitweg-ID.

Create XRechnung with correct Leitweg-ID

Automatic validation • EN 16931 compliant • Free trial

Try for free now

Further Resources

Official Leitweg-ID DirectoryTechnical Validation & DetailsXRechnung StandardFree XRechnung Validator

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