Blog

E-Invoicing in Spain 2026: Crea y Crece Timeline, VeriFactu, Formats and Compliance

E-invoicing in Spain is moving from voluntary practice to legal obligation. Under the Ley Crea y Crece (Law 18/2022) and its implementing Royal Decree 238/2026, structured electronic invoices will become mandatory for domestic business-to-business transactions, starting with large companies in October 2027 and extending to all remaining businesses and self-employed professionals by October 2028.

For most Spanish companies this is a significant change. Paper invoices and ordinary PDFs will no longer satisfy the law for B2B trade. Instead, businesses will exchange machine-readable invoices through accredited platforms, report each invoice status to the tax authority, and keep tamper-proof records. This guide walks through the full picture: the legal framework, the timeline, the hybrid AEAT model, accepted formats, invoice status reporting, penalties, and a practical readiness checklist.

Table of Contents

Key Takeaways

  • Mandatory B2B e-invoicing begins on 1 October 2027 for companies with annual turnover above €8 million, and on 1 October 2028 for all other businesses and self-employed professionals.
  • Invoices must use a structured format such as UBL, CII, EDIFACT, or Facturae, aligned with the EN 16931 European standard.
  • Spain follows a hybrid exchange model, allowing businesses to use accredited private platforms, the public AEAT platform, or both, while ensuring invoices are reported to the public system.
  • Recipients are required to report invoice status updates, including rejection and payment confirmation, within the legally specified deadlines.
  • VeriFactu introduces separate software compliance requirements for invoicing systems, with implementation starting in 2027.

What is e-invoicing in Spain?

E-invoicing in Spain is the process of issuing, transmitting, and receiving invoices in a structured digital format that machines can read and process automatically, rather than as paper documents or flat PDF files. A structured electronic invoice proves who issued it, demonstrates that the content has not been altered, and carries the same legally required information as a traditional invoice.

Spain has required e-invoicing for business-to-government (B2G) transactions since January 2015 through the FACe platform using the Facturae format. The country's upcoming B2B e-invoicing mandate extends this requirement to domestic business-to-business transactions, replacing paper and PDF invoices with structured electronic invoices exchanged through compliant platforms.

The legal framework behind Spain's mandate

Spain's B2B e-invoicing framework is based on multiple laws and regulations that together establish the legal, technical, and operational requirements for structured electronic invoicing.

  • Ley Crea y Crece (Law 18/2022), enacted in September 2022, introduced the legal obligation for businesses and self-employed professionals to issue and receive structured electronic invoices for domestic B2B transactions, with the objective of reducing late payments and accelerating business digitalisation.
  • Royal Decree 238/2026 establishes the technical, legal, and operational framework for mandatory B2B e-invoicing, including the hybrid exchange model, interoperability requirements, invoice status reporting, and implementation timelines.
  • The Ministerial Order (currently published in draft form) defines the technical specifications of the public AEAT e-invoicing platform, accepted invoice formats, interoperability rules, and the implementation schedule for businesses.
  • VeriFactu is a separate regulation governing invoicing software integrity under Spain's anti-fraud legislation. It requires compliant billing software capable of generating tamper-proof invoice records and reporting data to the Spanish Tax Agency (AEAT).

Although Royal Decree 238/2026 has entered into force, its mandatory application begins only after the corresponding Ministerial Order becomes effective. The phased compliance deadlines are calculated from that date rather than from the publication of the Royal Decree itself.

Spain e-invoicing timeline and compliance deadlines

Spain's transition to mandatory B2B e-invoicing follows a phased implementation schedule. While Royal Decree 238/2026 establishes the legal framework, the compliance deadlines are linked to the entry into force of the implementing Ministerial Order. The following timeline reflects the current roadmap.

  • January 2015: B2G e-invoicing became mandatory. Suppliers to public administrations must submit invoices through the FACe platform using the Facturae format .
  • 31 March 2026: Royal Decree 238/2026 was published in Spain's Official State Gazette (BOE), establishing the legal framework for mandatory B2B e-invoicing.
  • 1 January 2027: VeriFactu requirements become applicable to corporate taxpayers, requiring compliant invoicing software capable of generating tamper-proof invoice records.
  • 1 July 2027: VeriFactu requirements extend to self-employed professionals and remaining taxpayers subject to Spain's Personal Income Tax (IRPF).
  • 1 October 2027: Mandatory B2B e-invoicing begins for businesses with annual turnover exceeding €8 million.
  • 1 October 2028: Mandatory B2B e-invoicing expands to all remaining businesses, SMEs, micro-enterprises, and self-employed professionals.

Three obligations, one compliance picture

