E-Invoicing in Spain Starting in 2027: Timeline and Requirements | SAP Mandatory B2B E-Invoicing in Spain from October 2027 | All for One Poland

It looks like you're visiting us from outside Poland.

For the best browsing experience, we recommend switching to the English version of our website.

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.

FAQ: B2B E-Invoicing in Spain

B2B e-invoicing in Spain will become mandatory on October 6, 2027, for companies with annual turnover exceeding €8 million, and on October 6, 2028, for all other companies.

The AEAT public platform based on the EN 16931 standard in UBL syntax.

Yes. The recipient reports the rejection of the invoice and the date of its full payment to the AEAT.

HOT TOPIC: E-Invoicing

All for One supports e-invoicing integration across countries and systems,
connecting SAP and other ERP platforms with B2B and B2G networks
and supporting Peppol alongside other international and local
standards and formats.

Write us Call us Send email






    Details regarding the processing of personal data are available in the Privacy Policy

    +48 61 827 70 00

    The office is open
    Monday to Friday
    from 8am to 4pm (CET)

    General contact for the company
    office.pl@all-for-one.com

    Question about products and services
    info.pl@all-for-one.com

    Question about work and internships
    kariera@all-for-one.com

    This site is registered on wpml.org as a development site. Switch to a production site key to remove this banner.