
Mandatory E-Invoicing in Spain: Digital Transformation or Tax Trap?
1. Introduction: technological progress or hidden tax surveillance?
Electronic invoicing was originally intended to streamline business relationships and modernise tax administration. In Spain, it has become the focus of a legal and economic debate. Law 18/2022 on the Creation and Growth of Companies (“Crea y Crece”), in force since October 2022, establishes a general obligation for businesses and professionals to issue electronic invoices, with penalties for non-compliance and a direct link to Tax Agency systems.
What is presented as a step towards digitalisation may instead use technology to strengthen tax control without adequately addressing the costs, limitations and constitutional questions involved.
2. Current legal framework
- Law 18/2022 of 28 September, Article 12: requires electronic invoices to be issued, sent and received in all transactions between businesses and professionals.
- Draft Royal Decree: still awaiting final approval; it sets out technical matters and deadlines.
- General Tax Law (LGT), Article 29(2)(j): empowers the Tax Agency to require digital tools that allow real-time tax control.
- Invoicing Regulations (Royal Decree 1619/2012): require amendment to incorporate structured formats, signatures and interoperability requirements.
3. Expected implementation timetable
| Businesses affected | Expected start | Key details |
|---|---|---|
| Businesses with turnover above €8 million | End of 2025 (estimate) | 12 months from approval of the regulations |
| Other self-employed workers and SMEs | End of 2026 | 24 months from that approval |
| Business software providers | From the regulations’ entry into force | Must offer customers free access |
The regulatory process, under development since June 2023, has been delayed by a lack of technical development and objections from the private sector.
4. Technical requirements and key obligations
Required features:
- Structured XML UBL or Facturae format, not a simple PDF.
- Electronic signature using a qualified certificate.
- Interconnection between private platforms and the public platform (FACeB2B).
- Recipients must have free access to their invoices for at least four years.
- Automatic transmission of issued and received invoices to the AEAT.
Penalties:
- Fines of up to €10,000 for obstructing or failing to provide invoices to customers in electronic format (Article 283 LGT, proposed new paragraph 4).
- Possible exclusion from public contracts or loss of tax benefits if the deadline is missed.
5. Contested issues and criticism
A) Proportionality and ability-to-pay principle
- Many self-employed people lack technical knowledge, suitable digital tools or easy access to certified software.
- A formal obligation is imposed even on those with no employees or significant business turnover.
B) Confusion with VERI*FACTU and TicketBAI
- E-invoicing under Law 18/2022 is not the same as a tax-control system such as TicketBAI in the Basque Country or the AEAT’s VERI*FACTU, although they overlap.
- Nevertheless, the draft regulations allow for the immediate, real-time transmission of invoices, creating legal uncertainty.
C) Constitutional and jurisdictional issues
- Experts and the General Council of Economists have warned that automatic reporting could breach the tax-law reservation principle if it is required without a specific legal framework.
- In regional foral territories, questions arise about jurisdiction if taxpayers must use state platforms without coordination with their own tax authorities.
D) Privacy and competition risks
- Systematically sending electronic invoices to the AEAT creates a commercial profile of transactions without the parties’ consent and may affect business confidentiality.
- Large software platforms may monopolise access to e-invoicing despite the free-access requirement, displacing smaller or local solutions.
6. Relevant case law and guidance
Although there are no specific court decisions on mandatory e-invoicing yet, related principles may apply by analogy:
- Supreme Court judgment of 20 November 2019 (appeal 5495/2017): the AEAT cannot impose formal obligations that are not provided for by law, even if they are technically reasonable.
- TEAC decision 00/03220/2022 (22 September 2022): the Tax Agency cannot penalise businesses for not using electronic invoicing systems without a clear legal basis and applicable regulations.
- Spanish Data Protection Agency opinion (2023): mass transmission of invoice data to the Tax Agency may breach the GDPR data-minimisation principle if there is no clear and proportionate legal basis.
7. What should businesses and self-employed people do?
- Follow the regulatory process to learn the formats, technical requirements and exact dates.
- Acquire or adapt invoicing software, ensuring compatibility with structured formats and digital signatures.
- Train staff in the new processes, especially where in-house software is used.
- Plan for both obligations: e-invoicing under Law 18/2022 and real-time tax control under VERI*FACTU or TicketBAI.
- Assess the proportionality of penalties, particularly if appealing through the economic-administrative or judicial route.
8. Critical conclusion
Electronic invoicing is not itself a problem: it is a valuable, modern and useful tool. But the way it is imposed—with tax effects, rigid deadlines and severe penalties—may turn what should be assistance into a revenue-raising trap disguised as innovation.
Spain is moving towards immediate, widespread reporting of tax data without having resolved basic issues such as connectivity, the digital divide, data protection or structural inequality between taxpayers. Unless the obligation comes with training, funding and respect for constitutional principles, a technological measure could become another source of tax disputes and frustration.



I had a really urgent problem in the middle of the summer that I needed to get fixed. I tried contacting a bunch of agencies but they were either unavailable, slow, had terrible service or were crazy expensive (one company quoted me 1000€!). Josep replied to me within 10 minutes and managed to submit my forms on the deadline and all for a great price. He saved my life - 100% recommend!