One of the most common sources of confusion in Spain is the relationship between three different regulatory frameworks. They are complementary, not substitutes. A single business may be subject to all three at the same time. Ley Crea y Crece governs how invoices are exchanged, VeriFactu governs how invoicing software generates invoices, and SII governs near real-time VAT reporting.

  • Ley Crea y Crece (Invoice Exchange): Governs how structured B2B electronic invoices are issued, transmitted, and exchanged between trading partners, as well as invoice status reporting.
  • VeriFactu (Software Integrity): Regulates how billing software generates invoices by requiring tamper-proof records, digital fingerprints, QR codes, and timestamps.
  • SII (VAT Reporting): Requires the near real-time submission of VAT invoice records to the Spanish Tax Agency (AEAT), generally within four calendar days, for businesses subject to the SII regime.

A useful rule: Businesses already reporting through SII are exempt from VeriFactu because they continuously submit detailed invoice data to the AEAT. However, SII does not exempt businesses from the B2B e-invoicing obligations introduced under Ley Crea y Crece. These are separate compliance requirements that operate together and serve different regulatory purposes.

The Spanish e-invoicing model: a hybrid architecture

Spain has adopted a hybrid Continuous Transaction Control (CTC) model for B2B e-invoicing. Businesses may exchange structured electronic invoices through accredited private service providers, the public platform operated by the Spanish Tax Agency (AEAT), or a combination of both. Regardless of the exchange channel used, a faithful copy of every invoice in UBL format must also be submitted to the public platform, which serves as the central repository for invoice data and payment status reporting.

How the invoice exchange process works:

  • The supplier generates a structured electronic invoice using one of the four approved invoice formats.
  • The invoice is transmitted to the buyer either directly through the public platform or through accredited private platforms that are interoperable with one another.
  • A faithful UBL copy of every invoice is simultaneously submitted to the AEAT public platform.
  • The recipient reports invoice lifecycle events, including acceptance, rejection, and the effective payment date.
  • The AEAT uses the reported data to improve traceability, monitor payment behaviour, and support enforcement of late-payment regulations.

Accredited private platforms have their own compliance obligations. They must support transformation between all approved invoice formats while preserving authenticity and integrity, interoperate with other accredited platforms using AS2 or AS4 communication protocols, submit faithful invoice copies to the public platform, and maintain a public directory identifying participating businesses. Businesses that do not designate an accredited provider will use the public AEAT platform by default. Service providers must also comply with security requirements, including ISO/IEC 27001 certification and eIDAS-compliant electronic signatures.

Unlike some other countries, Spain will not provide a public invoice validation service for general use. Instead, businesses and accredited service providers must validate invoices within their own systems before transmission, making the selection of compliant invoicing software or a certified service provider particularly important.

Accepted invoice formats in Spain

Spanish electronic invoices must comply with the EN 16931 European semantic standard. The regulation recognizes four structured invoice syntaxes, and accredited service providers must be capable of transforming invoices between all supported formats while preserving the invoice's semantic content. :contentReference[oaicite:0]{index=0}

  • UBL (Universal Business Language): Defined under ISO/IEC 19845:2015, UBL is the reference syntax used by the public AEAT platform. Faithful copies of invoices submitted to the public platform are transmitted in UBL format.
  • CII (Cross Industry Invoice): The UN/CEFACT XML invoice syntax accepted for all structured electronic invoices compliant with EN 16931.
  • EDIFACT: The UN/EDIFACT EDI messaging standard (ISO 9735), widely used in established electronic data interchange (EDI) environments and accepted under Spain's framework.
  • Facturae: Spain's national XML invoice format, already used for B2G invoicing through the FACe platform and also accepted for B2B electronic invoicing.

Every electronic invoice must include a unique identification code formed by combining the issuer's Tax Identification Number (NIF), invoice number and series, and the issue date. This ensures traceability and prevents duplication. Invoices exchanged through interoperable platforms may include electronic signatures where applicable, but embedded or integrated attachments are not permitted.

Invoice status reporting: Spain's late-payment enforcement mechanism

Spain's B2B e-invoicing framework goes beyond the exchange of structured invoices by requiring businesses to report key invoice lifecycle events. This reporting mechanism is designed to improve payment transparency, combat late payments, and provide the Spanish Tax Agency (AEAT) with greater visibility into commercial transactions. The reform supports Spain's broader objective of enforcing compliance with statutory payment deadlines.

Recipients must report invoice status updates within a maximum of four calendar days, excluding weekends and national public holidays. The reportable events include:

  • Invoice rejection and the corresponding rejection date, where applicable. If no rejection is reported, the invoice is considered accepted within the public system.
  • Effective payment date, confirming the date on which payment was actually received.
  • Payment due date, allowing authorities to monitor compliance with legal payment terms.

