VATupdate
I Love Spain

Share this post on

Spain Publishes Royal Decree Implementing Mandatory B2B Electronic Invoicing

Summary

  • Publication & scope: On 31 March 2026, Spain published Royal Decree 238/2026 in the BOE, implementing the mandatory B2B electronic invoicing obligation introduced by Law 18/2022 (“Create and Grow” Law) and amending the existing invoicing regulation (RD 1619/2012). [boe.es]
  • Key obligations: B2B invoices must be issued in a structured electronic format (PDF alone no longer sufficient), exchanged via a public AEAT platform or interoperable private platforms, and accompanied by mandatory electronic reporting of invoice status (acceptance, rejection, payment date) to combat late payments. [sede.agenc…ria.gob.es], [globaltaxnews.ey.com]
  • Timeline: The decree enters into force 20 days after publication, but effective application is phased from a forthcoming Ministerial Order: 12 months for businesses with turnover > €8m and 24 months for all others; the public platform must be available at least two months before

 

Article

On 31 March 2026, Spain published Royal Decree 238/2026 in the Official State Gazette (BOE), completing the long‑awaited regulatory framework for mandatory B2B electronic invoicing introduced by Law 18/2022, commonly known as the “Create and Grow” (Crea y Crece) Law. [boe.es]

From policy objective to operational system

Royal Decree 238/2026 establishes the legal, technical and operational rules governing Spain’s B2B e‑invoicing system, aiming to combat late payments, improve cash‑flow visibility and accelerate business digitalisation—particularly for SMEs. The decree amends the existing invoicing regulation (Royal Decree 1619/2012) and formally introduces structured electronic invoices as the new standard for transactions between entrepreneurs and professionals established in Spain. [boe.es]

PDF invoices sent by email will no longer be sufficient once the system is fully effective, except during transitional periods defined by the decree.

Key features of the Spanish B2B e‑invoicing model

The decree introduces a hybrid exchange model, allowing businesses to issue and receive e‑invoices through:

  • a free public e‑invoicing platform developed by the Spanish Tax Agency (AEAT), or
  • interoperable private platforms, provided they meet strict technical and data‑sharing requirements. [sede.agenc…ria.gob.es]

A distinctive feature of the Spanish system is the mandatory reporting of invoice statuses, including acceptance, rejection and effective payment date. These status updates must generally be reported electronically within four days of the relevant event, reinforcing enforcement of statutory payment terms in B2B transactions. [globaltaxnews.ey.com]

Phased application and timeline

Although Royal Decree 238/2026 entered into force 20 days after publication, its effective application is deferred and linked to the publication of a forthcoming Ministerial Order setting out detailed technical specifications.

From that moment:

  • Businesses with an annual turnover exceeding €8 million will be required to comply 12 months later
  • All other businesses and self‑employed professionals will be required to comply 24 months later. [sede.agenc…ria.gob.es]

The public e‑invoicing solution must be available at least two months before the first mandatory compliance date.

Strategic context

This reform aligns Spain with broader EU trends toward digital VAT controls and anticipates future developments under the EU VAT in the Digital Age (ViDA) initiative. While the obligation is currently limited to domestic B2B transactions, the structured data and status‑reporting elements clearly position Spain for deeper real‑time reporting in the future. [globaltaxnews.ey.com]

For multinational groups operating in Spain, the decree has immediate implications for ERP configurations, accounts receivable/payable processes, and platform selection strategies, particularly where interoperability with multiple trading partners is required.

Link to the Royal Decree (official text)

Royal Decree 238/2026 (BOE‑A‑2026‑7295)
👉 Official text published in the BOE – 31 March 2026


Acceptable e‑invoicing formats in Spain (B2B)

Under Royal Decree 238/2026, electronic invoices must be issued in a structured electronic format that complies with the Spanish e‑invoicing system and EU standards. PDF, Excel or scanned documents are not acceptable as e‑invoices.

✅ Permitted syntaxes/formats

Spain allows four structured syntaxes, all aligned with the EU semantic standard EN 16931:

  • UBL (Universal Business Language)
    • Reference syntax of the public e‑invoicing solution operated by the Spanish Tax Agency (AEAT)
    • Fully compliant with EN 16931
    • Basis for Peppol BIS [sovos.com]
  • Facturae
    • Spanish national format
    • Widely used in B2G invoicing and explicitly allowed for B2B
      [sovos.com]
  • EDIFACT
    • Common in logistics, retail and other high‑volume sectors
    • Accepted provided semantic equivalence with EN 16931 is ensured [sovos.com]
  • CII (Cross Industry Invoice – UN/CEFACT)
    • International structured invoice model
    • Accepted if compliant with EN 16931 [sovos.com]

✅ Peppol BIS invoices

  • Peppol BIS invoices are explicitly acceptable, because they:
    • Use UBL syntax
    • Comply with EN 16931
  • Peppol BIS is therefore treated as a fully valid UBL implementation in Spain
    [sovos.com], [bdo.be]

Interoperability rule (critical)

Private e‑invoicing platforms must be able to:

  • Receive and send all four accepted syntaxes (UBL, Facturae, EDIFACT, CII)
  • Transform invoices between these formats where necessary
  • Interconnect with any other private platform upon customer request

Briefing document & Podcast: Spain – E-Invoicing and E-Reporting – VATupdate



 



Sponsors:

Pincvision

Advertisements:

  • RTC