Skip to content

Guide

Leitweg-ID explained: where to find it and how to check it

The Leitweg-ID explained: the routing identifier of German public bodies, its three parts, the check digits, where it goes in an XRechnung and how to check one.

·

A Leitweg-ID is a routing identifier used to send an electronic invoice to the correct German public receiving unit. The public customer provides it, usually with the order. It is not your VAT number, invoice number or purchase order number.

When is it needed?

For electronic invoices covered by the federal ERechV, the recipient's Leitweg-ID is required. Rules at Land and municipal level depend on the authority and its arrangements. The German B2B e-invoicing mandate does not require every supplier to obtain its own Leitweg-ID.

The federal submission platform is now OZG-RE. The former ZRE route was discontinued following the 2025 consolidation. Follow your customer's current instructions rather than an old portal bookmark.

Where to find the right identifier

Check the order, contract or invoicing instructions, then ask the buyer's invoicing contact if it is missing. OZG-RE also has a directory in its web entry service, but the identifier given for your order remains the one to use. A public body may have several receiving units and several identifiers. Do not construct one from its name.

Format and official example

The specification defines a coarse address of 2 to 12 digits, an optional fine address of up to 30 letters and digits, and two check digits. Hyphen-minus characters separate the parts; the whole identifier has 5 to 46 characters. Letters in the fine address are not case-sensitive.

The official worked example is 04011000-1234512345-06. Its check digits are computed with ISO/IEC 7064 MOD 97-10. Without a fine address, the structure has only two parts, such as the illustrative 04011000-45. Neither an example nor a correct checksum proves that an identifier is assigned to your customer.

Where it goes in XML

For a public customer requiring a Leitweg-ID, put the supplied value in BT-10, Buyer reference. These are fragments showing the element, not complete invoices:

<!-- UBL -->
<cbc:BuyerReference>04011000-1234512345-06</cbc:BuyerReference>

<!-- CII, inside ram:ApplicableHeaderTradeAgreement -->
<ram:BuyerReference>04011000-1234512345-06</ram:BuyerReference>

BR-DE-15 requires BT-10 to be present in XRechnung. It does not by itself verify the identifier's checksum, registration or suitability for the recipient. An order number belongs in the appropriate order reference field; do not confuse it with BT-10 or a Peppol transport identifier.

Which checks to run

  1. Use the Leitweg-ID checker for structure and check digits. If the expected digits differ, verify the whole value with the buyer instead of changing only the last two digits.
  2. Use the XRechnung validator for the complete invoice XML and its business rules.
  3. Confirm the receiving unit, references and delivery channel with the customer. Neither local check establishes registration in OZG-RE or successful delivery.

Official sources

Reviewed on 13 October 2026.

Tools for this topic

Country pages

More guides

No legal advice. Dates and obligations follow the official publications cited in the text; where a date is not final, the text says so.

Google Analytics and Ahrefs are optional and off by default. Privacy and cookies

Your privacy choices

These settings concern our home and reading pages. Our tools process invoices locally, without ads or audience measurement.

Optional and off by default. Google Analytics and Ahrefs count page views to improve the site. Google uses cookies lasting up to 30 days; Ahrefs uses no cookies. No invoices, searches or form input are sent. You can withdraw consent here at any time.

Google advertising

Advertising is disabled on this site. No Google advertising consent window or advertising SDK is loaded. Your Analytics choice is independent.

Read the privacy policy