Fiscalization in Spain

Spain requires invoicing and POS systems to record every transaction in an unalterable way and make it verifiable to the tax authority. This overview shows which requirements apply nationwide, which special rules exist in the Basque Country and what this means for POS, ERP and PMS vendors.

On this page

Overview of fiscalization in Spain

What is relevant in Spain

Spain regulates invoicing and POS systems through two parallel regimes: nationally, the framework of Ley 11/2021 (Anti-Fraud Law) applies, together with the Verifactu rules based on it (Real Decreto 1007/2023), which require software systems to ensure the integrity, retention, accessibility, legibility, traceability and immutability of records. In the Basque Country, TicketBAI has applied instead since 2022, while Navarre has separate rules.

Who is affected

All vendors whose software generates invoices or receipts in Spain are affected: POS system manufacturers and TPV software providers, ERP and PMS vendors, e-commerce platforms and system integrators. Real Decreto 1007/2023 explicitly addresses not only the companies using the systems but also their manufacturers, distributors and developers.

What businesses need to consider

For businesses and software vendors, the decisive question is which fiscal requirements apply at each place of use. National and regional rules may set different technical and organizational requirements for creating and processing invoice data.

Regulatory requirements for fiscalization in Spain

The specific requirements depend on the applicable tax territory and set of rules. In principle, invoice data in Spain must be generated in a structured way, stored traceably and made available to the competent tax administration. Differences lie mainly in signing, transmission, software registration and the responsible authorities.

2022

TicketBAI launches in Álava and Gipuzkoa

TicketBAI applies regionally in the Basque Country. The obligation was phased in from April 2022 in Álava and from July 2022 in Gipuzkoa.

2023

Legal framework for Verifactu established

Real Decreto 1007/2023 of December 5, 2023, sets out the requirements for invoicing systems.

2024

Technical specifications added and Bizkaia begins

Since October 2024, Order HAC/1177/2024 has specified the technical requirements for Verifactu. In parallel, the mandatory TicketBAI/Batuz rollout began in stages in Bizkaia in 2024.

2025

Deadline for software manufacturers and further TicketBAI phases

By July 2025, manufacturers and distributors had to offer Verifactu-compliant systems. In Bizkaia, further TicketBAI/Batuz groups were gradually included.

2026

B2B e-invoicing (Ley Crea y Crece)

Real Decreto 238/2026 of March 25, 2026, specifies the B2B e-invoicing obligation under the Ley Crea y Crece. With Orden HAC/1028/2026, published in the BOE on October 5, 2026, the implementation deadlines have been running since October 6, 2026.

2026

Voluntary test phase and completion of the TicketBAI rollout in Bizkaia

The AEAT test phase runs before the national obligation starts. In Bizkaia, TicketBAI/Batuz was extended to the final groups in 2026.

2027

Verifactu obligation (current law) and B2B e-invoicing

Under current law, Verifactu applies from January 2027 to companies subject to corporate income tax and from July 2027 to all other affected taxpayers (Real Decreto-ley 15/2025). From October 2027, B2B e-invoicing is mandatory for companies with more than EUR 8 million in turnover in the previous year.

2028

Announced: Verifactu and B2B e-invoicing for all

From October 2028, B2B e-invoicing will be mandatory for all remaining companies. On October 5, 2026, the Ministerio de Hacienda announced that it would postpone the Verifactu obligations to the same date. This only becomes legally binding once published in the BOE.

efsta Fiscal Middleware

Our solution for Spain

efsta connects Spanish POS, ERP & PMS vendors via a Fiscal Middleware without requiring changes to the architecture of the connected system. The same integration covers both the national Verifactu requirements and TicketBAI in the Basque Country.

Verifactu & TicketBAI via one integration

POS, ERP and PMS software sends invoice data to the efsta Fiscal Middleware via a standardized interface. The middleware then creates the legally required invoice record – for Verifactu with hash chaining and automatic transmission to the AEAT, for TicketBAI as a digitally signed XML file transmitted to the competent provincial tax authority. In both cases, a QR code and timestamp are provided. The architecture of the connected system remains unchanged.

Certificate integration & proof of conformity

efsta supports the integration of qualified certificates for Verifactu (personal, representative or company seal certificate) as well as device certificates via IZENPE for TicketBAI. efsta provides a Declaration of Conformity as the basis for the software vendor’s declaración responsable under Real Decreto 1007/2023.

