🇪🇸 Spain E-Invoicing Mandate (Ley Crea y Crece)

Spain is on the verge of a major shift in how businesses exchange invoices. The Ley Crea y Crece (Law on Business Creation and Growth), enacted in 2023, lays the groundwork for mandatory B2B electronic invoicing across the country. While B2G e-invoicing has been required since 2015, the upcoming B2B mandate will affect hundreds of thousands of businesses operating in Spain, making compliance planning essential starting now.

This guide covers everything you need to know about Spain's e-invoicing landscape: the current legal framework, upcoming deadlines, required formats, and practical steps to prepare your business for compliance.

Key Facts: Spain E-Invoicing

  • B2B Mandate Expected: 2026 (large businesses with revenue >€8M), 2027 for all others
  • Current Format: Facturae 3.2.x (Spanish national standard)
  • Future Direction: Transition toward Peppol BIS 3.0
  • Governing Body: AEAT (Agencia Estatal de Administración Tributaria)
  • B2G Status: Mandatory since 2015
  • Legal Basis: Ley Crea y Crece (Law 18/2022)

Timeline of E-Invoicing in Spain

2015 — B2G Mandate Takes Effect

Spain mandates electronic invoicing for all suppliers to the public sector. The Facturae format becomes the required standard for government invoices, submitted through the FACe (Punto General de Entrada de Facturas Electrónicas) platform.

September 2022 — Ley Crea y Crece Enacted

The Spanish government passes Law 18/2022, establishing the legal foundation for mandatory B2B electronic invoicing. The law aims to combat late payments and improve tax transparency across commercial transactions.

2025 — Technical Regulations Finalized

The implementing regulations detailing technical requirements, platform specifications, and reporting obligations are expected to be published, giving businesses clarity on exact compliance requirements.

2026 — B2B Mandate for Large Businesses

Companies with annual revenue exceeding €8 million must issue and receive structured electronic invoices for all B2B transactions. This first phase targets Spain's largest enterprises.

2027 — B2B Mandate for All Businesses

The mandate extends to all businesses regardless of size, completing the rollout of universal B2B e-invoicing in Spain.

Who Is Affected?

B2G (Business-to-Government)

Already mandatory since 2015. All suppliers to Spanish public administrations must submit invoices electronically in Facturae format through the FACe platform. This requirement is fully operational and well-established. Invoices above €5,000 to public entities must be electronic.

B2B (Business-to-Business)

The upcoming mandate under Ley Crea y Crece will be phased by company size. Businesses with annual turnover exceeding €8 million will be required to comply first in 2026, followed by all remaining businesses in 2027. This includes both issuing and receiving electronic invoices. Freelancers and self-employed professionals (autónomos) conducting B2B transactions will also be affected in the second phase.

B2C (Business-to-Consumer)

There is currently no mandate for B2C electronic invoicing in Spain. Consumers can still receive traditional paper or PDF invoices. However, the VeriFactu system for real-time invoice reporting to AEAT may indirectly affect how B2C invoices are generated and stored.

Invoice Formats in Spain

Facturae 3.2.x

Facturae is Spain's national e-invoicing standard, maintained by the Ministry of Finance. Version 3.2.x is the current standard used for B2G invoicing. It is an XML-based format with a defined schema that includes invoice metadata, line items, tax information, and digital signatures. All B2G invoices submitted through FACe must conform to this format.

Transition to Peppol

Spain is increasingly aligning with European interoperability standards. The country has joined the Peppol network, and there is a clear trajectory toward accepting Peppol BIS 3.0 for cross-border and eventually domestic B2B invoicing. Businesses operating internationally should prepare for Peppol compliance alongside Facturae.

VeriFactu — Real-Time Reporting

In parallel with e-invoicing, Spain is implementing the VeriFactu system, which requires businesses to report invoice data to AEAT in near real-time. This anti-fraud measure works alongside the e-invoicing mandate and requires compatible billing software that can generate compliant records.

How to Prepare for Spain's B2B E-Invoicing Mandate

  1. Audit your current invoicing process — Identify whether you currently issue PDF or paper invoices to Spanish business partners and assess the volume of transactions that will be affected.
  2. Choose a compliant solution — Select invoicing software or a service provider that supports Facturae 3.2.x and is preparing for Peppol BIS 3.0. Ensure it can handle both issuance and receipt of structured electronic invoices.
  3. Register on required platforms — If you supply to the public sector, ensure you are registered on FACe. Monitor announcements for any new B2B platform requirements.
  4. Prepare for VeriFactu — Ensure your billing software will be compatible with real-time reporting requirements to AEAT.
  5. Train your team — Accounting and finance staff need to understand the new workflows, validation requirements, and archiving obligations.

Frequently Asked Questions

When exactly does B2B e-invoicing become mandatory in Spain?

The mandate is expected to take effect in 2026 for large businesses (annual revenue above €8 million) and in 2027 for all other businesses. The exact dates depend on the publication of implementing regulations, which are still being finalized. Businesses should monitor AEAT announcements for confirmed dates.

What is the difference between Facturae and Peppol BIS 3.0?

Facturae is Spain's national e-invoicing standard, designed specifically for the Spanish market with local tax requirements built in. Peppol BIS 3.0 is a pan-European standard enabling cross-border interoperability. Spain currently requires Facturae for B2G but is moving toward accepting Peppol for B2B, especially for international transactions.

Do foreign companies selling to Spanish businesses need to comply?

Yes. Foreign companies that issue invoices to Spanish businesses for domestic transactions will likely need to comply with the B2B mandate. For cross-border transactions within the EU, the upcoming ViDA (VAT in the Digital Age) directive will establish EU-wide reporting standards. Companies already using Peppol will be well-positioned for compliance.

What is VeriFactu and how does it relate to e-invoicing?

VeriFactu is a separate but complementary initiative requiring businesses to report invoice records to AEAT in near real-time. While e-invoicing focuses on the format and exchange of invoices between parties, VeriFactu focuses on tax authority reporting. Businesses will need to comply with both systems, and most compliant software solutions will handle both requirements.

Spain in the European E-Invoicing Landscape

Spain joins a growing list of European countries implementing mandatory e-invoicing. While each country has its own timeline and technical requirements, the overall direction is toward interoperability through Peppol and EU-wide standards under ViDA. Understanding how Spain's approach compares to its neighbors can help multinational businesses plan a unified compliance strategy.

Learn about e-invoicing requirements in other European countries:

For details on the formats mentioned in this guide, see our format-specific resources: Peppol BIS 3.0 Guide | Factur-X Guide.

Ready to convert your invoices?

InvoicePeppol converts your PDF invoices to compliant e-invoicing XML in seconds. AI-powered extraction, manual review, and instant download.