As global e-invoicing and reporting in 2026 accelerates across jurisdictions worldwide, Spain has emerged as one of Europe’s most significant markets to watch. With the approval of Royal Decree 238/2026 on 24 March 2026, e-invoicing in Spain is now becoming mandatory for all B2B transactions, marking a decisive step in the country’s digital tax transformation. This article explores what businesses need to know about Spain’s new framework, how it fits within the broader global e-invoicing landscape, and practical steps for achieving compliance.
Table of contents
- Introduction
- The global e-invoicing landscape in 2026
- Spain’s e-invoicing framework: the Crea y Crece law
- Royal Decree 238/2026: What it establishes
- Who must comply with e-invoicing in Spain?
- Implementation timeline and phased rollout
- Accepted e-invoicing formats and technical requirements
- The public and private platform model
- How Spain’s mandate aligns with the EU’s ViDA directive
- How SAP DRC supports e-invoicing compliance in Spain
- Conclusion
Introduction
The year 2026 represents a watershed moment for global e-invoicing and reporting. Across Europe, Asia-Pacific, Latin America, and beyond, governments are mandating structured electronic invoicing to combat VAT fraud, increase transparency, and modernise tax administration. Spain is firmly at the centre of this movement.
With the formal approval of Royal Decree 238/2026, e-invoicing in Spain has moved from legislative ambition to regulatory reality. The decree activates the B2B e-invoicing mandate originally introduced under the Crea y Crece law (Law 18/2022), establishing a comprehensive framework that will reshape how businesses issue, exchange, and report invoices within the country.
For multinational organisations operating in Spain, or across multiple jurisdictions simultaneously, understanding this new mandate is essential. This guide provides a thorough overview of the Spanish e-invoicing framework, its place within the global tax compliance landscape, and actionable recommendations for achieving compliance.
The global e-invoicing landscape in 2026
Before diving into Spain’s specific requirements, it is worth understanding the broader context. The global deployment of e-invoicing has reached an unprecedented scale in 2026, with dozens of countries introducing or expanding mandates simultaneously.
Key developments across the globe
Belgium: Mandatory B2B e-invoicing started from January 2026, with the grace period ending in April 2026; there will be penalties for organisations post the grace period. Learn more about e-invoicing in Belgium.
France: A phased rollout of B2B e-invoicing and e-reporting via certified platforms begins in September 2026 for large and medium-sized enterprises. Read about the latest e-invoicing updates in France.
Poland: The KSeF national platform became mandatory for large taxpayers in February 2026, with full compliance required for all VAT taxpayers from April 2026. Explore the SAF-T developments in Poland.
Germany: B2B e-invoicing requirements continue to evolve, with clarifications on scope and formats. Discover the key things to know about e-invoicing in Germany.
Singapore: The InvoiceNow mandate is extending to all GST-registered businesses on a phased roadmap through 2031. Read about e-invoicing in Singapore.
This global momentum is further reinforced by the EU’s VAT in the Digital Age (ViDA) directive, adopted on 11 March 2025, which will mandate digital reporting for cross-border B2B transactions from July 2030 and require member states to harmonise domestic systems by January 2035.
Spain’s e-invoicing framework: the Crea y Crece law
Spain’s journey towards mandatory B2B e-invoicing began with the Crea y Crece law (Law 18/2022), enacted in September 2022. The law’s primary objectives extend beyond simple digitalisation; it aims to address a persistent issue in the Spanish economy: late payments in commercial transactions.
The Crea y Crece law designates electronic invoicing as the exclusive method for commercial transactions between businesses and self-employed professionals in Spain. By requiring structured e-invoices and mandating lifecycle tracking (including payment status reporting), the law creates a mechanism for the Spanish Tax Agency (AEAT) to monitor payment compliance and identify companies that consistently fail to pay on time.
Spain was estimated to have lost approximately โฌ6.8 billion in expected VAT revenues, making the case for a robust continuous transaction control model even more compelling. The Crea y Crece law provides the legislative foundation, while Royal Decree 238/2026 delivers the technical and operational detail.
Royal Decree 238/2026: What it establishes
On 24 March 2026, Spain’s Council of Ministers approved Royal Decree 238/2026, published in the Official State Gazette (BOE) on 31 March 2026. This decree formally activates the B2B e-invoicing mandate and modifies the existing invoicing regulations established under Royal Decree 1619/2012.
The key provisions of the decree include:
Mandatory structured e-invoices: PDF, Excel, and paper invoices will no longer be valid for B2B transactions. All invoices must be issued in machine-readable, structured formats.
Invoice lifecycle reporting: Businesses must communicate the status of received invoices, including commercial acceptance, rejection, and full payment, within a maximum of four calendar days.
Unique identification codes: Every e-invoice must include a unique identifier combining the issuer’s tax identification number (NIF), invoice number and series, and date of issue.
Digital signatures: Invoices issued through private platforms must carry an advanced electronic signature in accordance with the EU’s regulations (EU 910/2014).
Interoperability: Private e-invoicing platforms must ensure seamless data exchange with other platforms and with the AEAT’s public solution.
The decree enters into force 20 days after publication, but the effective application of obligations is deferred until a Ministerial Order detailing the technical specifications is published, which is expected before 1 July 2026.
Who must comply with e-invoicing in Spain?
The mandate applies broadly to B2B transactions between businesses and professionals established in Spain. This includes companies of all sizes, as well as self-employed individuals (autรณnomos).
However, certain transactions are excluded from the scope, like –
- Simplified invoices
- Transactions where either party is not a resident in Spain
- Cases where there is no statutory requirement to issue an invoice
Invoices already covered under the existing B2G (business-to-government) e-invoicing framework via the FACe platform, which has been mandatory since January 2015
It is worth noting that the broad wording of the decree has raised questions about whether non-resident entities may be required to issue electronic invoices under Spanish rules in certain circumstances. Businesses with cross-border operations should seek expert advice on their specific obligations.
Implementation timeline and phased rollout
The compliance timeline is structured in two phases, triggered by the publication of the Ministerial Order (expected before 1 July 2026):
Phase 1: If the revenue of the company has an annual turnover exceeding โฌ8 million, they have to comply by 12 months after the Ministerial Order. The approximate timeline for this phase is approximately by July 2027.
Phase 2: All other businesses and professionals must comply within 24 months after the Ministerial Order. The approximate timeline for this phase is by July 2028.
Additionally, during the first 12 months of compliance, large companies must accompany electronic invoices with a readable PDF copy for recipients who have not yet adopted the e-invoicing requirement, unless both parties agree to structured-format-only exchange.
A further 36-month deadline applies for smaller businesses regarding the obligation to notify invoice statuses (acceptance, rejection, payment), providing additional time to adapt internal processes.
Accepted e-invoicing formats and technical requirements
Choosing the right e-invoicing format is a critical decision for businesses preparing for compliance. Spain’s framework accepts several structured formats aligned with the European standard EN 16931:
- UBL (Universal Business Language): A widely adopted XML-based format used across many European jurisdictions.
- CII (Cross-Industry Invoice): Developed by UN/CEFACT, commonly used in international trade.
- EDIFACT: An established format for electronic data interchange, particularly in supply chain contexts.
- Facturae: Spain’s national e-invoicing format, already used extensively in B2G transactions.
Key technical requirements include:
- Invoices must comply with the EN 16931 semantic data model
- Secure transmission protocols such as AS2 or AS4 must be used
- Private platforms must hold ISO 27001 certification
All invoice data must be stored with legal guarantees and remain available for download by both issuer and recipient
Private platforms must submit an accurate electronic copy of each invoice in UBL syntax to the AEAT’s public solution simultaneously with issuance
The public and private platform model
Spain has adopted a hybrid model for e-invoice exchange, combining a free public platform with certified private service providers:
The AEAT public platform
The Spanish Tax Agency will provide a free e-invoicing application that allows businesses to issue, receive, and track electronic invoices. This platform serves as the default entry point for businesses that have not specified an alternative. The AEAT must make this solution available at least two months before the decree’s effective application date.
Private e-invoicing platforms
Businesses may choose to use private service providers for e-invoice exchange. However, these platforms must ensure full interoperability – both with other private platforms and with the public solution. Upon client request, private providers must establish connections with other providers or route invoices through the AEAT’s public platform.
This decentralised approach reflects the continuous transaction control models being adopted across Europe, where tax authorities receive invoice data in near-real-time without necessarily acting as the central clearance hub.
How Spain’s mandate aligns with the EU’s ViDA directive
Spain’s e-invoicing framework does not exist in isolation. The EU’s ViDA directive, adopted in March 2025, establishes a pan-European roadmap for digital reporting and e-invoicing:
- July 2030: Mandatory digital reporting and e-invoicing for intra-EU B2B transactions
- January 2035: All domestic e-invoicing systems established before 2024 must be harmonised with EU standards
Spain’s mandate, while preceding the ViDA deadlines, raises important questions about long-term compatibility. The Spanish framework’s use of the EN 16931 standard and structured formats aligns well with ViDA’s direction. However, the specific requirements around invoice lifecycle reporting and the hybrid platform model may need to be adjusted as the EU framework matures.
For multinational businesses, this means compliance strategies must account for both national mandates and the evolving EU-wide framework. Understanding the Belgian e-invoicing mandate and other national implementations alongside Spain’s can help organisations develop a coherent, multi-country approach.
Penalties for non-compliance
Spain has established a clear penalty regime to enforce the new e-invoicing obligations:
- Failure to issue or accept structured B2B e-invoices: Fines of up to โฌ10,000 per infraction
- Use of non-compliant invoicing software: Fines of up to โฌ50,000 per fiscal year
- Software vendors selling non-compliant systems: Fines of up to โฌ150,000 per year per product
Beyond financial penalties, the AEAT will use invoice payment data to compile and publish a list of companies that fail to comply with Spain’s late payment regulations (Law 3/2004), creating significant reputational risk.
How SAP DRC supports e-invoicing compliance in Spain
SAP Document and Reporting Compliance (SAP DRC) provides a comprehensive solution for meeting Spain’s e-invoicing and e-reporting requirements. SAP DRC enables businesses to create, process, and monitor transactional documentation and periodic reporting, ensuring compliance with local legal frameworks.
The solution comprises two major components: the business system (such as SAP S/4HANA) and the SAP Business Technology Platform (SAP BTP). Together, they enable full integration with invoicing networks and tax authority platforms, supporting the structured formats and real-time reporting that Spain’s mandate requires.
TJC Group, as an official SAP DRC partner, offers a customer-centric approach to implementing the solution. With over 25 years of experience in data management and a proven track record of successful projects, TJC Group helps organisations navigate the complexities of e-invoicing and e-reporting with SAP DRC, ensuring seamless compliance and post-go-live support.
Practical steps for businesses to prepare
With the Ministerial Order expected before July 2026, businesses should begin preparing now. Here are the key actions to take:
Assess your current invoicing processes: Identify gaps between your existing systems and Spain’s requirements for structured e-invoicing, lifecycle reporting, and digital signatures.
Determine your compliance timeline: Establish whether your organisation falls into the 12-month (turnover above โฌ8 million) or 24-month compliance category.
Evaluate your technology stack: Determine whether your ERP and invoicing systems can support the required formats (UBL, CII, EDIFACT, Facturae) and integration with the AEAT platform. Solutions like SAP DRC can solve e-invoicing challenges effectively.
Plan for multi-country compliance: If you operate across multiple jurisdictions, develop a coherent strategy that accounts for Spain alongside other mandates in Belgium, France, Germany, and others.
Engage expert partners early: Working with experienced consultants like TJC Group ensures you benefit from deep knowledge of both the global tax compliance landscape and SAP-specific implementation best practices.
Conclusion
Spain’s B2B e-invoicing mandate represents one of the most significant developments in the global e-invoicing and reporting landscape of 2026. The combination of the Crea y Crece law and Royal Decree 238/2026 creates a comprehensive digital invoicing ecosystem that will fundamentally change how businesses operate in Spain.
The complexity of Spain’s requirements, from structured formats and digital signatures to lifecycle reporting and interoperability, demands specialist expertise. TJC Group’s 25+ years of experience in data management and SAP compliance make us an ideal partner for this journey.
Ready to tackle e-invoicing compliance in Spain and beyond? Contact TJC Group today to discover how our SAP DRC expertise can help you transform regulatory challenges into strategic advantages.