Skip to content

Convert it. We forget it. - Based in Germany

Contact
EN – EnglishDE – Deutsch
Wandlix
Pricing
  1. Home
  2. E-invoice guides
  3. Leitweg-ID explained

Leitweg-ID explained: structure, origin, entry

Anyone sending an e-invoice to a public authority needs its Leitweg-ID. It makes sure the invoice reaches the right office automatically.

Updated on 28 October 2026

What the Leitweg-ID is for

Public contracting authorities in Germany are divided thousands of times: federal, state, district, municipality, office. The Leitweg-ID is the address the receiving portal uses to assign the invoice to the right place. Without it the invoice is rejected or goes nowhere.

How it is built

A Leitweg-ID has up to three parts separated by hyphens:

  • Coarse address: a numeric code that assigns the authority to a level and an area.
  • Fine address (optional): a more precise assignment inside the authority, up to 30 characters.
  • Check digits: two digits that allow typing errors to be detected.

Example

A well-known pattern from the XRechnung documents looks like this: 04011000-12345-34. You do not make up real Leitweg-IDs yourself; they are assigned by the authority.

Where you get it

The contracting authority tells you the Leitweg-ID, usually in the order, the contract or the purchase order. Ask for it before the first invoice. Guessing or taking one from another authority leads to rejections.

Where it goes in the invoice

In the XRechnung the Leitweg-ID belongs in the buyer reference field (BT-10). If it is missing, validators typically report an error, for example the note that the buyer reference must be provided. Check your file before sending.

  • Validate e-invoice
  • Create e-invoice (XRechnung)

Frequently asked questions

Do I need the Leitweg-ID for invoices to businesses too?
No, it applies to public contracting authorities. Businesses usually use their own reference there, such as the order number.
What happens with a wrong Leitweg-ID?
The portal rejects the invoice or does not forward it. You then have to send it again, corrected.
Does every department have its own Leitweg-ID?
Often yes, when the authority uses fine addressing. Always use exactly the ID you were given.

Try it now

Check an e-invoice in a few seconds. Your file stays in the memory of a server in Germany only and is deleted after one hour at the latest.

Validate e-invoice

More guides

  • XRechnung: structure and mandatory fields
  • The most important fields of an e-invoice
  • Understanding and fixing validation messages

These guides do not replace tax or legal advice. For questions about your own case please ask your tax adviser.

Wandlix

Convert it.We forget it.Based in Germany.

  • MADEINGERMANY
  • Servers inGermany

E-Invoice

  • Validate e-invoice
  • Create e-invoice (XRechnung)
  • Extract XML from ZUGFeRD PDF
  • E-invoice to PDF

File & utility tools

  • Create ZIP file
  • Unzip files
  • QR code generator
  • JSON, CSV, XML, YAML converter
  • Convert text encoding
  • Base64 encode and decode

PDF tools

  • Merge PDF
  • Split PDF
  • PDF to image
  • Compress PDF
  • Make PDF searchable (OCR)
  • Protect PDF
  • Unlock PDF
  • Delete PDF pages
  • Rotate PDF
  • Add watermark to PDF
  • Add page numbers to PDF
  • Reorder PDF pages
  • Crop PDF
  • PDF to PDF/A
  • PDF to text / Markdown
  • Remove metadata
  • PDF to Word
  • Text to PDF

Image tools

  • Images to PDF
  • Image to text (OCR)
  • Convert image
  • Compress image
  • Edit image

Office to PDF

  • Word to PDF
  • Excel to PDF
  • PowerPoint to PDF
  • Numbers to Excel
  • Document converter (DOCX, ODT, XLSX, ODS …)
  • CSV to Excel
  • Excel to CSV

Popular topics

