# What is the Leitweg-ID?

URL: https://valtor.io/en/glossary/leitweg-id
Language: en
Last updated: 2026-11-10

The Leitweg-ID is the identifier that routes an e-invoice to the right office of a public-sector buyer; it appears in the invoice as the buyer reference.

## Key takeaways

- The Leitweg-ID is the address of the office that receives the invoice, not of the order: the same authority can have several, and you may not derive one.
- It consists of a coarse address, an optional fine address and a two-digit check number, for example 991-01234-44.
- Federal authorities require the e-invoice in XRechnung format with a Leitweg-ID under the e-invoicing ordinance; states and municipalities have rules of their own.
- If the Leitweg-ID is missing or wrong, the invoice is rejected or reaches nobody, and the payment term does not start.
- Valtor keeps the Leitweg-ID on the customer, issues an XRechnung to it and enters the Leitweg-ID as the buyer reference.

## What is the Leitweg-ID, and what is it for?

The Leitweg-ID is an address for the electronic invoice to public administration. An authority receives invoices from many suppliers. So that an invoice reaches automatically the office that checks and pays it, each invoice-receiving office specifies an identifier of its own: the Leitweg-ID. It is the counterpart of a postal address, only machine-readable.

In the XRechnung it appears as the buyer reference (BT-10). The invoice receipt platforms and administration systems read that field and route the invoice onward. It is not a tax number, an order number or a customer number. The client is the public office; the Leitweg-ID says which inbox is meant. For you as supplier that means: without this detail the administration does not know to whom it should submit the invoice for checking, and in the worst case it is not accepted at all.

## How is a Leitweg-ID built?

A Leitweg-ID consists of up to three parts separated by hyphens. The example 991-01234-44 is a sample value.

## When do you need a Leitweg-ID, and what does the law say?

Whenever your client is an authority or public-sector company that receives e-invoices as XRechnung. European Directive 2014/55/EU obliges public contracting authorities to accept electronic invoices under the European standard EN 16931. In Germany the federal government implements this with the federal e-invoicing ordinance (E-Rechnungsverordnung, ERechV): suppliers of federal authorities submit their invoices electronically, and the Leitweg-ID names the office. The states have ordinances of their own, with partly different submission routes and exceptions.

