Market Sector

B2G (Business-to-Government)

Definition

B2G refers to business relationships and invoicing from companies to government entities (federal, state, municipal, and public bodies). In Germany, electronic invoicing in the B2G sector has been progressively mandatory for federal authorities since 2020 and increasingly for state and municipal authorities. The required format is XRechnung or another EN 16931-compliant format.

Background & context

B2G (Business-to-Government) refers to invoicing from businesses to the public sector: federal, state and municipal authorities as well as public institutions and enterprises. In Germany, the B2G sector was the pioneer of mandatory electronic invoicing. The basis is EU Directive 2014/55/EU, implemented in Germany via the E-Government Act (§ 4a EGovG) and the federal E-Invoicing Ordinance (ERechV) plus corresponding state ordinances. Since 27 November 2020, suppliers to federal authorities must submit electronic invoices in an EN 16931-compliant format — in practice XRechnung. Unlike B2B, B2G requires the Leitweg-ID in BT-10, because the invoice must be routed correctly to the receiving unit via central inbound platforms (for the federal government, OZG-RE alone since 19 September 2025, which several states use as well). The federal states have different effective dates and partly their own platforms.

In practice — a worked example

An advertising agency wins a contract from a federal office. For the final invoice it must create an XRechnung, enter the Leitweg-ID assigned by the office into BT-10 and submit the file via the federal invoice receipt platform (OZG-RE) — for example by web form or Peppol. A mere PDF invoice by email would be rejected, as it is neither structured nor correctly routed. For state or municipal contracts, the agency checks which platform and which effective date apply there.

Common mistakes

  • •In B2G the Leitweg-ID goes into BT-10, which BR-DE-15 requires in every XRechnung; in B2B that field carries another buyer reference. Without the Leitweg-ID, delivery to an authority fails.
  • •States and municipalities have differing effective dates and platforms; one must not assume a uniform nationwide rule.

Frequently asked questions

Since when does the B2G e-invoicing obligation apply?

Towards federal authorities, suppliers have had to invoice electronically and in an EN 16931-compliant way since 27 November 2020. States and municipalities have their own, sometimes later, effective dates.

Which format do I need for B2G?

An EN 16931-compliant format, in practice usually XRechnung. ZUGFeRD in the EN 16931 profile is generally possible, but check the requirements of the specific receiving portal.

Related terms

XRechnungXRechnung is the German standard for structured electronic invoices in public sector procurement (B2G). It is based on the European standard EN 16931 and is available in two syntaxes: UBL 2.1 and UN/CEFACT CII. Since 27 November 2020, federal public buyers have been required to accept electronic invoices in XRechnung format, and state and municipal authorities have been progressively included.Leitweg-IDThe Leitweg-ID is a unique routing identifier used by German public sector buyers to receive electronic invoices. It typically consists of a combination of an authority code, optional subdivisions, and a check digit, e.g. `04011000-1234512345-06`. The Leitweg-ID is provided in the XRechnung field BT-10 (Buyer Reference) and ensures that an invoice is correctly delivered and processed within an authority.ZRE (Central Invoice Receipt Platform of the Federal Government, until 2025)The Zentrale Rechnungseingangsplattform (ZRE) was the receipt platform for electronic invoices addressed to the direct federal administration in Germany. It was switched off on 19 September 2025: since then the entire direct federal administration has been connected to the OZG-compliant invoice receipt platform (OZG-RE), which, like the ZRE before it, is operated by Bundesdruckerei. Invoices that used to go to the ZRE are now submitted via OZG-RE.OZG-RE (OZG-compliant Invoice Receipt Platform)OZG-RE stands for OZG-compliant invoice receipt platform, the federal government's platform for receiving electronic invoices. It is operated by Bundesdruckerei. Since the ZRE was switched off on 19 September 2025, it has been the only federal invoice receipt platform: it receives invoices for the entire direct federal administration, for more than 170 bodies of the indirect federal administration and for currently five federal states (as of September 2025). Invoices can be submitted by web form, upload, Peppol or email, among other channels. The name refers to the Online Access Act (OZG).PeppolPeppol (Pan-European Public Procurement On-Line) is an international network and infrastructure for the secure electronic exchange of business documents, especially invoices and orders. It is based on a four-corner model with Access Points, a central directory (SMP/SML), and standardised document formats (e.g., Peppol BIS Billing 3.0 based on UBL). In Germany, KoSIT operates the Peppol directory.B2B (Business-to-Business)B2B refers to business relationships and invoicing between two companies. In Germany, the Growth Opportunities Act (2024) introduced a mandatory electronic invoicing obligation for domestic B2B transactions as well. From 2025, businesses must be capable of receiving e-invoices; the obligation to issue them will be phased in until 2028. ZUGFeRD and XRechnung are both permitted formats for B2B.