Facturación electrónica en Alemania 2025–2027: XRechnung, ZUGFeRD y obligación B2B
Alemania opera dos sistemas paralelos: XRechnung para facturas B2G del sector público (obligatorio desde 2020) y una obligación B2B estructurada a partir de 2025. aiDoks valida y genera el formato correcto.
27 de noviembre de 2020: todos los proveedores que facturan a compradores federales públicos alemanes deben presentar en formato XRechnung 3.x.
2025
B2B: grandes empresas deben recibir
1 de enero de 2025: todas las empresas deben poder recibir técnicamente facturas electrónicas estructuradas que cumplan EN 16931. Facturación superior a 800.000 €: también debe enviar antes del 1 de enero de 2026.
2027
B2B: todas las demás empresas
1 de enero de 2027: todas las empresas alemanas deben enviar facturas electrónicas estructuradas para transacciones B2B nacionales.
¿Qué formato necesita?
XRechnung (B2G — sector público)
CIUS alemán de EN 16931, disponible en sintaxis UBL y CII. Obligatorio para facturas a compradores federales, estatales y municipales. Campo clave: Leitweg-ID.
ZUGFeRD / Factur-X (B2B — sector privado)
PDF/A-3 híbrido con XML CII incrustado. Cinco perfiles de MINIMUM a EXTENDED; EN 16931 o superior recomendado.
PEPPOL BIS 3.0 (transfronterizo)
Para facturas transfronterizas a clientes de la UE, PEPPOL BIS 3.0 UBL es el estándar.
EN 16931 (norma base)
El estándar europeo de facturación electrónica que subyace a todos los formatos anteriores.
¿Qué es el Leitweg-ID y por qué es importante?
El Leitweg-ID es un código con formato NNNN-NNNNNNN-NN asignado por autoridades de compra federales y estatales alemanas.
Errores comunes de validación de XRechnung
BR-DE-1 — Referencia del comprador (Leitweg-ID) ausente o vacía.
BR-DE-15 — Dirección electrónica del vendedor ausente.
BR-DE-21 — CustomizationID incorrecto. Debe ser exactamente el URN XRechnung 3.0.
BR-CO-15 — Incongruencia en el importe total a pagar.
Obligación B2B: ¿qué formatos califican?
La Wachstumschancengesetz requiere facturas estructuradas basadas en EN 16931.
Facturación electrónica en Alemania: preguntas frecuentes
Is e-invoicing mandatory in Germany?
Yes, in two phases. B2G (invoices to federal and state public-sector buyers) has been mandatory since 27 November 2020 in XRechnung format. For B2B, large companies (revenue > €800M) must be able to receive structured e-invoices from 1 January 2025; all businesses must send structured e-invoices by 1 January 2027. The mandate is based on EU Directive 2014/55/EU and the German Wachstumschancengesetz (Growth Opportunities Act).
What format do I need for German public-sector (B2G) invoices?
XRechnung 3.x — the German Core Invoice Usage Specification (CIUS) of EN 16931. It is mandatory for invoices to federal buyers submitted through ZRE (Zentrale Rechnungseingangsplattform des Bundes), OZG-RE or state portals. The key additional field is the Leitweg-ID (Buyer Reference), which every German public authority issues with the order. Both UBL and CII syntax are accepted by the portals.
What is the B2B e-invoicing timeline for Germany?
1 January 2025: all businesses must be able to receive structured e-invoices (EN 16931-compliant UBL or CII). 1 January 2026: businesses with annual revenue above €800,000 must also send structured e-invoices. 1 January 2027: all remaining businesses must send structured e-invoices. ZUGFeRD / Factur-X (hybrid PDF + XML) counts as a valid format for B2B.
What is ZUGFeRD and how does it relate to Factur-X?
ZUGFeRD and Factur-X are the same technical format — a PDF/A-3 file with a human-readable invoice AND a machine-readable CII XML document embedded inside. ZUGFeRD is the German brand name (maintained by FeRD); Factur-X is the French/European brand name (maintained by FNFE-mpe). ZUGFeRD 2.x = Factur-X 1.x. Both are valid for German B2B e-invoicing from 2025.
What is the Leitweg-ID and where do I find it?
The Leitweg-ID (routing identifier) is a 4-segment code assigned by German federal and state buyers to identify their invoicing address, for example 04011000-12345-67. It must appear in the Buyer Reference field (cbc:BuyerReference in UBL, ram:BuyerReference in CII) of every XRechnung invoice. The buying authority sends it with the purchase order. Without a valid Leitweg-ID the government portal rejects the invoice immediately.
What happens if I send a non-compliant invoice to a German authority?
The portal (ZRE, OZG-RE or a state equivalent) rejects the invoice automatically — no human review occurs. The 30-day payment clock does not start until you submit a passing invoice. There is no grace period; the rejection is immediate and you receive an error report with the failing rule IDs. Validate with aiDoks before submission to catch errors in advance.