Mandatory e-invoicing in Spain: the 2027-2029 timeline, 4-day payment reporting and how to prepare
Mandatory e-invoicing in Spain for business-to-business (B2B) sales is being phased in: from October 6, 2027 for businesses with more than €8 million in annual turnover, from October 6, 2028 for all other companies and self-employed professionals, and from October 6, 2029 for self-employed individuals (autónomos) to report invoice and payment status. Whoever receives an invoice will have to report whether they accept or reject it and when they pay it, within 4 days, not counting Saturdays, Sundays or national holidays.
The rules come from Royal Decree 238/2026 of March 25 (Spain’s Official Gazette, BOE, March 31, 2026), which implements the “Crea y Crece” Act (Law 18/2022). The clock started on October 6, 2026, when Order HAC/1028/2026 took effect. If you run a company or work as a freelancer in Spain, here is what changes, which dates apply to you and what to check now, with the official reference for each point.
When does e-invoicing become mandatory in Spain?
Some coverage sums up the timeline as “2027 for large companies and a year later for everyone else.” That is not accurate. According to the Spanish Tax Agency (AEAT), the deadlines run from October 6, 2026, and work out as follows:
|
Who |
From |
What they must do |
|---|---|---|
|
Companies and professionals with turnover above €8 million in the previous year |
October 6, 2027 |
Issue, send and receive e-invoices, and report invoice status and payments |
|
All other companies and professionals (including companies up to €8 million) |
October 6, 2028 |
Issue, send and receive e-invoices. Companies also report status and payments |
|
Self-employed individuals (autónomos) and income-attribution entities |
October 6, 2029 |
Report invoice status and payments (they already issue e-invoices from 2028) |
Businesses above €8 million get a transition period: for their first 12 months, each e-invoice must come with a readable PDF version, unless the customer expressly accepts the electronic format alone (second transitional provision of Royal Decree 238/2026).
Which invoice statuses must be reported, and how fast?
This is the real novelty. Issuing the invoice is no longer enough: the recipient must tell the issuer what happens to it (Article 10 of Royal Decree 238/2026).
-
Mandatory: commercial acceptance or rejection, with its date, and full effective payment, with the actual payment date.
-
Optional: partial acceptance or rejection, partial payments (amount and date) and assignment of the invoice to a third party, for example in factoring.
The deadline is 4 days. The decree calls them “calendar days” but excludes Saturdays, Sundays and national holidays, counting from the moment the status occurs (Articles 10.3 and 12.3). It does not say whether the payment day itself counts, so it is safer not to cut it close.
Example: you pay an invoice on Thursday, October 7, 2027. Counting from the next day: Friday 8 (day 1), Monday 11 (day 2), Tuesday 12 is Spain’s National Day and does not count, Wednesday 13 (day 3) and Thursday 14 (day 4). Your window closes on Thursday, October 14.
Watch out for silence: if you do not reject an invoice and no corrective invoice is issued, it is presumed accepted (Article 12.1). That data feeds the calculation of payment terms under Spain’s late-payment law, and the Tax Agency will send yearly information on breaches to the State Observatory on Private Late Payment (Article 14.2).
The Tax Agency’s public e-invoicing solution and private platforms
The system has two channels, which can be combined (Article 5):
-
The public e-invoicing solution run by the Tax Agency: free, used to issue and receive invoices, and also a repository (Article 11). It uses the UBL format.
-
Private exchange platforms: they can use UBL, CII, EDIFACT or Facturae, all under the European standard EN 16931 (Article 7). When they issue an invoice, they must send a true copy in UBL to the public solution at the same time.
Unless you have agreed otherwise with your supplier, you are deemed to receive invoices through the public solution (Article 6.1). And if a customer asks to connect your platform to theirs, the connection must be working within one month (Article 9.3).
Which invoices are excluded
-
Simplified invoices (receipts), except qualified ones (Article 4.1).
-
Sales to consumers: the obligation is B2B only, and only when the customer is a business or professional established in Spain (Article 3.1).
It is not the same as Verifactu
The two are often confused. Verifactu (Royal Decree 1007/2023) requires your invoicing software to create records that cannot be altered and, in its Verifactu mode, to send them to the Tax Agency. After Royal Decree-law 15/2025, it applies from January 1, 2027 to corporate income taxpayers and from July 1, 2027 to everyone else, including the self-employed (AEAT). They are two separate obligations on separate timelines: a freelancer in Spain will need Verifactu in 2027 and B2B e-invoicing in 2028.
Five keys to avoid mistakes
Consultancies already helping large companies adapt, as reported by Diario Jurídico, agree on five points. Here they are, tied to the actual rules:
1. Decide who accepts and who rejects invoices
Because silence counts as acceptance, someone has to review every invoice you receive: incomplete deliveries, prices that do not match the order, services not provided. If nobody rejects it in time, it counts as accepted.
2. Report the payment only when the money has actually arrived
What you report is the date of effective payment. A transfer returned by the bank, or a payment through reverse factoring (confirming), can make an invoice look paid in your system before the supplier has been paid. Reconcile your bank before reporting the status.
3. Get purchasing, accounting and treasury on the same page
With a 4-day window, an invoice cannot sit in the inbox of someone on vacation. Decide who reports each status and who covers for them.
4. Check that your software talks to the system
Ask your software provider whether it will issue and receive in an accepted format, whether it will send the true copy to the public solution and how it will handle rejections for validation errors. If you use the public solution directly, you will need a digital certificate to log in.
5. Be ready to run several channels at once
During the phased rollout, some of your suppliers will be ready and others will not. Test with real invoices, from receipt to confirmed payment, before the obligation reaches you.
Checklist
-
Check your turnover for the previous year to see whether 2027 or 2028 applies to you.
-
If you are self-employed in Spain, note two dates: Verifactu on July 1, 2027, and B2B e-invoicing on October 6, 2028.
-
Pick a channel: the free public solution, a private platform or both.
-
Review formats, the true copy and status reporting with your software provider.
-
Assign people to accept, reject and report payments within the 4 days.
-
Test the full cycle with a few customers and suppliers before your date.
Frequently asked questions
When does e-invoicing become mandatory in Spain?
On October 6, 2027, for companies and professionals with more than €8 million in turnover, and on October 6, 2028, for everyone else. Self-employed individuals must also report invoice status and payments from October 6, 2029.
Is e-invoicing mandatory for freelancers in Spain?
Yes. From October 6, 2028, they must issue and receive their B2B invoices electronically. Reporting status and payments is voluntary for them until October 6, 2029 (third transitional provision of Royal Decree 238/2026).
What happens if I do not report a payment within 4 days?
Royal Decree 238/2026 does not set penalties of its own. But payment data is used to monitor payment terms under Spain’s late-payment law, and the Tax Agency will pass breaches on to the State Observatory on Private Late Payment.
Does the Tax Agency’s public solution cost anything?
No. Access and use are free (Article 11.10 of Royal Decree 238/2026).
Does it apply to invoices to consumers?
No. Only to transactions between businesses and professionals where the recipient is established in Spain. Non-qualified simplified invoices are excluded too.
Official sources
If you run a business in Spain and want to know which dates apply to you based on your legal form and turnover, get in touch and we will review it with you.
