Mandatory B2B E-Invoicing in Spain from October 2027
AEAT schedule and requirements
The countdown to mandatory e-invoicing in Spain is already underway. On October 6, 2026, the ministerial order Orden HAC/1028/2026, published in the Spanish Official Gazette (Boletín Oficial del Estado, BOE), entered into force. The order establishes the technical and functional requirements for the public e-invoicing platform operated by the Spanish Tax Agency (Agencia Estatal de Administración Tributaria, AEAT). Mandatory B2B e-invoicing in Spain is also governed by the Ley Crea y Crece and Royal Decree 238/2026. For companies with Spanish subsidiaries or branches, this signals that it is time to start planning the implementation of e-invoicing in their ERP system.
When will e-invoicing become mandatory in Spain? Timeline for 2027–2029
- October 6, 2027: The B2B e-invoicing requirement will apply to companies with annual turnover exceeding €8 million. From that date, they will be required to issue, send, and receive e-invoices, as well as report invoice and payment statuses.
- October 6, 2028: The mandatory B2B e-invoicing requirement will be extended to all other companies and entrepreneurs.
- October 6, 2029: The requirement to report the status of invoices and payments will apply to self-employed individuals.
How does the Spanish e-invoicing system work? The UBL format and the AEAT platform
- The EN 16931 format in UBL syntax. EN 16931 is a European standard that defines the data contained in an e-invoice. UBL is the XML file format in which this data is stored.
- A copy of the invoice on the public platform. A company that uses a private e-invoicing platform simultaneously sends a copy of each invoice to the AEAT platform.
- Status and payment reporting. The recipient reports the rejection of the invoice and the date of its full payment, which allows the administration to monitor whether payments between companies are made on time.
.
E-invoicing in Spain and SAP. What needs to be adjusted?
Spanish companies using SAP must be prepared to send e-invoices in UBL format directly from the system and report to the AEAT whether purchase invoices have been paid or rejected. The data required for these reports is generated during the invoice approval and payment processes, so these processes need to be adjusted in SAP.