E-invoicing-ready

The Fiscal Middleware is prepared for the B2B e-invoicing obligation under Real Decreto 238/2026 (Ley Crea y Crece). Since Orden HAC/1028/2026 was published on October 5, 2026, the deadlines have been running: from October 2027 for companies with more than EUR 8 million in turnover and from October 2028 for all others. POS, ERP and PMS vendors can cover the B2B e-invoicing obligation through the same integration – with no additional integration effort.

Technical implementation details

In efstaDocs, development teams find everything they need for integration in Spain: a quick-start guide, a description of the fiscal requirements, receipt layout specifications including the QR code under Order HAC/1177/2024, an interface reference and export and audit functions. The most common technical questions about integration are also documented.

inherit
Lighthouse on Amrum, a German island in the North Sea

Compliance checklist for Spain

  • Create unalterable, chained invoice records
  • Print a QR code on every invoice
  • Choose the operating mode with or without AEAT transmission
  • Log system events and number sequences
  • Display the declaración responsable visibly
  • Archive records and keep them exportable
  • Check regional rules for the Basque Country and Navarre
  • Meet the 2027 deadlines

We love compliance.
So you don’t have to.

Whether fiscalization or E-Invoicing, our team of experts provides personal guidance, from the initial assessment to the completed integration.

Compass on a piece of paper, in black and white
Contact details
Inquiry
Privacy
Thank you! Your message has been sent.
Something went wrong while submitting the form.

Compliance updates in Spain

Regulatory requirements keep evolving. The efsta blog provides analysis, updates and further content on Spain and related compliance topics.

19.08.2025
•
2
min read

Spain: efsta is compatible with Simphony for TicketBAI and Verifactu via the Oracle API

efsta connects Oracle Simphony to TicketBAI and Verifactu via the Oracle API: compliant in all Spanish regions, managed centrally, scalable across Europe.

FAQs on fiscalization in Spain

What does fiscalization mean in Spain?

Spain requires invoicing and POS systems to record every transaction in an unalterable way, chain the records cryptographically and make them traceable for the tax authority. The legal basis is Ley 11/2021 and Real Decreto 1007/2023, which regulates the requirements for invoicing systems in detail.

What is the Ley Antifraude?

The Ley Antifraude (Ley 11/2021) is a Spanish law to combat tax evasion. It requires invoicing and POS systems to record sales completely and unalterably and prohibits software that allows sales to be deleted or manipulated afterwards. The manufacturer confirms the systems’ conformity in a declaración responsable – there is no official certification.

When do the requirements become mandatory in Spain?

The fiscalization requirements apply to companies subject to corporate income tax from January 1, 2027, and to all other taxpayers from July 1, 2027. These dates were set in Real Decreto-ley 15/2025 of December 2, 2025, which postponed the previous deadlines by one year. On October 5, 2026, the Ministerio de Hacienda announced a further postponement to October 2028. It only becomes legally binding once published in the BOE. Until then, the 2027 deadlines apply. A voluntary test phase is available before the obligation starts.

Who is affected by fiscalization in Spain?

All companies and self-employed persons in Spain that issue invoices using a software system – and, under Real Decreto 1007/2023, also the manufacturers, distributors and developers of these systems. Exceptions include companies reporting via the SII and businesses in the foral territories with separate rules.

Is there a certification by the Spanish tax authority (AEAT)?

No. The AEAT does not certify software and does not maintain a list of approved programs. Instead of official approval, Real Decreto 1007/2023 requires a declaración responsable from the manufacturer. This written self-declaration confirms the software’s conformity and must be visibly included in the system and in every subsequent version. It can be requested during an audit.

What penalties apply in Spain?

Under Art. 201 bis of the Ley General Tributaria, introduced by Ley 11/2021, users of non-compliant systems face fines of up to EUR 50,000 per year. Manufacturers and distributors of such systems can be fined up to EUR 150,000 per tax year and per program.

What applies to fiscalization in the Basque Country?

In Álava, Bizkaia and Gipuzkoa, TicketBAI applies instead of the national rules. Navarre has a separate system. In the Canary Islands, the Balearic Islands, Ceuta and Melilla, however, the national Verifactu requirements apply.