Issuers may also voluntarily report information such as invoice collection, non-payment, or discrepancies between the expected and actual payment dates. Together, these reporting obligations create a continuous invoice monitoring framework across Spain's economy, even when invoices are exchanged through accredited private platforms.

Who must comply, and what is excluded

Spain's mandatory B2B e-invoicing requirements apply to all businesses and self-employed professionals that issue invoices under Spanish invoicing rules where the recipient is another business or professional established in Spain. This includes companies, micro-enterprises, self-employed professionals, and foreign businesses with a permanent establishment in Spain.

The €8 million annual turnover threshold only determines when a business must comply during the phased rollout. It does not determine whether a business falls within the scope of the mandate. By 1 October 2028, all in-scope businesses and professionals must issue and receive structured electronic invoices.

The following transactions and entities are generally excluded from the scope:

  • Business-to-Consumer (B2C) transactions.
  • Simplified invoices, except where specifically required by law.
  • Regulated electricity and gas market operators.
  • IATA clearing-house settlement systems, including CASS, BSP, and SIS-ICH.
  • Sector-specific exemptions that may be granted temporarily by the Ministry of Economy where compliance would materially disrupt business operations.

The position of non-established businesses that are registered for Spanish VAT but do not have a permanent establishment has not yet been fully clarified in the published regulations. Businesses in this situation should monitor future guidance and the final implementing Ministerial Order for confirmation of their compliance obligations.

Penalties for non-compliance

Spain's e-invoicing penalty framework places significant emphasis on both compliance with the B2B e-invoicing mandate and the use of compliant invoicing software. Businesses, software providers, and users may all face penalties depending on the nature of the infringement. Some enforcement details will be finalized through the implementing Ministerial Order.

  • Failure to issue or receive structured B2B electronic invoices: Administrative fines of up to €10,000 per infringement under Law 18/2022 (Ley Crea y Crece).
  • Using non-compliant invoicing software: Businesses may be fined up to €50,000 per tax year under Article 201 bis of the General Tax Law.
    Legal basis: Article 201 bis
  • Manufacturing or marketing non-compliant invoicing software: Software vendors may face penalties of up to €150,000 per product per tax year under Law 11/2021 (Anti-Fraud Law).
  • Late or incorrect SII reporting: A penalty of 0.5% of the invoice amount, with a minimum fine of €300 and a maximum of €6,000 per calendar quarter, may apply under the SII reporting regime.

Following the introduction of the B2B e-invoicing obligation, businesses will benefit from a six-month adaptation period during which enforcement is expected to focus primarily on guidance and compliance support. Nevertheless, organizations should begin preparing well in advance to avoid operational disruptions and potential penalties once the mandatory deadlines take effect.

Archiving requirements

Electronic invoices must be retained in their original structured electronic format throughout the applicable statutory retention period. Under Spanish law, two separate retention requirements apply simultaneously: invoices must generally be retained for four years for tax purposes under the General Tax Law (Ley General Tributaria) and for six years for commercial purposes under the Commercial Code (Código de Comercio).

The legally valid record consists of the original electronic invoice together with any associated electronic signatures, acknowledgements, and invoice status messages. Printed copies or PDF versions do not replace the original structured electronic record.

Businesses must ensure that electronic invoices remain complete, authentic, and accessible throughout the retention period. Upon request, the Spanish Tax Agency (AEAT) must be granted access to archived electronic invoices, and accredited service providers are required to ensure customers can access their archived invoice records for at least four years.

How to prepare for the Spain e-invoicing mandate

Although the implementation deadlines are phased, preparing early will help businesses avoid compliance risks and operational disruptions. A successful transition requires not only compliant invoicing software but also updated business processes, system integrations, and staff readiness.

  1. Determine your compliance obligations. Identify whether your business falls under the SII regime, whether VeriFactu requirements apply, and when your organization must comply with the B2B e-invoicing mandate based on the applicable implementation timeline.
  2. Verify your invoicing software. Ensure your billing solution supports VeriFactu requirements, generates compliant structured electronic invoices, and can produce tamper-proof invoice records where required.
  3. Review your ERP and finance systems. Confirm that your systems can generate, receive, process, and archive invoices using the approved structured invoice formats, including UBL, CII, EDIFACT, and Facturae where applicable.
  4. Select a compliant service provider. Choose an accredited e-invoicing platform capable of invoice format conversion, interoperability with other providers, submission of required invoice copies to the AEAT, and invoice status management.
  5. Establish invoice status reporting processes. Create internal workflows for reporting invoice acceptance, rejection, payment due dates, and payment completion within the prescribed reporting deadlines.
  6. Prepare customers and suppliers. Since both trading partners must participate in structured electronic invoicing, communicate implementation plans early and coordinate testing before the mandatory compliance date.
  7. Validate master data. Review customer and supplier records to ensure Tax Identification Numbers (NIF), addresses, VAT information, and other mandatory invoice data are complete and accurate to minimize invoice validation errors.

