Publicité
ERP IMPLEMENTATION
🇫🇷 Lire en français

Spain Mandates B2B Electronic Invoicing: RD 238/2026 Framework and Timelines

Spain's Real Decreto 238/2026 sets mandatory B2B electronic invoicing framework. Phases, AEAT platform, ERP compliance requirements for European businesses.

Spain Mandates B2B Electronic Invoicing: RD 238/2026 Framework and Timelines

Spain’s Real Decreto 238/2026, published in the Official State Gazette (BOE) on March 31, 2026, establishes the regulatory framework for mandatory B2B electronic invoicing in Spain. Enacted under Article 12 of the Ley Crea y Crece (Law 18/2022), this decree covers all business-to-business transactions within Spanish territory.

Two-Phase Rollout Awaiting Ministerial Order

The implementation will happen in two stages, but exact dates depend on a ministerial order (Orden Ministerial) that the Ministry of Finance must publish before July 1, 2026. This order will trigger the countdown:

  • Phase 1 — 12 months after the order: Companies with annual revenues exceeding €8 million. If the order is published by late June 2026, this places the deadline around July 2027.
  • Phase 2 — 24 months after the order: All other businesses and self-employed workers (autónomos). Approximately July 2028.

Spain’s tax agency AEAT confirms its free public platform must be operational at least two months before the first deadline.

Requirements for Invoicing Systems

RD 238/2026 mandates machine-readable structured formats. Accepted formats include XML CEFACT/UN, UBL, EDIFACT, and Facturae, all compliant with the European semantic model EN 16931. Companies must track the complete invoice lifecycle: issuance, receipt, acceptance, and payment.

Two transmission channels will coexist:

  • AEAT’s public platform: Free solution provided by the tax administration, suitable for low-volume businesses.
  • Private platforms: Certified ERP vendors and digitization service providers, designed for companies handling large volumes or requiring native integration with existing management systems.

Not to Confuse with VeriFactu

RD 238/2026 (B2B electronic invoicing) and VeriFactu (anti-fraud requirements for invoicing software) are two distinct obligations from different legal frameworks:

B2B Electronic InvoicingVeriFactu
Legal basisLey Crea y Crece + RD 238/2026Ley Antifraude + RD 1007/2023
PurposeInvoice format and transmissionSoftware integrity and traceability
Timeline~July 2027 / ~July 2028January 2027 / July 2027
ScopeMandatory (B2B transactions)Mandatory (invoicing software)

Compliant ERP systems must address both requirements. VeriFactu certification does not exempt from B2B format compliance, and vice versa.

Impact for European Companies Operating in Spain

For IT directors and CFOs of European companies with Spanish operations, the timeline requires three concrete actions:

Verify your ERP vendor’s roadmap. If your system handles Spanish subsidiaries or transactions, it must support Facturae or UBL EN 16931 formats and connect to the AEAT platform or a certified private provider. Ask your vendor about their certification timeline.

Prepare for dual compliance. Between VeriFactu (January 2027 for corporations) and B2B invoicing (likely July 2027 for companies >€8M), the first half of 2027 concentrates two close deadlines. A unified compliance project covering both obligations will be less costly than separate implementations.

Monitor the ministerial order. Until published, dates remain indicative. Publication is expected before July 2026, triggering the firm timeline.

European Context and Convergence

Spain’s move aligns with the broader European trend toward mandatory electronic invoicing. Similar systems are already operational or planned across the EU:

  • Italy: SDI platform since 2019 for B2B transactions
  • France: Chorus Pro for public sector, B2B mandate coming 2026-2027
  • Belgium: Peppol network integration
  • Poland: KSeF platform rollout

For multinational companies, this convergence reinforces the value of ERP systems capable of handling multi-country electronic invoicing from a unified platform. Spain’s adoption of EN 16931 standards ensures interoperability with other European systems.

Key Monitoring Points

The ministerial order is the missing piece. Without it, ERP vendors and integrators cannot finalize their certifications. Its publication, expected by summer 2026, will trigger a compliance race comparable to Italy’s SDI rollout in 2018 or France’s Chorus Pro expansion.

The regulatory alignment across Europe makes Spain’s implementation a case study for the continent’s digital transformation in B2B transactions. Companies with operations across multiple EU markets should prioritize ERP solutions that support this emerging pan-European electronic invoicing ecosystem.

For deeper analysis, consult our VeriFactu and Spanish ERP market report and our guide to European electronic invoicing.