Which system applies to you
Two things decide it: where your company is resident for tax purposes, and who you invoice.
| Your situation | What applies | From | Rule |
|---|---|---|---|
| Corporate income taxpayer in the common territory, not in the SII | VeriFactu | software adapted from October 2028 | Royal Decree 1007/2023 |
| Sole trader or other taxpayer in the common territory, not in the SII | VeriFactu | from October 2028 | Royal 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 Bizkaia | Batuz, Gipuzkoa, Álava |
| Monthly VAT returns (for example, over €6,010,121.04 of turnover) | SII | since 2017 | VAT Regulation, Art. 62.6 |
| Company invoicing a public body | Facturae through that body's entry point (FACe for central government) | since 15 January 2015 | Law 25/2013, Art. 4 |
| Invoices to businesses and professionals established in Spain | B2B e-invoicing under the Crea y Crece law | October 2027 above €8 million; October 2028 for the rest | Royal 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.
| Code | What the AEAT says | Result | Guide |
|---|---|---|---|
| 4102 | The XML does not match the schema | submission rejected | how to fix it |
| 4112 | The certificate holder cannot submit for that company | submission rejected | how to fix it |
| 4134 | Service not active | submission rejected | how to fix it |
| 3000 | Duplicate billing record | invoice rejected | how to fix it |
| 1150 | Simplified invoice above €3,000 | invoice rejected | how to fix it |
| 2000 | The hash is wrong | accepted, to be corrected | how to fix it |
| 2001 | The recipient's tax ID is not in the AEAT census | accepted, to be corrected | how 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.


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
Checked in the module's source code (version 17.0, 18.0, 19.0 and 20.0) and the linked sources
Sources
- www.boe.es/buscar/act.php?id=BOE-A-2026-24701
- FlexigoTech calculation with the figures cited
- www.boe.es/buscar/act.php?id=BOE-A-2023-24840
- store.flexigotech.com/catalog
- www.gipuzkoa.eus/es/web/ogasuna/ticketbai/faq
- www.batuz.eus/es/implantacion-definitiva
- www.batuz.eus/es/inicio
- web.araba.eus/es/-/ticketbai/faq/1-9
- web.araba.eus/es/hacienda/ticketbai/informacion-general
- www.batuz.eus/es/preguntas-frecuentes
- efact.aoc.cat/bustia/receiver/list.htm?siteLanguage=ca
- proveedores.face.gob.es/administraciones_y_organismos/buscador-de-puntos-de-entrada
- Module source code: b2brouter_connector 17.0 (645657a), 18.0 (3b35692), 19.0 (1ffced0), 20.0 (ab307eb): models/countries/es_face.py, line 106
- sede.agenciatributaria.gob.es/Sede/iva/suministro-inmediato-informacion/informacion-genera
- www.boe.es/buscar/act.php?id=BOE-A-1992-28925
- www.boe.es/buscar/act.php?id=BOE-A-2013-13722
- www.facturae.gob.es/que-quiere-hacer-usted/administraciones-publicas
- www.facturae.gob.es/face
- docs.b2brouter.net/es/developers/use-cases-by-country/send-to-face-with-imported-file/
- www.boe.es/buscar/act.php?id=BOE-A-2007-22440
- www.boe.es/buscar/act.php?id=BOE-A-2026-7295
- www.boe.es/buscar/act.php?id=BOE-A-2026-20587
- github.com/odoo/odoo/blob/20.0/addons/l10n_es_edi_tbai/__manifest__.py
- github.com/odoo/odoo/blob/20.0/addons/l10n_es_edi_sii/__manifest__.py
- github.com/odoo/odoo/blob/20.0/addons/l10n_es_edi_facturae/__manifest__.py
- github.com/odoo/odoo/blob/20.0/addons/l10n_es_edi_verifactu/__manifest__.py
- Module source code: b2brouter_connector 17.0 (645657a), 18.0 (3b35692), 19.0 (1ffced0), 20.0 (ab307eb): __manifest__.py, line 3
- Module source code: b2brouter_connector 17.0 (645657a), 18.0 (3b35692), 19.0 (1ffced0), 20.0 (ab307eb): models/countries/es_ticketbai.py, line 96
- Module source code: b2brouter_connector 17.0 (645657a), 18.0 (3b35692), 19.0 (1ffced0), 20.0 (ab307eb): models/b2brouter_sii_batch.py, line 54
- Module source code: b2brouter_connector 17.0 (645657a), 18.0 (3b35692), 19.0 (1ffced0), 20.0 (ab307eb): models/countries/es_face.py, line 40
- Module source code: b2brouter_connector 20.0 (ab307eb): models/b2brouter_backend.py, line 515
- Module source code: b2brouter_connector 17.0 (645657a), 18.0 (3b35692), 19.0 (1ffced0), 20.0 (ab307eb): __manifest__.py, line 12
- docs.b2brouter.net/es/user-guide/tax-report/ticketbai/
- app.flexigotech.com/api/v1/precios
- www.boe.es/buscar/doc.php?id=BOE-A-2025-24446
- sede.agenciatributaria.gob.es/Sede/iva/sistemas-informaticos-facturacion-verifactu/nota-in
- www.hacienda.gob.es/sgt/gabsehacienda/nota-informativa-verifactu.pdf
- www.boe.es/buscar/doc.php?id=BOE-A-2023-24840
- sede.agenciatributaria.gob.es/Sede/iva/sistemas-informaticos-facturacion-verifactu/cuestio
- www.boe.es/buscar/act.php?id=BOE-A-2024-22138
- www.boe.es/buscar/act.php?id=BOE-A-2003-23186
- prewww2.aeat.es/static_files/common/internet/dep/aplicaciones/es/aeat/tikeV1.0/cont/ws/err
- Module source code: flexigo_spain_verifactu 17.0 (f806bb0), 18.0 (6dade84), 19.0 (675fb62), 20.0 (c11f8e2): models/res_company.py, line 21
- Module source code: flexigo_spain_verifactu 17.0 (f806bb0), 18.0 (6dade84), 19.0 (675fb62), 20.0 (c11f8e2): report/account_move_verifactu_qr.xml, line 9
- Module source code: flexigo_spain_verifactu 17.0 (f806bb0), 18.0 (6dade84), 19.0 (675fb62), 20.0 (c11f8e2): models/verifactu_cola_envio.py, line 211
- Module source code: flexigo_spain_verifactu 17.0 (f806bb0), 18.0 (6dade84), 19.0 (675fb62), 20.0 (c11f8e2): models/verifactu_cola_envio.py, lines 28 and 466
- Module source code: flexigo_spain_verifactu 17.0 (f806bb0), 18.0 (6dade84), 19.0 (675fb62), 20.0 (c11f8e2): models/verifactu_signing.py, line 68
- Module source code: flexigo_spain_verifactu 17.0 (f806bb0), 18.0 (6dade84), 19.0 (675fb62), 20.0 (c11f8e2): data/verifactu_error_catalogue.xml, line 2
- Module source code: flexigo_spain_verifactu 17.0 (f806bb0), 18.0 (6dade84), 19.0 (675fb62), 20.0 (c11f8e2): __manifest__.py, lines 25-28
- Module source code: flexigo_spain_verifactu 17.0 (f806bb0), 18.0 (6dade84), 19.0 (675fb62), 20.0 (c11f8e2): flexigotech.json, line 2
- Module source code: flexigo_verifactu_check 17.0 (fab9f1b), 18.0 (9529110), 19.0 (26cd7c2), 20.0 (4823420): __manifest__.py, lines 19-29
- Module source code: flexigobe_zoho_verifactu_connector 17.0 (6592ed6), 18.0 (b51f24b), 19.0 (f6a3d4f), 20.0 (7ef01d6): __manifest__.py, lines 8-16
- Module source code: b2brouter_connector 17.0 (3ba604b), 18.0 (6b48ffe), 19.0 (a65525a), 20.0 (945b31d): CHANGELOG.md, line 3
