Skip to main content
Spain e-invoicing · checked on 25 November 2026

Spain e-invoicing: which system applies to you, and from when

Spain has five separate invoicing obligations. VeriFactu and TicketBAI regulate the software you invoice with; the SII sends the VAT books to the Spanish Tax Agency (AEAT) within four days; FACe receives invoices addressed to central government; and the Crea y Crece law makes business-to-business e-invoicing mandatory from October 2027 for companies above €8 million of turnover and from October 2028 for everyone else. VeriFactu is mandatory from October 2028 for everyone: Real Decreto-ley 43/2026 (BOE of 25 November 2026) postponed it to match the last deadline for mandatory e-invoicing.

FlexigoTech · Editor in charge: Víctor Gómez · Updated 25 November 2026

Key facts

Module
VeriFactu
Versions
Odoo 17, 18, 19 and 20
Checked
in the module's source code, version 17.0, 18.0, 19.0 and 20.0 · against the sources linked at the end
Reading time
8 min

Which system applies to you

Two things decide it: where your company is resident for tax purposes, and who you invoice.

Your situationWhat appliesFromRule
Corporate income taxpayer in the common territory, not in the SIIVeriFactusoftware adapted from October 2028Royal Decree 1007/2023
Sole trader or other taxpayer in the common territory, not in the SIIVeriFactufrom October 2028Royal Decree 1007/2023
Taxed in Álava, Bizkaia or Gipuzkoa (Basque Country)TicketBAI (in Bizkaia, as part of Batuz)already mandatory; the last phase started on 1 January 2026 in BizkaiaBatuz, Gipuzkoa, Álava
Monthly VAT returns (for example, over €6,010,121.04 of turnover)SIIsince 2017VAT Regulation, Art. 62.6
Company invoicing a public bodyFacturae through that body's entry point (FACe for central government)since 15 January 2015Law 25/2013, Art. 4
Invoices to businesses and professionals established in SpainB2B e-invoicing under the Crea y Crece lawOctober 2027 above €8 million; October 2028 for the restRoyal Decree 238/2026

VeriFactu does not apply to companies that keep their VAT books through the SII (Art. 3.3 of Royal Decree 1007/2023) or whose tax domicile is in the Basque Country or Navarre (Art. 1.3).

If your company is not Spanish

A non-resident company falls under VeriFactu only with a permanent establishment in Spain, and under TicketBAI only when taxed under Basque rules. The B2B obligation covers invoices to a business or professional with its seat, a permanent establishment or its domicile in Spain (Art. 3 of Royal Decree 238/2026).

VeriFactu: mandatory from October 2028

VeriFactu is the common name of the regulation on invoicing software, Royal Decree 1007/2023. It covers companies, self-employed people with an economic activity, non-residents with a permanent establishment and entities under the attribution regime, whenever they invoice with software. Real Decreto-ley 43/2026 (BOE of 25 November 2026) postponed it to match the last deadline for mandatory e-invoicing: from October 2028 it is mandatory for everyone, companies and the self-employed, on the same date. Until then, adapting is voluntary.

The Ministry of Finance had announced it on 5 October 2026: postponing the pending obligations to October 2028, to match B2B e-invoicing for companies up to €8 million. There is no longer one date for corporate income taxpayers and another for everyone else. What to do in Odoo meanwhile: VeriFactu deadlines.

Each invoice creates a billing record chained to the previous one by its hash (how it is computed), in one of two modes:

  • VERI*FACTU: the software sends each record to the AEAT, identifying itself with your digital certificate, with a first wait of 60 seconds between submissions (the AEAT adjusts it) and up to 1,000 records per submission. Once chosen, the mode stays until 31 December.
  • NO VERI*FACTU: the records stay in your software, with an XAdES signature from a qualified certificate and an event log.

The invoice carries a QR code between 30x30 and 40x40 millimetres with the issuer's tax ID, series and number, date and total, which anyone can check on the AEAT website; in VERI*FACTU mode it also carries the phrase «VERI*FACTU» or «Factura verificable en la sede electrónica de la AEAT». If the AEAT cannot be reached, the software sends the pending records in order as soon as it can, flags the incident, retries at least every hour and shows how many are pending (Art. 16.4 of Order HAC/1177/2024). The AEAT also offers a free invoicing application for small businesses (full invoices only).

Penalties are in Art. 201 bis of the General Tax Law: €50,000 per financial year for having uncertified or altered software, and €150,000 per year and type of software for whoever makes or sells it. Estimate yours with the VeriFactu penalty calculator.

The AEAT errors you will see most

The AEAT's list has 247 codes: some reject the whole submission, some the invoice, and some accept the record but require a correction.

CodeWhat the AEAT saysResultGuide
4102The XML does not match the schemasubmission rejectedhow to fix it
4112The certificate holder cannot submit for that companysubmission rejectedhow to fix it
4134Service not activesubmission rejectedhow to fix it
3000Duplicate billing recordinvoice rejectedhow to fix it
1150Simplified invoice above €3,000invoice rejectedhow to fix it
2000The hash is wrongaccepted, to be correctedhow to fix it
2001The recipient's tax ID is not in the AEAT censusaccepted, to be correctedhow to fix it

TicketBAI and Batuz in the Basque Country

The three Basque tax authorities require TicketBAI from anyone taxed with them: each invoice produces a file for the tax authority and carries a QR code the customer can check. It has applied in all three territories since Bizkaia completed its rollout on 1 January 2026.

SII, the VAT books within four days

The Immediate Supply of Information (Suministro Inmediato de Información) applies to monthly VAT filers. Records of issued and received invoices reach the AEAT within 4 calendar days, not counting Saturdays, Sundays and national holidays, and SII filers no longer submit forms 347 and 390.