The VAT act changes nothing about the content of the invoice: the mandatory details stay in § 14 (4) UStG, and § 14 (1) UStG allows the electronic invoice with the agreement of the parties. The Leitweg-ID adds to them; it replaces no detail. Details of the procedure are in [invoicing the public sector](https://valtor.io/en/invoicing-public-sector-germany).

## Where do you get the Leitweg-ID?

From the public buyer. It names it in the order, in the tender or on request. You may not derive it yourself or take it from another invoice to the same office without checking that it applies to this office. An authority often has several Leitweg-IDs, depending on department, unit or budget office. So ask with every new order who receives the invoice.

Federal offices usually name it in the order; for states and municipalities ask the commissioning office. Once you have the ID, keep it on the customer so that every further invoice uses the same one.

## Where does the Leitweg-ID go, and what else must the XRechnung contain?

The XRechnung is a pure XML file under EN 16931, with no PDF part. The Leitweg-ID goes in the buyer reference field. Besides the mandatory details under § 14 (4) UStG, many buyers require further details that you have named in the order:

- The Leitweg-ID as buyer reference in the field intended for it, not in free text.
- The order or purchase order number as an additional reference, if the buyer specifies one.
- Your supplier number at the buyer, if it has assigned one.
- The service period or service date (§ 14 (4) no. 6 UStG).
- Your bank details and the payment term, so that the payment can be matched (see [payment term](https://valtor.io/en/glossary/payment-term)).

## What does a worked example with an interim invoice look like?

An order from a state authority of €12,500.00 net. All invoices carry the same Leitweg-ID. First you issue an interim invoice for 40%, that is €5,000.00 net, €950.00 VAT, together €5,950.00 gross. The final invoice for the rest is €7,500.00 net, €1,425.00 VAT, €8,925.00 gross.

Together the two invoices make €12,500.00 net and €14,875.00 gross (€5,950.00 + €8,925.00, and €12,500.00 × 1.19 = €14,875.00). If one of them is rejected because the Leitweg-ID is wrong, no payment term starts for that invoice, and you must resubmit it with the right ID.

## How do you submit the XRechnung, and what happens next?

The route depends on the buyer: through an invoice receipt platform, for the federal government the central invoice receipt platform or OZG-RE, over the Peppol network or in some cases by email. The platform reads the Leitweg-ID, checks the format of the file and passes the invoice on to the office. If it does not recognise the ID or the file is faulty, it rejects the invoice and usually reports that with an error message.

The payment term starts only once an invoice that can be checked has reached the right office. A rejected invoice therefore costs you at least the days until resubmission. Anyone who supplies authorities regularly should therefore check before every dispatch, not only after the rejection.

## How do you check the Leitweg-ID before you send?

A short check before the first dispatch to a new office saves the resubmission:

- The ID comes from the order or from information given by the buyer, not from an invoice to a different office.
- The format is right: coarse address, a fine address if any, two check digits, separated by hyphens.
- The invoice is an XRechnung and not a PDF file with text attached.
- The Leitweg-ID is in the buyer reference field, the purchase order number in the reference field intended for it.
- For recurring invoices, such as a [recurring invoice](https://valtor.io/en/glossary/recurring-invoice-contract), every invoice carries the same ID until the buyer names a new one.

## Where does money leak, and which mistakes are common?

An invoice with the wrong address has not arrived for the authority. Typical places:

- A typo in the Leitweg-ID is not checked, the invoice reaches nobody, and nobody notices until the payment is missing.
- The ID is in free text instead of the intended XRechnung field.
- The ID of another office is used because it belongs to the same body.
- The invoice goes as PDF or ZUGFeRD to an office that accepts only XRechnung and is rejected.
- A correction or cancellation invoice goes to a different office from the original invoice.
- The rejected invoice stays on the [open items](https://valtor.io/en/glossary/open-items) list, and nobody knows the authority never received it.

## Worked example: an invoice to an authority

An order for a federal authority of €3,000 net, Leitweg-ID 991-01234-44 as buyer reference (sample value).

| Position | Betrag / Amount |
| --- | --- |
| Service, net | €3,000.00 |
| VAT 19% (§ 12 (1) UStG) | €570.00 |
| **XRechnung, gross** | **€3,570.00** |

The Leitweg-ID is a sample value.

## How Valtor handles this

Valtor keeps the Leitweg-ID on the customer and issues an XRechnung to it. It derives no Leitweg-ID and suggests none.

Valtor does:
- Checks the format of the Leitweg-ID when saving: two to twelve digits, an optional fine address of up to 30 characters, two check digits; it does not recalculate the check digits themselves
- Issues invoices to a customer with a Leitweg-ID as XRechnung, not as ZUGFeRD or PDF, and refuses any other format for that customer
- Enters the Leitweg-ID as the buyer reference; without it the invoice's purchase order number applies, then the reference stored on the customer
- Sends over the e-invoicing provider's Peppol channel and addresses the Leitweg-ID there under Peppol scheme 0204
- Sends no copies to further email addresses, because a Peppol recipient has no inbox, and sends corrections and cancellation invoices to the same office with a reference to the original invoice

You decide:
- You obtain the Leitweg-ID from the buyer and enter it on the customer
- You approve and send every invoice
- You clarify with the buyer which office is meant where there are several Leitweg-IDs

Calendar from the contract, e-invoicing, approval and sending kept apart. [See Valtor Billing](https://valtor.io/en/product/billing)

### Is the Leitweg-ID the same as the PO number?

No. The Leitweg-ID addresses the recipient; the PO number refers to the order. Some authorities require both.

### Do I need a Leitweg-ID for a private client?

No. It applies only to public-sector buyers. You reach private clients via ZUGFeRD, PDF or, where they have one, their Peppol ID.

### Can I find out the Leitweg-ID myself?

Only if the buyer publishes it. You may not derive it, and a wrong ID counts as not received.

### May I send an invoice with a Leitweg-ID as a PDF?

Federal authorities require a structured e-invoice, as a rule XRechnung. A plain PDF invoice does not suffice there. For states and municipalities it depends on their rules; ask the buyer.

### Does Valtor check that the Leitweg-ID exists?

Valtor checks the format, not whether the office holds the ID. Only the buyer can confirm that the ID applies to the office.

### What happens if the invoice is rejected?

It counts as not received and the payment term does not start. Clarify the ID, correct it and resubmit the invoice.

### Does the same Leitweg-ID apply to every invoice?

For all invoices to the same order and the same office, yes, interim invoices and corrections included. Another office or another order may have a different one.
