Back

Everything about mandatory B2B electronic invoicing in Spain

(Published 8 February 2024. Updated 18 August 2026)

New electronic invoicing regulation is under way for Spanish businesses, though the road to get there has been longer, and slower, than first announced.

Law 18/2022 (first approved in September 2022) outlines the e-invoicing expectations and obligations for Spanish businesses. According to the official text, the regulation aims to “promote the use of electronic invoices” to digitize business relationships, lower transaction costs, facilitate transparency, and reduce the impact of late payments.

Since this law was passed, its implementing rules have been delayed twice, and a related but separate software-certification requirement has been postponed twice as well. Both tracks are now expected to land in 2027 and 2028 rather than the original 2025/2026 window. Here’s where things actually stand.

The two tracks and why they keep slipping

Spain’s e-invoicing push runs on two parallel regulatory tracks that are easy to conflate but legally distinct:

1. The B2B e-invoicing mandate (Law 18/2022, developed by Real Decreto 238/2026) requires structured electronic invoices, not just PDFs, between businesses, phased in by company size.

2. The SIF / Verifactu software-certification requirement (Royal Decree 1007/2023, as amended) governs the invoicing software itself: it must be certified to guarantee that billing records are tamper-proof, traceable, and reportable to the Tax Agency in near real time. This applies by taxpayer type (corporate vs. everyone else), not by revenue.

Both are real obligations businesses need to plan for. Neither is on the timeline originally announced.

B2B e-invoicing mandate: still a moving target

Real Decreto 238/2026 was approved on March 25, 2026 and published in the BOE on March 31, 2026, entering into force 20 days later. It sets out how the system will work, but the compliance countdown for businesses only starts once a separate ministerial order (defining the technical requirements) is published. As of mid-August 2026, that order still hadn’t been issued, so the exact compliance dates remain provisional:

  • Large taxpayers (turnover above €8 million): 12 months after the ministerial order takes effect. Currently estimated at some point in 2027.
  • All other taxpayers and self-employed professionals: 24 months after the same order. Currently estimated at 2028.

We’ll update this article with firm dates as soon as the order is published. In the meantime, treat any specific month you see quoted elsewhere as an estimate, not a confirmed deadline.

SIF / Verifactu software certification: now fixed at 2027

Unlike the B2B mandate, the Verifactu timeline is set in law and has already been revised twice:

  • Originally: July 1, 2025 for all affected software.
  • First postponement: January 1, 2026 (corporate taxpayers) / July 1, 2026 (everyone else).
  • Second postponement, via Real Decreto-ley 15/2025 (in force since December 4, 2025): January 1, 2027 for corporate taxpayers and July 1, 2027 for all other businesses and self-employed workers.

The second delay came with roughly two weeks’ notice before the original January 2026 deadline. A pattern worth watching if you’re timing a software migration around it.

From those 2027 dates onward, any invoicing software that fails to meet the certification criteria will be considered non-compliant, and the Tax Agency can fine the business using it (see below).

What is mandatory B2B electronic invoicing?

Electronic invoicing (e-invoicing) is the process of sending and receiving invoices digitally, in a structured format that software can read and process automatically, as opposed to a scanned or emailed PDF.

As the financial world becomes more technological, more countries and jurisdictions are looking into the benefits of e-invoicing. To address growing concerns and challenges surrounding financial management in European businesses, many countries in the region are turning to mandatory B2B electronic invoicing.

A mandatory B2B electronic invoice mandate necessitates the use of electronic invoicing systems that allow for greater efficiency through improved data sharing and automation capabilities.

In Spain specifically, e-invoicing regulation is overseen by the Ministry of Economic Affairs and Digital Transformation, the Ministry of Finance, and the Spanish Tax Agency. As of August 2026, the relevant legislation includes:

  • Law 18/2022 (“Crea y Crece”): requires all B2B transactions to be exclusively supported by electronic invoices, with the technical detail now developed through Real Decreto 238/2026 (March 2026).
  • Royal Decree 1007/2023 (“Verifactu”), as amended by Real Decreto-ley 15/2025: sets certification requirements for the invoicing software itself, independent of the B2B mandate above.
  • Law 25/2013: establishes the obligation of electronic invoicing and the creation of the entry registration point. This law made B2G e-invoicing mandatory in Spain back in 2015, and remains unaffected by the changes described here.

Under this legislation, electronic invoices must adhere to a specific structure and include certain mandatory information. To comply, your business must ensure the authenticity of origin, the integrity of content, and the legibility of the invoice, from the point of issue to the end of the storage period.

The benefits of B2B electronic invoices

Electronic invoicing comes with several benefits for B2B use cases, particularly in terms of boosting overall business resilience and productivity.

Three key advantages of B2B electronic invoices:

  • Fewer manual processes: Electronic invoices are sent directly between the sender’s and receiver’s IT systems, eliminating manual work for receipt and validation. Fewer manual touchpoints also make the process more secure.
  • Increased payment speed: A fully automated invoicing system makes it easier to approve and settle invoice balances, freeing up time otherwise spent on manual cash flow management and account reconciliation.
  • Improved operational efficiency: Electronic invoices reduce disputes and rejected invoices. Payments can be collected faster, freeing teams to focus on business innovation rather than chasing paperwork.

