We’ve helped 20,000+ companies grow
Global coverage. Local expertise.
badge
Future-ready compliance for all.
←  Blog
5
min read

Spain B2B E-Invoicing: Mandatory from October 2027

Spain’s B2B e-invoicing starts 6 October 2027 for large companies and 6 October 2028 for others. Key rules and how to prepare.
Spain
E-invoicing
Author
Jenny Longmuir
Last updated
2026-10-09
Spain B2B E-Invoicing: Mandatory from October 2027
Table of content

Key takeaways

  • Spain confirmed mandatory B2B e-invoicing in Royal Decree 238/2026 and Order HAC/1028/2026.
  • Businesses with turnover above €8 million must comply from 6 October 2027; all others from 6 October 2028.
  • E-invoices sent through the public solution must use UBL syntax, and invoices can travel via a public or private e-invoicing platform.
  • The Veri*factu software rules still apply from 2027. A planned delay to October 2028 is not yet law.
  • The initiative promotes transparency, fraud prevention, and digital transformation in business transactions.

In short: Spain’s mandatory B2B e-invoicing is now confirmed. Royal Decree 238/2026 sets the rules, and Order HAC/1028/2026 entered into force on 6 October 2026. Businesses with turnover above €8 million must comply from 6 October 2027, and all others from 6 October 2028. Invoices sent through the public solution use UBL syntax.

Updated November 2026: We replaced the 2025 draft timeline with the final dates from Order HAC/1028/2026 and added the current VERI*FACTU status. The planned move of VERI*FACTU to October 2028 is still not law. For the full rules, see our Spain e-invoicing guide.

Spain has moved closer to modernizing its invoicing system with long-awaited mandatory B2B electronic invoicing. In March 2025, a final draft of the “Ley Crea y Crece Ordinance” was published on the Ministry of Economy, Commerce and Enterprise’s website, with a public consultation until April 7, 2025. Spain has since approved the final rules.

Spanish flag with red and yellow stripes and a coat of arms, waving in the sky.

The new law is part of a wider push to increase business transparency, reduce fraud and simplify tax compliance. Here’s what the 2025 final draft said, what the approved rules now confirm and what it means for businesses operating in Spain.
For a closer look, see E-Invoicing Spain: Everything You Need to Know.

When does B2B e-invoicing become mandatory in Spain?

B2B e-invoicing starts on 6 October 2027 for businesses with turnover above €8 million, and on 6 October 2028 for everyone else. The dates run from Order HAC/1028/2026, published in the Official State Gazette (BOE) on 5 October 2026 and in force from 6 October 2026 (Source).

  • 6 October 2027: businesses and professionals with turnover above €8 million must issue, send and receive e-invoices, and report invoice and payment status.
  • 6 October 2028: all other businesses and professionals must do the same. Companies with turnover up to €8 million also report invoice and payment status.
  • 6 October 2029: individuals and entities under the income attribution regime must report invoice and payment status.

These dates are confirmed by the Spanish Tax Agency (AEAT).

What was in the 2025 final draft?

The final draft made UBL syntax mandatory and set a staggered timeline for going live. Compared with the version sent to the European Commission in January 2024, it brought some notable updates. These mainly cover technical standards and implementation timelines:

  • Mandatory UBL syntax: All e-invoices sent via the public e-invoicing solution must use UBL (Universal Business Language) syntax. This also applies to invoice copies sent to the public platform when you use a private e-invoicing system.

  • Staggered implementation timeline:

    • Large companies (with annual turnover above €8 million) must comply one year after the Ministerial Order enters into force.

    • All other companies will have two years from that date to comply.

    • The order entered into force on 6 October 2026, so the dates are now 6 October 2027 and 6 October 2028.

Who will be affected?

Royal Decree 238/2026 ties the obligation to the customer. It applies when the customer is a business or professional with its seat, a permanent establishment or, failing that, its domicile or habitual residence in Spain (Source). This means:

  • E-invoicing is not mandatory when the customer is a business not established in Spain.

  • Non-resident suppliers with Spanish business customers should check their position. The decree does not deal with them expressly.

What are the invoicing software requirements? 

Spain will also require approved invoicing software under Royal Decree 1007/2023, widely known as the “Veri*factu Ordinance.” This runs alongside the e-invoicing rules. Related reading: Slovenia Amends Its B2B E-Invoicing Proposal.

At first, companies under this rule were expected to comply by July 1, 2025. The technical specifications (Ministerial Order HAC/1177/2024) were published late, and the deadline has moved several times since. The current dates are below.

