In the EU, Directive 2014/55/EU defines an electronic invoice as one "issued, transmitted and received in a structured electronic format which allows for its automatic and electronic processing". Public contracting authorities must accept it if it follows the European standard EN 16931 and one of the syntaxes on the official list. That list has two entries, UBL and UN/CEFACT Cross Industry Invoice (CII). EDIFACT is not on it, although CEN publishes a technical binding of EN 16931 to the EDIFACT INVOIC message. Council Directive (EU) 2025/516 on VAT rules for the digital age makes the e-invoice the default from 1 July 2030 and introduces digital reporting for cross-border B2B supplies within the EU.
In Spain, Law 18/2022 ("Crea y Crece") requires all businesses and self-employed professionals to issue, send and receive e-invoices among themselves and to report their status. Royal Decree 238/2026 implements it and allows four syntaxes: CII, UBL, the EDIFACT invoice message and Facturae. According to the Spanish Tax Agency, the obligation starts on 6 October 2027 for companies with a turnover above 8 million euros and on 6 October 2028 for all others. VeriFactu is a separate rule: Royal Decree 1007/2023 sets requirements for invoicing software, including for paper invoices.
In Germany, every domestic business must be able to receive e-invoices since 1 January 2025, according to the Federal Ministry of Finance (BMF); an email inbox is enough. A plain PDF does not count. XRechnung and ZUGFeRD from version 2.0.1 qualify, and so does EDIFACT if issuer and recipient agree on it. EDI procedures that do not meet the e-invoice definition may be used until the end of 2027.