Spain and the EU ViDA framework

Spain's adoption of structured electronic invoicing and the EN 16931 standard aligns with the European Union's VAT in the Digital Age (ViDA) initiative. ViDA aims to introduce harmonised digital reporting requirements and structured intra-EU B2B e-invoicing across Member States. By implementing compliant e-invoicing processes now, businesses operating in Spain will be better prepared for future EU-wide digital VAT reporting obligations.

Get Crea y Crece ready with SMARTeIS

SMARTeIS is an enterprise-grade e-invoicing platform designed to support Spain's hybrid B2B e-invoicing model. It enables the generation of Facturae and UBL invoices, manages faithful-copy submission to the AEAT, supports invoice status reporting, and integrates with leading ERP systems including SAP, Sage, Microsoft Dynamics 365, Oracle, and Odoo.

Whether you are preparing for the Crea y Crece mandate, VeriFactu compliance, or future EU ViDA requirements, SMARTeIS helps simplify implementation and accelerate your compliance journey. Contact our experts today to plan your rollout and book a free consultation.

Spain and the EU ViDA framework

Spain's investment in deep validation and the EN 16931 standard is not happening in isolation. It aligns closely with the European Union's VAT in the Digital Age initiative, which will require structured intra-EU B2B e-invoicing under harmonized digital reporting requirements later this decade. For multinational groups, complying early in Spain is less a one-off project and more a foundation for the wider European compliance landscape that is taking shape.

Get Crea y Crece ready with SMARTeIS

SMARTeIS is an enterprise-grade, VeriFactu-ready e-invoicing platform built for Spain's hybrid AEAT model. It handles FacturaE and UBL generation, faithful-copy submission, invoice status reporting, and direct ERP integration with SAP, Sage, A3, Dynamics, and Odoo. Talk to our compliance experts about a phased, planned go-live.

Book a free consultation!

Frequently asked questions

When does B2B e-invoicing become mandatory in Spain?

The anticipated deadlines are 1 October 2027 for companies with annual turnover above 8 million euros, and 1 October 2028 for all other businesses and self-employed professionals. These dates are counted from the entry into force of the Ministerial Order, expected on 1 October 2026, and will be confirmed once the Order is officially published.

What is the difference between VeriFactu and Crea y Crece?

VeriFactu governs how invoicing software generates invoices, requiring tamper-proof, chained records with a QR code and digital fingerprint. It applies to both B2B and B2C invoices issued with software. Crea y Crece governs how structured B2B invoices are exchanged between businesses and reported to the tax authority. They are separate obligations, and a business can be subject to both.

Which invoice formats are accepted in Spain?

Four structured syntaxes are admitted: UBL, CII, EDIFACT, and Facturae, all aligned with the EN 16931 European standard. UBL is the reference format for the public solution, and faithful copies are transmitted to the AEAT in UBL. Plain PDF and Excel files are not valid electronic invoices.

Are SII taxpayers exempt from the new rules?

SII taxpayers are exempt from VeriFactu, because they already report detailed invoice data to the AEAT in near real time. However, SII does not exempt a business from the Crea y Crece B2B e-invoicing obligation. Those remain coexisting requirements.

Do foreign companies have to comply?

Foreign companies with a permanent establishment in Spain are in scope for domestic B2B transactions directed to that establishment. The position of non-established businesses that hold only a Spanish VAT registration has not been definitively clarified in the published texts, so those businesses should monitor the final Ministerial Order.

What is invoice status reporting and how fast must it happen?

Recipients must report the status of each invoice, including rejection and the effective payment date, within four calendar days excluding weekends and national holidays. If an invoice is not rejected, it is presumed accepted. This obligation exists to make late payment visible and reduce Spain's average B2B payment period.

How long must e-invoices be archived?

Invoices must be kept in their original electronic format for four years for tax purposes under the Ley General Tributaria and six years for commercial documents under the Codigo de Comercio. The signed XML and acknowledgement messages are the legally valid record, not a printed copy.

What happens if I miss the deadline?

Failure to issue or accept a structured B2B e-invoice can attract a fine of up to 10,000 euros per infraction under Crea y Crece. Using non-certified software can reach 50,000 euros per year. A six-month grace period applies from the specific Crea y Crece fines after a business enters scope, and early enforcement is expected to favor education over penalties.

Request Your Demo
Your Demo

[forminator_form id="11774"]