Merge PDF files  ·  Combine PDFs online  ·  Join PDF documents  ·  PDF merger  ·  Merge PDF free  ·  Split PDF online  ·  Extract pages from PDF  ·  Separate PDF pages  ·  Cut a PDF into parts  ·  Delete pages from PDF  ·  Remove pages from PDF  ·  Remove unwanted PDF pages  ·  Rotate PDF pages  ·  Rotate PDF 90 degrees  ·  Fix sideways scans  ·  Add watermark to PDF  ·  PDF watermark online  ·  Mark PDF as confidential  ·  Add page numbers to PDF  ·  Number PDF pages  ·  PDF page numbering  ·  PDF to text  ·  PDF to Markdown  ·  Extract text from PDF  ·  Compress PDF  ·  Reduce PDF file size  ·  Make PDF smaller for email  ·  PDF shrinker  ·  Password protect PDF  ·  Encrypt PDF online  ·  Lock PDF with password  ·  PDF encryption AES-256  ·  Unlock PDF  ·  Remove PDF password  ·  Remove PDF restrictions  ·  PDF password remover  ·  PDF OCR online  ·  Make scanned PDF searchable  ·  Scan to searchable PDF (OCR)  ·  PDF to JPG  ·  PDF to PNG  ·  Convert PDF pages to images  ·  Save PDF as image  ·  JPG to PDF  ·  PNG to PDF  ·  Images to PDF  ·  Photos to PDF  ·  Convert image format  ·  JPG to PNG  ·  PNG to JPG  ·  Convert to WebP  ·  Compress images  ·  Reduce image size  ·  Resize and compress photos  ·  Shrink JPG  ·  Remove metadata from PDF  ·  Remove EXIF data  ·  Delete photo location data  ·  Word to PDF  ·  DOCX to PDF  ·  Convert DOC to PDF  ·  ODT to PDF  ·  Excel to PDF  ·  XLSX to PDF  ·  CSV to PDF  ·  PowerPoint to PDF  ·  PPTX to PDF  ·  Presentation to PDF  ·  Create ZIP file  ·  ZIP files online  ·  Compress files into ZIP  ·  Validate e-invoice  ·  XRechnung validator  ·  ZUGFeRD validator  ·  Check e-invoice online  ·  Factur-X check  ·  Create e-invoice  ·  Create XRechnung  ·  Create ZUGFeRD PDF  ·  Invoice to XRechnung  ·  Numbers to Excel  ·  Numbers to XLSX  ·  Convert Numbers file  ·  Image to text  ·  OCR image online  ·  Extract text from image  ·  CSV to Excel  ·  CSV to XLSX  ·  Open CSV in Excel  ·  Excel to CSV  ·  XLSX to CSV  ·  Export Excel as CSV  ·  Convert DOCX to ODT  ·  XLSX to ODS  ·  Convert ODT to DOCX  ·  PDF to Word  ·  PDF to DOCX  ·  Edit PDF as Word  ·  Text to PDF  ·  TXT to PDF  ·  Markdown file to PDF  ·  Extract XML from ZUGFeRD  ·  Factur-X XML extract  ·  ZUGFeRD PDF to XML  ·  XRechnung to PDF  ·  Make e-invoice readable  ·  View XRechnung XML  ·  Unzip files  ·  Open ZIP archive  ·  Extract ZIP online  ·  PDF to PDF/A  ·  Convert to PDF/A  ·  PDF/A archiving  ·  Reorder PDF pages  ·  Sort PDF pages  ·  Rearrange PDF  ·  Crop PDF  ·  Cut PDF margins  ·  Trim PDF pages  ·  Crop image  ·  Rotate image  ·  Flip image  ·  QR code generator  ·  WLAN QR code  ·  QR code for link  ·  Dynamic QR code  ·  Check XRechnung online for free  ·  Check ZUGFeRD PDF for validity  ·  Validate e-invoice against EN 16931  ·  Understand e-invoice error BR-CO-15  ·  Check several e-invoices at once  ·  Create an e-invoice for small businesses  ·  Create XRechnung without software  ·  Create a ZUGFeRD invoice online  ·  Show XRechnung as a readable PDF  ·  Read XML from ZUGFeRD PDF for bookkeeping  ·  Merge PDF files for free without signing up  ·  Combine application documents into one PDF  ·  Split a PDF by page range into several files  ·  Rotate scanned PDF pages by 90 degrees and save  ·  Shrink a PDF heavily for an e-mail attachment  ·  Password protect a PDF without Adobe Acrobat  ·  Remove a PDF password permanently if you know it  ·  Turn scanned documents into a searchable PDF  ·  Copy text from a photo or screenshot  ·  Prepare PDF text for ChatGPT and AI  ·  Convert PDF to Word and edit it without signing up  ·  Combine several photos into one PDF  ·  Shrink photos for a job application portal  ·  Remove location and camera data from photos before sharing  ·  Convert Word to PDF without Microsoft Office  ·  Open a CSV file with umlauts correctly in Excel  ·  Convert PDF to PDF/A-3 for archiving  ·  Unzip a ZIP file online without a program  ·  Create a Wi-Fi QR code for guests  ·  Create a dynamic QR code and change the target later  ·  JSON to CSV  ·  CSV to JSON  ·  XML to JSON  ·  JSON to XML  ·  YAML to JSON  ·  JSON to YAML  ·  CSV to XML  ·  XML to CSV  ·  CSV to YAML  ·  Format and indent a JSON file  ·  Convert a semicolon CSV file to JSON  ·  Open JSON in Excel as a table  ·  Windows-1252 to UTF-8  ·  UTF-8 to Windows-1252  ·  ISO-8859-1 to UTF-8  ·  Fix broken umlauts in a CSV file  ·  Convert a text file to UTF-8  ·  UTF-16 to UTF-8  ·  Change line endings from CRLF to LF  ·  Save a CSV as UTF-8 with BOM for Excel  ·  Base64 encode a file  ·  Base64 decode to a file  ·  Image to Base64  ·  Base64 to image  ·  PDF to Base64  ·  Base64 to PDF  ·  File to data URI  ·  URL-safe Base64

© 2026 Wandlix · Made in Germany

Security & privacyLegal noticePrivacy policyTerms & withdrawalDPAAccessibilityPricingGuidesContactCancel contracts hereAPIIntegrationsShort linksSpeed testStatusOpen-source licenses