TaxLayer

Free tool

Leitweg-ID directory & check-digit verification

Check a Leitweg-ID for validity, identify the responsible Bundesland, and understand its structure, for standards-compliant XRechnungen (EN 16931) to public authorities.

The check runs entirely in the browser (ISO 7064, Mod 97-10). No data is transmitted or stored.

Bundesland prefixes (element 1 of the coarse addressing)

PräfixBundesland / EbeneEmpfangsplattform
01Schleswig-HolsteinServiceportal SH
02HamburgServiceportal Hamburg
03NiedersachsenNAVO
04BremenE-Rechnung Bremen
05Nordrhein-WestfalenE-Rechnung NRW
06Hessenlandesspezifisch
07Rheinland-PfalzE-Rechnungsportal RLP
08Baden-Württembergservice-bw
09Bayernlandesspezifisch
10Saarlandüber RLP-Portal
11BerlinOZG-RE
12BrandenburgOZG-RE
13Mecklenburg-VorpommernOZG-RE
14SachsenOZG-RE
15Sachsen-AnhaltServiceportal Sachsen-Anhalt
16ThüringenOZG-RE
99BundOZG-RE (Bundesdruckerei)

Prefixes per Leitweg-ID format specification v2.0.2 (KoSIT). Platform details are guidance values and may change, you always receive the specific Leitweg-ID from the respective contracting authority. A complete public directory of individual Leitweg-IDs does not exist.

What is a Leitweg-ID?

The Leitweg-ID is the unique address of a public contracting authority in electronic invoicing. It appears in the XRechnung in the buyer reference field (BT-10) and is mandatory for invoices to public authorities (B2G), if it is missing, the invoice is rejected with the error BR-DE-15.

How is a Leitweg-ID structured?

A Leitweg-ID consists of up to three parts separated by hyphens (max. 46 characters):

  • Coarse addressing: 2–12 digits. The first two digits identify the Bundesland (01–16) or the federal government (99).
  • Fine addressing (optional): up to 30 alphanumeric characters assigned internally by the contracting authority.
  • Check digit: exactly 2 digits, calculated per ISO 7064 (Mod 97-10), the same procedure as for the IBAN.

How is the check digit calculated?

Coarse and fine addressing are concatenated, letters are replaced by their position in the alphabet (A=10 … Z=35), and two zeros are appended. The remainder of the division by 97 is subtracted from 98, the result is the two-digit check digit. To validate, divide the complete number including the check digit by 97; the remainder must equal 1.

Frequently asked questions

Where do I get my Leitweg-ID?▾

The Leitweg-ID is provided to you by the public contracting authority (the government body), usually with the order or purchase order. There is no central public directory from which you could look up arbitrary Leitweg-IDs.

How do I know whether a Leitweg-ID is valid?▾

Formally, the check digit can be verified per ISO 7064 (Mod 97-10), which is exactly what this tool does. A correct check digit means the ID is technically well-formed. Whether it is actually assigned to an existing recipient can only be confirmed by the contracting authority or its invoice receipt platform.

What does the error BR-DE-15 mean?▾

BR-DE-15 means that the buyer reference (BT-10) is missing. For B2G invoices, this is the Leitweg-ID. Enter the Leitweg-ID specified by the recipient to fix the error.

Do I need a Leitweg-ID for B2B invoices to companies?▾

No. The Leitweg-ID is required exclusively for invoices to public contracting authorities (B2G). For B2B invoices to other companies, the buyer reference field remains optional.