Beyond these general benefits, Spain’s e-invoicing regulations aim to reduce administrative burden, optimize financial management, improve tax control, and enable more efficient information exchange between businesses.

Who is required to issue electronic invoices, and who’s exempt?

The mandatory e-invoicing regulation applies to all businesses and professionals engaged in B2B transactions in Spain, phased in by the €8 million turnover threshold described above.

Under the final text of Real Decreto 238/2026, the confirmed exemptions are narrower than earlier drafts suggested:

  • B2B transactions where neither party has a Spanish tax domicile or permanent establishment.
  • Simplified invoices, with the exception of “qualified” simplified invoices, which are assessed case by case.
  • Electricity market operator transactions and organized gas market operations.
  • Transactions processed through IATA platforms (the main surviving carve-out related to travel and transport, and narrower than a blanket sector exemption).
  • Any additional sector the Ministry of Economy chooses to temporarily exclude for documented economic reasons, a discretionary option that hasn’t been exercised as of this writing.
  • Separately, for the Verifactu software track, common exemptions include businesses already reporting through the SII (Immediate Supply of Information) system, agricultural module-based regimes, and businesses taxed under the Basque Country’s and Navarre’s own foral systems.

How ERPs can prepare for electronic invoicing

Providers of electronic invoicing software must ensure the certification of their systems.

Specifically, the entity or individual responsible for developing the software must certify its compliance with the applicable regulations and specifications through a responsible declaration, in the form approved by ministerial order.

These programs must guarantee the integrity, preservation, accessibility, readability, traceability, and unalterability of billing records. The crucial component is the system’s secure capability to generate and store those records.

Electronic invoicing software must particularly ensure:

  • The integrity and unalterability of billing records, with the system detecting and issuing a warning if modifications occur after generation and recording.
  • The traceability of billing records, requiring linkage for traceability verification through their creation sequence.
  • Compliance with regulations, including a secure procedure for downloading, dumping, and archiving billing records, exportable to external storage in a readable electronic format.

Fines: two different regimes, two different numbers

It’s worth keeping the two tracks’ penalties separate, since they’re often quoted interchangeably:

Verifactu / SIF non-compliance: once the 2027 deadlines above take effect, the Tax Agency can fine a business (ERP/software user) up to €50,000 per fiscal year merely for using non-certified invoicing software. Software vendors who produce or sell non-compliant systems face a separate fine of up to €150,000 per year, per system type.

B2B e-invoicing mandate non-compliance (Law 18/2022): failing to issue a structured e-invoice, or denying a client access to one, carries its own, lighter fine schedule. Roughly €3,000 to €10,000 depending on the specific violation.

Because the Verifactu deadline has moved to January/July 2027, the €50,000 exposure isn’t live yet, but it will apply retroactively to that date once it is.

For providers of Enterprise Resource Planning (ERP) software, electronic invoicing represents both a compliance challenge and a competitive opportunity. ERPs should be ready to introduce features allowing users to issue and receive electronic invoices, preferably on a unified platform, well ahead of their applicable deadline.

Through the right electronic invoicing solution, ERPs can generate additional revenue, enhance customer retention, and foster loyalty with a seamless user experience.

Worth watching

A few developments beyond the headline dates are worth flagging for anyone tracking this closely:

  • The Tax Agency will provide a free public e-invoicing solution for the B2B mandate, which must be available at least two months before each phase’s compliance date.
  • Awareness gaps are measurable: a Holded survey found 27% of business owners admitted they didn’t know what Verifactu actually requires, and 22% mistakenly believed it was already in force (as of July 2026).
  • The two regimes still aren’t consolidated: advisors have criticized the Tax Agency for keeping Verifactu’s real-time reporting and the B2B mandate’s format requirements as separate obligations, even though they apply to the same invoices, creating a double compliance burden for the businesses affected.
  • Adoption is already happening organically: B2B e-invoice volumes in Spain grew roughly 35% year-over-year as of the most recent full-year data (2023: 460.3 million B2B e-invoices exchanged), well ahead of the mandate taking legal effect.

Rely on Powens to prepare for mandatory B2B electronic invoicing

A significant change for businesses and professionals will be the obligation to track the various stages of an invoice, with a particular focus on payment validation, through the electronic invoicing system.

These added procedures might pose challenges for businesses unless integrated with payment solutions that automate the new reporting obligations.

ERPs can seize the opportunity to empower their clients to automate payment and reporting operations through a unified platform. To sum up, ERPs can expect:

  • Diversification of their service offerings, resulting in increased revenue.
  • Enhanced user experience for their clients, leading to greater loyalty.

Powens solutions, such as IBAN accounts and payment methods, are the ideal way to streamline payment transactions, ensure compliance, and provide instant bank reconciliation.

This service allows ERP end-users to have an IBAN account (after a successful onboarding process), offering various functionalities, including the automatic settlement of electronically issued or uploaded invoices in the ERP.

The process is quick, simple, and entirely automated, guaranteeing efficient reconciliation of payments for these invoices in the ERP-linked account.