E-Invoicing in Spain
What standard applies?
Spain has two main e-invoicing frameworks: the Facturae 3.2.2 standard and the invoicing record systems. VeriFactu stems from Law 11/2021 (anti-fraud) and Royal Decree 1007/2023; in the Basque Country, TicketBAI is governed by the foral regulations of each territory. The Ley Crea y Crece (Law 18/2022) drives B2B e-invoicing. For business-to-government (B2G) transactions, the mandatory format is Facturae XML with an advanced XAdES-EPES electronic signature, used through the public administration's FACe portal. For business-to-business (B2B) transactions, businesses will have to issue and receive structured e-invoices (formats such as UBL, Facturae, or Factur-X), on the timeline set out below. Separately, VeriFactu requires invoicing systems to record and, depending on the mode, report each invoice to the Spanish Tax Agency (AEAT).
Who is affected and when?
The B2G e-invoicing obligation has been in force since 2015 under Law 25/2013, which requires certain suppliers to public administrations, including public limited companies and limited liability companies, to issue electronic invoices. Each administration may exclude invoices of up to €5,000 from that obligation (details in Facturae B2G). The Crea y Crece Law (Law 18/2022) adds a new B2B obligation: businesses and professionals will have to issue and receive electronic invoices in their commercial dealings, on a phased timeline that Order HAC/1028/2026 has made concrete (see the block below). VeriFactu, run by the AEAT, provides invoice traceability.
B2B e-invoicing. Order HAC/1028/2026 of 2 October, published in the BOE on 5 October 2026, regulates the AEAT's public e-invoicing solution and starts the clock: the obligation arrives in October 2027 for businesses with turnover above €8 million and in October 2028 for everyone else.
VeriFactu timeline (updated 21 October 2026). The rule in force, Royal Decree-law 15/2025 of 2 December, sets the adaptation deadline before 1 January 2027 for Corporate Income Tax payers and before 1 July 2027 for everyone else (consolidated text of RD 1007/2023 in the BOE). On 5 October 2026 Spain's Ministry of Finance announced it will postpone the obligation to October 2028, to align it with mandatory B2B e-invoicing (Ministry of Finance press note). As of 21 October 2026, that postponement has not been published in the BOE (Spain's official gazette).
How Frihet helps
Frihet generates Facturae 3.2.2 invoices with an XAdES-EPES signature, which you download to file at FACe: from the app, Frihet does not send invoices to FACe (Facturae B2G). It also generates structured UBL (EN 16931) invoices and the VeriFactu record for each invoice, which it can submit to the AEAT with the digital certificate you configure in Finance → Taxes → Compliance (VeriFactu). VeriFactu also applies to taxpayers with their tax domicile in the Canary Islands: the AEAT includes them in the scope of RD 1007/2023 and reads references to VAT as references to IGIC (AEAT FAQ). With the Canary Islands fiscal zone, submitting the records to the AEAT is not available in Frihet.
Frihet does not submit invoices to the Foral Tax Authorities through TicketBAI (TicketBAI in the Basque Country).
None of this is the same as covering the B2B e-invoicing obligation described above. See invoicing in Frihet
Format details
The Facturae 3.2.2 format requires an XML file signed with an enveloped XAdES-EPES electronic signature. For acceptance at FACe, three administrative codes are mandatory: managing body, processing unit, and accounting office. Applicable VAT rates are 21% (general), 10% (reduced) and 4% (super-reduced). VeriFactu introduces a record chain linked by a cryptographic hash, which lets the AEAT verify the integrity and chronology of all issued invoices.
Government portal
- FACe (B2G): https://face.gob.es
- AEAT VeriFactu: https://www.agenciatributaria.es
- TicketBAI (Basque Country): https://www.ticketbai.eus
Official references
- Facturae: https://www.facturae.gob.es
- FACe: https://face.gob.es
- Crea y Crece Law (BOE-A-2022-14680): https://www.boe.es/buscar/act.php?id=BOE-A-2022-14680
- VeriFactu (AEAT): https://sede.agenciatributaria.gob.es/Sede/iva/sistemas-informaticos-facturacion-verifactu.html