Spain · Enacted legislation
Spain sets October 2027 start for large-business B2B e-invoicing
On 5 October 2026, Spain published Order HAC/1028/2026, setting technical rules for its public B2B e-invoicing system and starting the phased compliance timetable. Businesses above €8 million enter the first mandatory stage in October 2027.
- Official document:
- Order HAC/1028/2026 of 2 October, implementing Royal Decree 238/2026
- Development date:
- 2026-10-05
The legal framework
The order implements Royal Decree 238/2026 under article 2 bis and additional provision 21 of Law 56/2007, on measures to promote the information society. The decree also amended the invoicing regulation approved by Royal Decree 1619/2012, including new article 8 bis on mandatory electronic invoices. This is an enacted implementation measure, rather than a fresh proposal for the regime.[1][2][3]
Two commencement stages
The order took effect on 6 October 2026. Royal Decree 238/2026 defers compulsory application until 12 months after that date for businesses and professionals whose previous calendar-year volume of operations exceeded €8 million, and 24 months for others. Those stages therefore begin on 6 October 2027 and 6 October 2028 respectively. The turnover test follows article 121 of Spain’s VAT Law 37/1992.[1][2]
Spanish business transactions
The underlying obligation concerns invoices to businesses or professionals with a Spanish business seat, permanent establishment or, failing those, residence, where the transaction is directed to that location. Simplified invoices are generally excluded, except qualifying simplified invoices under article 7(2) of the invoicing regulation. Sector exceptions also cover specified energy-market operators and IATA settlement transactions. MNE groups therefore need to assess the Spanish recipient and transaction, rather than assume that every cross-border invoice falls within scope.[2]
Structured invoices and repository copies
The public solution uses UBL structured invoices compliant with the European semantic standard. Businesses using private platforms must simultaneously send a faithful UBL copy to the tax agency’s public repository. Submission is validated, with accepted or rejected responses and an identifying receipt code. The order also sets invoice identification and electronic authentication requirements.[1][3]
Payment reporting matters
Recipients must report rejection or full payment electronically, including the effective payment date and payment deadline. The system is therefore relevant to accounts payable and payment records as well as invoice generation. Groups should map those events to their invoicing workflows. The public solution must be available at least two months before the first compulsory stage; the order does not establish that it is already operational.[1][3]
A transitional readable copy
For the first 12 months after larger businesses enter the regime, their electronic invoices must also be accompanied by a readable PDF unless the recipient expressly accepts the original format. That PDF goes to the recipient, rather than the public repository. This transitional copy does not replace the required structured invoice.[2]
Official sources
- [1] Order HAC/1028/2026 of 2 October regulating the public electronic-invoicing solution
Spain Ministry of Finance / BOE · Document date: 2026-10-02
BOE No.247, pages129349–129390; preamble; articles3–8 and11; additional provision2; final provision. Articles and introductory overview read in full; technical annexes inspected for structure, rather than full field-by-field implementation review.
- [2] Royal Decree238/2026 developing mandatory B2B electronic invoicing and amending Royal Decree1619/2012
Spain Government / BOE · Document date: 2026-03-25
Articles3–4 (scope and exceptions), transitional provision2 (first-year PDF), final provision1 (amendments to articles8,8bis,9,10 of invoicing regulation), final provision4 (12/24month stages and €8m prior-calendar threshold). Contents and all business-rule provisions reviewed; article121 VAT-law turnover computation referred to by decree but underlying article121 not independently opened.; additional provision2 sector exclusions
- [3] Law56/2007 on measures to promote the information society, consolidated text
Spain Parliament / BOE · Document date: 2007-12-28
Current consolidated text, last update21December2024; article2bis and additional provision21, especially21(1)public repository,21(2)simultaneous faithful copies and21(3)payment/rejection reporting. These provisions read in full; current consolidated text distinguished from original2007 wording.