On 1 July 2025, the Ley Antifraude (Anti-Fraud Law) finally came into force. This regulation, first proposed in 2021, requires all businesses and professionals to use automated invoicing systems that report their transactions to Hacienda (the Spanish tax authorities) immediately.
The application of this law is part of a common European Union initiative to strengthen tax control and prevent fraud. In Spain, the central government began applying it this month. In the Basque Country, however, companies had already been required to comply with the TICKETBAI system since 2024.
Failing to comply with the regulation can lead to significant penalties. Later on we will share a summary of the main fines provided for.
There are currently two ways to issue invoices validly and send them directly to the Agencia Tributaria (Spanish Tax Agency): through the AEAT's official application or through the company's own software. In the latter case, the system must meet the technical requirements set by Hacienda in order to be considered legal.
In this article, we will analyze the key points of the regulation and the features each system must have in order to comply with the law.
Main elements of the regulation
Under the Anti-Fraud Law, an invoice issuing system has been implemented so that invoices are sent directly and immediately to Hacienda.
👀 Read the Original Text of Law 11/2021
Below, we have highlighted some central points of the law, as well as its advantages:
1. More transparency: the Anti-Fraud Law seeks to increase transparency in financial and tax transactions, which can help reduce tax evasion and improve trust in the system.
2. Consumer protection: it stresses the importance of protecting consumers from fraudulent practices, which can lead to a fairer and more equal business environment.
3. Tougher penalties: stricter penalties for those who commit fraud can act as an effective deterrent.
4. Better inter-institutional collaboration: the law can encourage better collaboration between different government bodies and private entities to detect and prevent fraud.
6. Economic impact: it is argued that the law can have a positive impact on the economy by reducing fraud, which in turn can increase tax revenue and improve public services.
6. Social awareness: finally, it highlights the importance of raising awareness in society about fraud and its consequences, promoting a culture of integrity and responsibility.
Requirements for companies – How to comply with the Anti-Fraud Law?
The basic requirements for complying with the Anti-Fraud Law are that companies simultaneously generate an invoicing record for each invoice issued.
In addition, invoices must be chained together to guarantee the validity of the data.
Lastly, all records must be sent continuously, automatically and consecutively to the government's tax administration.
What about SMEs and the self-employed?
Basically, what self-employed workers have to do is the same as companies. Specifically, among the practical steps they must follow, we have highlighted four points:
- Review your current software: if they already use an invoicing system, they must check with the provider whether it complies with the new regulation.
- Update the software if necessary: if the software has not been adapted, it will be mandatory to switch to one that has.
- Training: getting familiar with the new features of the adapted software and with the formats required by Hacienda.
- Ensure records are retained: check that data is properly stored and accessible for audits.
Now, there are two ways to register invoices correctly so that they are sent directly to Hacienda: either through the AEAT's own application (aimed at companies that issue invoices occasionally, a few times a year) or through companies' own software, provided it complies with the regulation.
Invoicing programs certified by the AEAT – Features
The Tax Agency sets out criteria that all software must meet in order to comply with the law: accessibility, inalterability of records, retention…
Below we have highlighted the features each program must have in order to be used and recognized by the government.
- Full name of the file holder
- Tax Identification Number
- Total amount plus VAT
- Company name
- Indication of the invoice type, whether full or simplified
- Company name
- Invoice date and serial number
Source: Freepik | rawpixel.com
Penalties for breaching the Anti-Fraud Law
In conclusion, having explained the reasons behind the Anti-Fraud Law and the requirements that the various automated platforms must meet to comply with the regulation, we consider it important to focus on what would happen if it is not complied with.
Specifically, from 1 July 2025, any company, including the self-employed, that fails to send financial information to Hacienda will face financial penalties and fines.
1. Fines: significant fines are imposed on individuals or companies that commit fraud. The law establishes penalties of up to 50,000 euros for those who use invoicing programs that do not meet the requirements or that allow data to be altered. Similar penalties also apply to the sale or distribution of software that has not been adapted.
2. Administrative sanctions: these may include the suspension or revocation of business licenses, permits or certifications, which prevents the entity from operating legally.
3. Criminal liability: in serious cases, fraud may be considered a criminal offense, which can lead to prison sentences for those responsible.
4. Return of funds: offenders may be required to return money obtained fraudulently, in addition to paying interest or compensation.
5. Disqualification: people convicted of fraud may be disqualified from holding certain public offices or carrying out business activities for a set period.
6. Register of offenses: penalties may include being entered in offender registers, which can affect reputation and the ability to do business in the future.
These conclusions may vary depending on the focus of the article, but they generally reflect the expected goals and effects of an anti-fraud law. If you have a specific article in mind, I could offer you a more detailed analysis.
Source: Freepik | wiresrock
Conclusions
The entry into force of the Anti-Fraud Law on 1 July 2025 marks a milestone in the modernization of the Spanish tax system. This regulation requires all companies and self-employed workers to use automated invoicing systems that send invoices to Hacienda in real time, guaranteeing transparency and the integrity of tax data.
To comply with the law, there are two options: use the AEAT's official application or implement your own certified software that meets the technical requirements set. It is essential that companies review and update their invoicing systems to avoid penalties, which can be significant.
Moreover, digitalizing invoicing is not only a legal obligation, but also an opportunity to improve operational efficiency and strengthen competitiveness in an increasingly digital business environment.
In short, adapting to the Anti-Fraud Law is a step toward more transparent and efficient tax management. Companies must act diligently to meet the new requirements and take advantage of the benefits that digital transformation offers.
🛎️ You may also be interested in: Automated HR system for company management