Ley Crea y Crece – Spain’s interoperable B2B e-invoicing model

Ley Crea y Crece introduces mandatory B2B e-invoicing in Spain through an interoperable model that combines private exchange platforms and the public e-invoicing solution managed by the AEAT. Royal Decree 238/2026 develops this framework and defines a phased rollout linked to the Ministerial Order for the public solution. The model also introduces invoice-status communication requirements designed to improve payment transparency, monitor payment practices and support interoperability between private platforms and the public system.

Understanding Spain’s B2B eInvoicing model under Ley Crea y Crece

Key implementation dates

Key milestones in the phased rollout of Spain’s B2B eInvoicing framework

These dates reflect the phased implementation timeline currently derived from Royal Decree 238/2026 and the draft Ministerial Order published in April 2026. The draft Order foresees its entry into force on 1 October 2026, which would trigger the 12-month and 24-month adaptation periods established for companies above and below the €8 million turnover threshold. Beyond the rollout dates, businesses should also prepare for the operational impact of invoice-status communication, interoperability requirements and integration with the public e-invoicing solution.

01/10/2027

Companies with annual turnover above €8 million must start complying with mandatory B2B eInvoicing requirements.

01/10/2028

The mandatory B2B eInvoicing framework extends to all remaining businesses and professionals.

01/10/2029

Invoice status reporting becomes mandatory for self-employed taxpayers and income-attribution entities with turnover of up to €8 million.

How Spain’s Ley Crea y Crece eInvoicing model works

Implementation​

The mandate will apply in phases once the Ministerial Order enters into force: first to businesses with annual turnover above €8 million, and later to all other companies and self-employed professionals

Tax Authority​

Agencia Estatal de Administración Tributaria (AEAT) – Spanish Tax Agency

Format

Invoices must be exchanged in structured, machine-readable formats that support interoperability. Common formats referenced in Spain include Facturae, UBL, EDIFACT and UN/CEFACT XML, with UBL playing a central role in the public e-invoicing solution

Digital Signature

Compliance solutions must ensure authenticity, integrity and traceability

Archiving

Electronic invoices must be stored for at least 4 years in line with Spanish tax record-keeping requirements

Other Spanish regulations

VeriFactu, SII, FACe, TicketBAI

Invoice Status Communication

Invoice-status communication is a core part of Spain’s B2B e-invoicing framework. Recipients must report key events such as rejection and payment, while issuers must be able to receive, register and reconcile those updates within their ERP and compliance processes

See how Code10 helps SAP-based businesses prepare for Ley Crea y Crece compliance in Spain

Frequently asked questions

Monument to Alfonso XII in Madrid representing Ley Crea y Crece regulation and digital invoicing compliance in Spain

Who is required to use e-Invoicing under the "Ley Crea y Crece"?​

Businesses and self-employed professionals covered by the framework will be brought into scope in phases. The implementation timetable distinguishes between entities above and below the €8 million turnover threshold, with additional status-reporting obligations affecting certain smaller taxpayers in a later phase.

What formats are allowed for electronic invoices?​

The framework relies on structured, machine-readable invoice data designed for interoperability. Several structured formats are referenced in the Spanish market, including Facturae, UBL, EDIFACT and UN/CEFACT XML. For the public e-invoicing solution, the draft Ministerial Order defines UBL under the EN16931 semantic model as the key technical basis. Status-related communications are also structured through UBL ApplicationResponse messages.

Computer screen with code representing electronic invoicing processing under Ley Crea y Crece in Spain
Person signing digitally on smartphone representing electronic signature under Ley Crea y Crece in Spain

Is an electronic signature mandatory for e-invoicing?

Solutions must ensure authenticity, integrity and traceability in line with the applicable technical and legal framework.

Who reports invoice statuses under the Spanish model?

Invoice-status reporting is primarily driven by the recipient, who must communicate key status events to the public solution. Issuers must be ready to receive and register those updates, and may also report settlement or default-related information in the cases provided for in the framework.
Document archive folders representing SII VAT data archiving and compliance regulations in Spain
Pencil erasing mistakes representing correction of errors in electronic invoicing under Ley Crea y Crece

How does the public solution interact with private platforms?

Businesses may work through private platforms, the public solution, or both. However, the framework requires interoperability across solutions. When the public solution is not used directly to issue invoices, a faithful electronic copy of each invoice must be submitted simultaneously to the public solution in UBL format. This means that private-platform scenarios still require technical integration with the public system.

Does the law apply to B2G transactions as well?

No, the “Ley Crea y Crece” focuses on B2B transactions. However, B2G einvoicing has been mandatory in Spain since 2015 through the FacturaE system.

Royal Palace of Madrid representing Ley Crea y Crece regulation and digital compliance in Spain

Different Frameworks for SAP Integration And Ley Crea Y Crece Compliance

Ley Crea y Crece marks an important milestone in the digitalization of Spain’s B2B invoicing model. It requires the electronic exchange of structured invoices between businesses, private platforms and the public e-invoicing solution, together with mandatory invoice-status communication.

As a result, SAP and ERP systems must be able to generate compliant invoice data, validate structured formats such as UBL, submit faithful copies when required, exchange messages with public or private platforms, and reconcile invoice statuses within finance and compliance processes.

At Code10, we support this transition through SAP standard capabilities via the Document and Reporting Compliance framework, combined with advanced eCompliance integration delivered through our eCompliance Hub. This allows companies to prepare for Spain’s B2B e-invoicing mandate with a scalable architecture for invoice generation, validation, transmission, status tracking and long-term regulatory maintenance.

Contact Code10

More related topics