An e-invoice is not simply an invoice sent by email as a PDF. This is a widespread misconception. An e-invoice within the meaning of the law is an invoice in a structured, machine-readable XML format that complies with the European standard EN 16931.
The crucial difference: a PDF invoice is essentially a digital image of a paper invoice. It can be read by humans but cannot be automatically processed by software. An e-invoice, by contrast, contains all invoice data in structured form — invoice number, amounts, tax rates, supplier data, IBAN — and can be imported directly into accounting systems without manual entry.
XRechnung
XRechnung is a pure XML format developed specifically for German public sector invoicing (B2G). It contains exclusively structured data with no visual representation. XRechnung is the mandatory format for invoices to public administration and requires a routing ID (Leitweg-ID). It is also a compliant format for B2B transactions.
ZUGFeRD
ZUGFeRD is a hybrid format that combines a human-readable PDF with embedded XML data. From version 2.0.1, ZUGFeRD is compliant with EN 16931 and therefore approved for the e-invoicing mandate. The advantage: recipients without e-invoicing software can read the PDF view, while automated systems process the XML data.
EN 16931 — the European standard
The European standard EN 16931 defines a uniform data model for electronic invoices. It specifies which fields an e-invoice must contain (for example invoice number, invoice date, net amount, tax rate, payment details) and how that data has to be structured. Both XRechnung and ZUGFeRD implement the standard — in different technical forms.
Key takeaway: Only invoices in XRechnung or ZUGFeRD (from v2.0.1) format meet the legal requirements. A simple PDF file — even sent by email — does not qualify as an e-invoice.