Public sector & B2G (Leitweg-ID)
Invoices to public-sector clients: XRechnung with a validated Leitweg-ID, ready for upload to the public-sector portal (ZRE/OZG-RE).
B2G: here the e-invoice has long been everyday business
For federal authorities, the electronic invoice has been mandatory since 27 November 2020 (E-Invoicing Ordinance); above a contract value of €1,000 there is no way around it, and the states have followed suit. Anyone supplying public-sector clients — from a construction company to an IT service provider — needs an XRechnung with the correct Leitweg-ID.
The Leitweg-ID: a postcode for public authorities
The Leitweg-ID addresses your invoice to the responsible office. It consists of a coarse address (federal/state/municipal), an optional fine address and a check digit — e.g. 04011000-1234512345-06. Your client provides it; without it (field BT-10) the invoice is rejected automatically. CoolHanX checks the format including the check digit and stores the ID on the partner — stored once, correct every time.
| Channel | For whom | Status in CoolHanX |
|---|---|---|
| ZRE / OZG-RE portals | The federal government and connected states — upload | validated XRechnung XML available for portal upload |
| Email with XRechnung attachment | Municipalities and clients that allow it | available |
| De-Mail / other | Individual cases | on request |
How to become B2G-ready — today
- Collect Leitweg-IDsask each public-sector customer once and store it on the partner — the format is checked immediately.
- Clarify the electronic addressportal (ZRE/OZG-RE) or email? The client’s invoicing office will tell you; add a note to the partner.
- Test your first XRechnungto yourself or via the free checker — this way you see the result before the authority does.
- Download & upload the XMLyou upload the validated XRechnung XML in the relevant portal — done.
An honest note on the Peppol network
For B2G, Peppol is not required: the standard channel to the federal government and the states is uploading the validated XRechnung XML in the respective portal (ZRE/OZG-RE) or delivery by email — precisely the channels CoolHanX supports, without an additional network-operator contract. For recipients on the Peppol network, CoolHanX produces the compliant XRechnung XML and supports Peppol addressing (Leitweg-ID), but does not itself dispatch via the Peppol network.
Frequently asked questions
Where do I get my client’s Leitweg-ID?
From the client itself — usually in the order or the supplier documents. CoolHanX then checks the format and check digit.
How does the invoice reach the authority?
You upload the already validated XRechnung XML generated by CoolHanX in the portal (ZRE/OZG-RE), or you send it by email where permitted.
What is the difference between ZRE and OZG-RE?
Both are federal platforms: ZRE for the direct federal administration, OZG-RE for the indirect federal administration and connected states — your client will name the right one.
Does CoolHanX use Peppol?
Not required for B2G — portal upload and email are sufficient. CoolHanX supports Peppol addressing (Leitweg-ID) and produces the compliant XRechnung XML, but does not itself dispatch via the Peppol network.
Can I check in advance whether the XRechnung is correct?
Yes — with the free checker and the full validation in your account, including the Leitweg-ID check digit.
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