E-Invoicing in Spain


Discover how Descartes helps businesses prepare for Spain's evolving e-invoicing landscape, including mandatory B2B e-invoicing, VeriFactu requirements, and existing Business-to-Government (B2G) obligations.

Preparing for E-Invoicing in Spain?

Descartes contact form

Spain is introducing mandatory B2B e-invoicing as part of its Ley Crea y Crece(Law 18/2022) initiative to digitize business transactions, improve payment transparency, and reduce late payments. The framework is supported by Royal Decree 238/2026, which establishes the legal and technical foundation for structured B2B invoice exchange.

At the same time, Spain is rolling out VeriFactu, a separate invoicing software compliance initiative focused on invoice integrity, traceability, and tax reporting. These are two distinct but complementary requirements that many businesses will need to address simultaneously.

TopicWhat Does the Spanish E-Invoicing Mandate Mean?
StatusMandatory B2B e-invoicing is being introduced in phases starting October 2027.
Who is affected?Spanish businesses and self-employed professionals exchanging domestic B2B invoices.
ModelHybrid model combining private e-invoicing platforms and a public AEAT platform (SPFE).
FormatsFacturae, UBL, CII, and EDIFACT, compliant with EN 16931.
B2GMandatory since 2015 through the FACe platform using Facturae.
B2BMandatory from October 2027 for businesses with turnover above €8 million and October 2028 for all others.
B2CCurrently outside the scope of the B2B mandate.
Payment Status ReportingSpain requires invoice lifecycle reporting, including acceptance, rejection, and payment status.
VeriFactuSeparate invoicing software compliance requirement effective from 2027.
Table 1: Summary of E-invoicing in Spain

Spain already has mandatory electronic invoicing for B2G transactions. Since January 2015, suppliers to Spanish public administrations must submit invoices through the FACe platform using the Facturae XML format.

The upcoming reform extends structured electronic invoicing to domestic B2B transactions.

One of the biggest sources of confusion in Spain is that businesses often hear about two different projects.

Crea y Crece

This B2B E-Invoicing initiative introduces mandatory structured invoice exchange between businesses. It governs:

  • Invoice Formats
  • Invoice transmission
  • Invoice status reporting
  • Interoperability between platforms
  • Payment tracking

VeriFactu

VeriFactu is a separate anti-fraud initiative focused on invoicing software. It requires software to:

  • Generate tamper-evident invoice records
  • Create QR codes on invoices
  • Support hash-chain technology
  • Enable reporting to AEAT

VeriFactu regulates the invoicing system itself, not how invoices are exchanged between businesses.

Unlike countries that rely solely on Peppol or a centralized tax platform, Spain is implementing a hybrid model.

Businesses will be able to exchange invoices through:

Private Platforms

Certified service providers and commercial invoicing networks.

Public Platform (SPFE)

The Solución Pública de Facturación Electrónica (SPFE) operated by AEAT. This public platform will act as a universal repository and interoperability layer.

The model is designed to ensure interoperability between private operators and the public solution.

Spain supports several structured formats aligned with EN 16931, including:

B2G E-Invoicing

Mandatory since 15 January 2015 through FACe.

1 January 2027

VeriFactu becomes mandatory for corporate taxpayers.

1 July 2027

VeriFactu becomes mandatory for self-employed individuals and most remaining taxpayers.

1 October 2027

Mandatory B2B e-invoicing begins for businesses with annual turnover above €8 million.

1 October 2028

Mandatory B2B e-invoicing extends to all remaining businesses and self-employed professionals.

Spain goes beyond invoice exchange by requiring visibility into the invoice lifecycle.

Businesses will be required to report status events such as:

  • Invoice receipt
  • Invoice acceptance
  • Invoice rejection
  • Payment notification

The objective is to improve payment transparency and combat late payment practices.

The mandate applies to domestic B2B transactions between businesses and professionals established in Spain.

Generally excluded:

  • B2C transactions
  • Certain simplified invoices
  • Certain cross-border transactions
  • Cases where no invoice obligation exists
  1. Map all Spanish B2B, B2G, and international invoice flows.
  2. Assess support for Facturae, UBL, CII, and EDIFACT.
  3. Evaluate whether to use the SPFE platform, a private provider, or both.
  4. Prepare for invoice lifecycle and payment status reporting.
  5. Review ERP, finance, procurement, and AP/AR workflows.
  6. Assess VeriFactu readiness and invoicing software compliance.
  7. Review archiving and audit requirements.
  8. Test invoice exchange with customers and suppliers before go-live.

Descartes helps organizations manage both current and future Spanish compliance requirements through a single integrated platform.

Our solution provides:

  • Support for Facturae, UBL, CII, EDIFACT, and EDI formats
  • Connectivity with customers, suppliers, and invoicing platforms
  • ERP integration for automated invoice processing
  • Support for B2G and B2B invoice exchange
  • Invoice lifecycle tracking and status management
  • Scalability for VeriFactu and future reporting requirements
  • Multi-country support for European and global compliance

With Descartes, businesses can prepare for Spain's evolving digital invoicing requirements while reducing manual effort, improving visibility, and supporting broader automation initiatives.

Explanation video: global e-invoicing

Let's discuss your Spanish e-invoicing project

Our experts advise and guide you to a worry-free e-invoicing implementation

E-Invoicing Roadmap
How to Prepare for Mandatory Digital Compliance
E-invoicing in Europe
Understanding E-Invoicing and the European directive
Guide to E-Invoicing Compliance via Peppol
A step-by-step guide