What is the Leitweg-ID?

A public authority often has many offices that receive invoices. For an electronic invoice to reach the right office without detours it needs a unique address: the Leitweg-ID. The invoice receipt platform reads the identifier from the invoice and forwards the invoice to the system of the responsible authority.

For invoices to the federal administration, the Leitweg-ID is one of the details an electronic invoice must contain as a minimum (Section 5 (1) no. 1 ERechV, the federal e-invoicing regulation). The federal states also issue Leitweg-IDs under their own responsibility.

How is a Leitweg-ID structured?

The Leitweg-ID consists of three parts, separated by hyphens:

  • Coarse address (Grobadressierung): 2 to 12 characters. It shows whether the recipient belongs to the federal government or to a federal state. Federal identifiers begin with 99.
  • Fine address (Feinadressierung): up to 30 letters and digits. This part is optional; the federal government and the states use it according to their own systems.
  • Check digit (Prüfziffer): two digits. It makes typing errors in the identifier detectable.

In total, a Leitweg-ID is between 5 and 46 characters long.

Example of a Leitweg-ID

PartIn the exampleMeaning
Coarse address04011000Details from the regional key: federal state, administrative district, county, municipality
Fine address1234512345assigned by the recipient
Check digit06calculated from the two other parts

The example 04011000-1234512345-06 comes from the format specification published by KoSIT. A federal identifier looks like this, for example: 991-1234512345-06.

Where does the supplier get the Leitweg-ID?

From the contracting authority. The authority states the Leitweg-ID with the order, and exactly this identifier belongs in the invoice for that order. If it is missing from the order, ask the invoice recipient. The identifiers are issued by the federal government and the states under their own responsibility.

Where does the Leitweg-ID go in an XRechnung?

In the buyer reference field, BT-10 for short. Under the European standard this field is optional; the XRechnung standard makes it mandatory. The structure of the file is shown in the guide to XRechnung.

Do companies need a Leitweg-ID among themselves?

No. The Leitweg-ID serves to address invoice recipients in the public administration. For e-invoices between companies, neither the issuer nor the recipient needs a Leitweg-ID of its own. More in the guide to the e-invoicing mandate.

Sources

  • Section 5 of the federal e-invoicing regulation (ERechV): content of the electronic invoice
  • Federal government FAQ on e-invoicing (e-rechnung-bund.de), section Leitweg-ID
  • KoSIT: Leitweg-ID, format specification version 2.0.2

Frequently asked questions about the Leitweg-ID

What is a Leitweg-ID?

The Leitweg-ID is the identifier used to address an electronic invoice to a German public authority. In an XRechnung it sits in the buyer reference field (BT-10).

Where do I find the Leitweg-ID?

In the order placed by the authority. The public contracting authority states it to the supplier.

Does my company need a Leitweg-ID of its own?

No. Only invoice recipients in the public administration have a Leitweg-ID. Invoice issuers do not need one.

How many characters does a Leitweg-ID have?

Between 5 and 46: a coarse address of 2 to 12 characters, a fine address of up to 30 characters and a two-digit check digit, separated by hyphens.

Related terms and topics

XRechnung E-invoicing mandate EN 16931 Glossary

Receive and check e-invoices

15-minute introductory call: we look at how e-invoices arrive in your company today and where OXS.eco comes in.