FACe and Facturae: invoicing public bodies

Since 15 January 2015, public limited and limited companies, among others, must invoice public bodies with a signed Facturae file through the body's general entry point; FACe is central government's. The invoice carries the recipient's three DIR3 codes, and each administration may exempt invoices up to €5,000.

B2B e-invoicing under Royal Decree 238/2026

Royal Decree 238/2026 is the regulation behind the B2B e-invoicing of Law 18/2022, and Order HAC/1028/2026, in force since 6 October 2026, started the clock: 12 months later for companies with more than €8 million of turnover in the previous year and 24 months later for everyone else. By our count, that is October 2027 and October 2028. The invoice is a structured EN16931 message (UBL, CII, EDIFACT or Facturae) sent through a private platform or the AEAT's free public solution; the customer reports acceptance or rejection and full payment to the supplier within 4 calendar days.

In Odoo: what each module does

Odoo Community ships l10n_es_edi_verifactu, l10n_es_edi_tbai, l10n_es_edi_sii and l10n_es_edi_facturae in versions 17, 18, 19 and 20. Ours:

VeriFactu for Odoo (flexigo_spain_verifactu, Odoo 17 to 20). When you post an invoice it creates the chained record and prints a 30 mm QR on the PDF with «VERI*FACTU», the record number and the hash. It sends the record to the AEAT with your certificate from a queue that runs every minute, honours the AEAT's wait and groups up to 1,000 records. It explains all 247 AEAT errors, checks the chain every night and migrates your history from Holded, Sage 50 and 200, A3, Contasol, FacturaPlus and Quipu.

What it does not do: TicketBAI, the SII, FACe or B2B; for a company in the SII or under Basque or Navarre rules it creates no records. If the AEAT fails, it retries after 2 minutes, 10 minutes, 30 minutes, 2 hours and 12 hours; after the sixth failure it stops, alerts you and waits for a manager to restart it, and it does not fill the incident field. Its NO VERI*FACTU mode signs with XMLDSig, not XAdES: use it in VERI*FACTU mode.

It costs €9 per Odoo version plus FlexigoTech Cloud from €29 a month or €290 a year, VAT excluded (Pro: €58 or €580), with a 14-day free trial. The subscription checks the regulation's sources every day, warns you when they change and watches your submission queue. It runs on Odoo.sh or your own server, not on Odoo Online. A turnkey installation is a €400 service.

Free on Odoo Apps, the Spain Verifactu Readiness Check (flexigo_verifactu_check) audits your invoices without changing them: how many have no VeriFactu software, which customer tax IDs the AEAT would reject and how many days are left. With Zoho Books, the Zoho Books Odoo Connector (flexigobe_zoho_verifactu_connector) brings its invoices into Odoo's accounting without registering them again in VERI*FACTU, since Zoho Books already does: €9 per version plus FlexigoTech Cloud from €49 a month or €490 a year, VAT excluded.

For TicketBAI, the SII, FACe and B2B, the B2Brouter Odoo Connector (b2brouter_connector) hands each invoice to B2Brouter, which handles the system that applies and sends or receives it over Peppol, email or its own network. It refuses VeriFactu when another VeriFactu system already issues for the company or the company is in the SII, and holds back any FACe invoice without the three DIR3 codes. It costs €9 per version plus FlexigoTech Cloud from €49 a month or €490 a year, VAT excluded, plus your B2Brouter plan (Premium for TicketBAI): B2Brouter pricing.

VeriFactu chain state in Odoo with the integrity check passed and the last hash
A VeriFactu chain in Odoo with its integrity checked (demo data).
VeriFactu submission queue to the AEAT in Odoo grouped by status
The submission queue to the AEAT by status, down to those stopped after the last attempt (demo data).

Frequently asked questions

Has VeriFactu been postponed to 2028?

Yes. Real Decreto-ley 43/2026 (BOE of 25 November 2026) postponed it: VeriFactu is mandatory from October 2028, for companies and the self-employed, to match the last deadline for mandatory e-invoicing.

Is e-invoicing mandatory in Spain in 2026?

For invoices to public bodies, yes, since 2015. Between businesses, not yet: it starts in October 2027 above €8 million and in October 2028 for the rest.

Legal basis and date checked

Checked on 24 November 2026 in the BOE and on the websites of the AEAT, the Ministry of Finance and the Basque tax authorities: Royal Decree 1007/2023, Order HAC/1177/2024, General Tax Law, Royal Decree 238/2026 and Order HAC/1028/2026. The other sources are at the bottom of the page.

Keep reading

VeriFactu: mandatory from October 2028 and what to do in Odoo meanwhileVeriFactu is mandatory from October 2028 for everyone: what changed with Real Decreto-ley 43/2026 and what to prepare in Odoo now.VeriFactu errors in Odoo: how to read what the AEAT says and what your own system stops firstHow to read VeriFactu errors in Odoo 17, 18, 19 and 20: submission states, AEAT codes, certificate, NIF and record chain, and what to do in each case.VeriFactu: myths and facts for companies that invoice with OdooCommon beliefs about VeriFactu checked against the AEAT and the system itself: fingerprint, accepted errors, cancellations, migrations, deadlines and Odoo's module.B2Brouter pricing: what each plan costs and what you need for OdooB2Brouter pricing on 13-11-2026: web plans Basic (free), Professional (110 EUR) and Business (300 EUR a year plus VAT), and eDocExchange for Odoo.
Checked in the module's source code (version 17.0, 18.0, 19.0 and 20.0) and the linked sources

Sources