CoolHanX
Knowledge

Leitweg-ID & B2G

No authority invoice without a Leitweg-ID: structure, check digit, transmission channels — and how to avoid the typical grounds for rejection.

What the Leitweg-ID is

The Leitweg-ID addresses an electronic invoice to the responsible office within the public administration — comparable to a postal code for invoices. It is assigned and communicated by the public contracting authority and belongs in the XRechnung as the buyer reference (BT-10). If it is missing or incorrect, the invoice is rejected automatically by the invoice-receipt platforms.

What the Leitweg-ID is
Structure of a Leitweg-ID, by example04011000Coarse addressingFederal · State · Municipal1234512345Fine addressingspecific unit (optional)06Check digitISO 7064 / MOD 97-10——Buyer reference (BT-10) in the XRechnung
Three components, separated by hyphens — the check digit exposes typos.
Structure of the Leitweg-ID
PartContentExample
Coarse addressingfederal/state/municipal level per official key04011000
Fine addressing (optional)the specific office/department1234512345
Check digittwo digits, per ISO 7064 (MOD 97-10)06
Completejoined with hyphens04011000-1234512345-06

Where do I get it?

Always from the contracting authority: in the purchase order, in the contract, in the supplier documents, or on request from the invoicing office. There is no public directory of all Leitweg-IDs — note it per customer. In CoolHanX you store the ID once on the partner record; its format and check digit are validated in the process, and every invoice to that customer carries it automatically.

Typical grounds for rejection — and how to avoid them

  • Leitweg-ID missing/incorrect → maintain it on the partner record, have the check digit validated
  • Format not EN 16931-compliant → send only validated XRechnung
  • Mandatory fields empty (payment data, contact) → BR-DE validation before sending
  • Wrong transmission channel → clarify with the contracting authority: portal (ZRE/OZG-RE) or email
Examples from practice
Contracting authorityLeitweg-ID (sample)usual channel
Federal authority991-XXXXX-YYZRE / OZG-RE
State authority (e.g. NRW)05XXX-XXXXX-YYstate portal / OZG-RE
Municipality04011000-XXXXX-YYOZG-RE / email — ask in advance
University / municipal enterprisedepending on the entitystated in the purchase order

Federal, state, municipal — who accepts what?

The federal government uses the central platforms (ZRE/OZG-RE); the Länder operate their own portals or join in; municipalities are heterogeneous — from a portal to acceptance by email. The €1,000 threshold applies at the federal level; the Länder sometimes have differing rules. When in doubt: ask the contracting authority's invoicing office and note the channel on the partner record.

Frequently asked questions

Do private customers need a Leitweg-ID?

No — it is a B2G concept.

Can an authority have several Leitweg-IDs?

Yes, often one per organizational unit — so always use the ID from the specific purchase order.

Does CoolHanX check the Leitweg-ID?

Yes, for format and check digit — automatically when the partner is created and in the free validator tool.

What exactly is the buyer reference?

The EN 16931 field BT-10. For public authorities the Leitweg-ID goes in it; in B2B it may hold a reference requested by the customer.

My invoice was rejected despite a Leitweg-ID — why?

The most common reasons: an outdated/foreign ID (a different department), a missing order number in the wrong field, or BR-DE violations. The portal’s rejection message states the code; the validator helps with the diagnosis.

Is there a Leitweg-ID for companies too?

No — in B2B the electronic address (email address, BT-49) handles the addressing.

Related topics

General product information — not legal or tax advice. Binding guidance is provided by your tax advisor or legal counsel.

Ready? Up and running in two minutes — no credit card.

Create your free company account