Skip to content
spainES NEWS

Spain Rolls Out Free Testing Environment for Mandatory B2B E-Invoicing System

Spain's tax authority (AEAT) has launched a free public testing environment for the Sistema Público de Facturación Electrónica (SPFE), the state-operated platform that will underpin mandatory B2B e-invoicing under Ley Crea y Crece (Law 18/2022). The testing environment, available as of November 25, 2026, allows businesses and developers to validate invoice processing workflows before the production system goes live.

EncryptInvoice 2 min read AI-generated content — How this site is made

Key takeaways

  • AEAT launched a free public testing environment for the SPFE platform on November 22, 2026.
  • The testing environment enables validation of invoice processing workflows before the production system goes live.
  • Companies with annual turnover exceeding €8 million must comply by October 6, 2027.
  • All other businesses and self-employed persons must adopt e-invoicing by October 6, 2028.
  • Self-employed individuals must report invoice status and payment information by October 6, 2029.

Spain Rolls Out Free Testing Environment for Mandatory B2B E-Invoicing System

Spain's tax authority (AEAT) has launched a free public testing environment for the Sistema Público de Facturación Electrónica (SPFE), the state-operated platform that will underpin mandatory B2B e-invoicing under Ley Crea y Crece (Law 18/2022). The testing environment, available as of November 25, 2026, allows businesses and developers to validate invoice processing workflows before the production system goes live.

Context

The SPFE testing environment, published alongside technical documentation and functional examples on November 22, 2026, is part of Spain's phased implementation of mandatory B2B e-invoicing. The legal basis for this initiative is Order HAC/1028/2026, published in the Boletín Oficial del Estado (BOE) on October 5, 2026. The phased rollout mandates that companies with annual turnover exceeding €8 million must comply by October 6, 2027. All other businesses and self-employed persons must adopt e-invoicing by October 6, 2028. Additionally, self-employed individuals will have to report invoice status and payment information by October 6, 2029.

The SPFE's dual-mode design offers a web form for individual invoice submission and web services for automated emission, receipt, and exchange. This positions the free public platform as a viable compliance route for self-employed individuals and SMEs who might otherwise face costs associated with private e-invoicing software. Private solutions remain permitted but must meet interoperability requirements and transmit a certified copy of each invoice to AEAT.

What's Changing in Practice

The SPFE testing environment enables developers, autonomous workers, and businesses to validate invoice processing workflows, run error-detection routines, and confirm system compatibility before the production environment goes live. This proactive enablement strategy by AEAT is aimed at smaller market participants who lack the technical infrastructure or budget for proprietary solutions.

The testing environment, alongside technical documentation and functional examples, provides a comprehensive toolkit for stakeholders to prepare for the mandatory e-invoicing requirements. The dual-mode design of SPFE — offering both a web form for individual invoices and web services for automated processes — ensures flexibility for different types of businesses, from self-employed individuals to large enterprises.

Implications for SMEs and Self-Employed Individuals

For self-employed individuals and small businesses, the SPFE testing environment offers a cost-effective solution to comply with upcoming e-invoicing mandates. The free public platform eliminates the need for expensive proprietary software, making compliance more accessible.

The phased implementation schedule allows businesses to prepare accordingly. Companies with higher turnover must comply first, followed by smaller businesses and self-employed individuals. The additional reporting obligation for self-employed individuals by October 6, 2029, ensures comprehensive tracking and transparency in invoice management.

Outlook and What to Watch

As of the briefing date, no delays or amendments to the implementation timeline have been reported. The AEAT's proactive approach in offering a free testing environment ahead of the first mandatory deadline underscores its commitment to facilitating compliance.

Stakeholders should closely monitor any updates or additional guidance from AEAT regarding the SPFE platform and its interoperability requirements. The testing environment will be crucial for businesses to ensure their systems are compatible and ready for the transition to mandatory e-invoicing.

Frequently asked questions

What is the SPFE platform?
The Sistema Público de Facturación Electrónica (SPFE) is a state-operated platform that will underpin mandatory B2B e-invoicing in Spain. It offers a web form for individual invoice submission and web services for automated emission, receipt, and exchange.
When is the mandatory e-invoicing deadline for companies with turnover exceeding €8 million?
Companies with annual turnover exceeding €8 million must comply with mandatory e-invoicing by October 6, 2027.
Can private e-invoicing software still be used?
Yes, private solutions remain permitted under the framework but must meet interoperability requirements and transmit a certified copy of each invoice to AEAT.
What additional obligation do self-employed individuals face?
Self-employed individuals must report invoice status and payment information by October 6, 2029.
Is there a cost associated with using the SPFE platform?
No, the SPFE platform is offered as a free public option, making it a viable compliance route for self-employed individuals and SMEs.
Share: X LinkedIn Email

Related articles

spainES NEWS

Spain Consolidates Verifactu Deadlines with October 2028 Real-Time Reporting Mandate

Spain has consolidated its Verifactu real-time invoice reporting deadlines into a single October 6, 2028 deadline, aligning it with the mandatory B2B e-invoicing system launch. This change, enacted by Royal Decree-law 43/2026, merges previous separate deadlines for corporate and self-employed taxpayers, streamlining compliance efforts for businesses.

2 min read

Spain's Ley Crea y Crece: Mandatory B2B E-Invoicing in 2027-29

Spain's Ley Crea y Crece mandates structured B2B e-invoicing using Facturae, UBL, or CII formats, with phased implementation starting October 2027 for large enterprises and October 2028 for SMEs. Invoices must be transmitted directly to clients and to AEAT's SPFE platform, with non-compliance penalties up to €10,000.

2 min read

AEAT Publishes Draft Validation Rules for Spain's Public B2B E-Invoicing Platform

Spain's tax authority (AEAT) has released draft validation rules for the Sistema Público de Facturación Electrónica (SPFE), marking a key technical milestone in the country's e-invoicing rollout. Large businesses with annual turnover above €8 million must comply by October 6, 2027, with other businesses having until October 6, 2028.

2 min read