What does Royal Decree 238/2026 confirm?

The Spanish Tax Agency (AEAT) announced the final rules on March 31, 2026. They keep the two-step timeline:

  • Turnover above €8 million in the previous calendar year: e-invoicing applies 12 months after the Ministerial Order enters into force.
  • All other businesses and professionals: e-invoicing applies 24 months after the Ministerial Order enters into force.

The AEAT will offer a free application for issuing e-invoices and reporting their payment status. The public e-invoicing solution must be available at least two months before the first obligations apply. The decree also sets requirements for private e-invoice exchange platforms.

What are the current Veri*factu deadlines?

Under Royal Decree-law 15/2025, invoicing software must meet the Veri*factu rules by January 1, 2027 for corporate income taxpayers. For all other taxpayers, the deadline is July 1, 2027. The Ministry of Finance's plan of 5 October 2026 would move these dates to October 2028, but it has not yet been approved (Source). The AEAT’s VERI*FACTU page, updated on 13 October 2026, still gives the 2027 dates (Source).

What’s next?

Both legal steps are now complete. Royal Decree 238/2026 was published on 31 March 2026, and Order HAC/1028/2026 on 5 October 2026. The AEAT public solution must be available at least two months before the first obligations apply on 6 October 2027.

This staggered rollout gives companies time to adapt, but you should start preparing now. Make sure your invoicing systems are UBL-compatible and meet Veri*factu standards. This will be key to avoiding disruption when the new rules take effect. We cover this in more detail in Poland to adopt mandatory B2B e-Invoicing in 2026.

How Taxually handles this

Taxually’s e-invoicing API sends structured invoices to each country’s clearance platform, such as Italy’s SDI, Poland’s KSeF and Peppol networks, covering 32 countries from one integration. The VAT returns those invoices feed into are filed through CrossTax on the same platform.

Related guides

Author
Jenny Longmuir
•
Copywriter
Jenny Longmuir is a content writer with experience in tax and fintech. At Taxually, she covers topics such as global tax compliance, digital reporting, and automation, helping businesses stay informed about the evolving regulatory landscape. Her work focuses on making complex financial and compliance information clear and accessible to a broad audience.
FAQ

Frequently asked questions

‍What is the Ley Crea y Crece Ordinance?

A Spanish law introducing mandatory B2B e-invoicing to enhance transparency and digital efficiency.

When will e-invoicing become mandatory?

‍From 6 October 2027 for companies with turnover above €8 million, and from 6 October 2028 for all others. The dates run from Order HAC/1028/2026, which entered into force on 6 October 2026.

Who must comply first?

‍Large businesses with turnover over €8 million must comply from 6 October 2027; smaller companies from 6 October 2028.

What format must invoices use?

‍E-invoices sent through the AEAT public solution must use UBL (Universal Business Language). Copies that private platforms send to the public solution also use UBL.

Does the rule apply to foreign companies?

‍It depends on the customer. The obligation applies when the customer is a business or professional established in Spain. Non-resident suppliers with Spanish business customers should check their position.

What is the Veri*factu Ordinance?

‍A related regulation requiring certified invoicing software. It currently applies from January 1, 2027 for corporate income taxpayers and July 1, 2027 for others. The Ministry of Finance plans to move it to October 2028, but this is not yet law.

What’s the goal of the reform?

‍To reduce fraud, improve compliance, and align Spain with EU digital tax standards.

Powering Global Compliance.
Discover a smarter way to manage tax across every market.

Simplify your global sales tax -
track, report and pay with ease!

Join 20,000+ businesses worldwide, from startups to global enterprises, to stay compliant, eliminate manual work, and scale with confidence across every market.
Book a 30-minutes demo
Trusted by the world's leading companies
Amazon logoShopify logoRazour group logoBBC logoebay logostripe logostripe logostripe logo
Amazon logoShopify logoRazour group logoBBC logoebay logostripe logostripe logostripe logo
Amazon logoShopify logoRazour group logoBBC logoebay logostripe logostripe logostripe logo

Suggested articles

Downtown Denver skyline at daybreak with the Rocky Mountains in the background
Taxually Editorial Team
8
min read
Brown cardboard parcels stacked on white metal warehouse shelving, ready for online orders
Taxually Editorial Team
8
min read
Person at a desk working on a laptop with paper invoices and documents beside it
Taxually Editorial Team
8
min read