TicketBAI in the Basque Country: Bizkaia, Gipuzkoa and Álava/Araba
TicketBAI is the mandatory e-invoicing system for all three Basque foral territories. Each Diputación Foral (Provincial Council) runs its own receiving platform, its own endpoints, and has its own enforcement dates.
Frihet does not submit invoices to the Foral Tax Authorities through TicketBAI: in the TicketBAI settings, the Enable production button is disabled. To issue TicketBAI invoices, use invoicing software that meets the requirements of your Foral Tax Authority.
Why three separate systems
The Basque foral territories have full fiscal autonomy. Bizkaia, Gipuzkoa and Álava/Araba each have their own receiving infrastructure. Whether your company is in Bilbao or Vitoria-Gasteiz determines which Hacienda Foral you report to.
TicketBAI and VeriFactu
TicketBAI and VeriFactu are separate systems:
| Aspect | VeriFactu | TicketBAI |
|---|---|---|
| Territorial scope | Common territory (all of Spain except the Basque Country and Navarra) | Only Basque Country |
| Regulation | RD 1007/2023 | Foral regulations of each territory |
Automatic detection by ZIP code
Frihet identifies the foral territory from the ZIP code in your fiscal profile:
| Prefix | Territory | System | Hacienda Foral |
|---|---|---|---|
48xxx | Bizkaia | BATUZ | Hacienda Foral de Bizkaia |
20xxx | Gipuzkoa | TicketBAI Gipuzkoa | Hacienda Foral de Gipuzkoa |
01xxx | Álava/Araba | TicketBAI Álava | Hacienda Foral de Álava |
If your ZIP code does not start with 48, 20 or 01, the TicketBAI section of Settings shows no content. Navarra (31xxx) has its own system under the Hacienda Foral de Navarra, and its ZIP codes do not activate the section either.
Bizkaia — BATUZ
BATUZ is the Hacienda Foral de Bizkaia system.
Endpoints
| Environment | URL |
|---|---|
| Sandbox | https://pruebasarqueo.bizkaia.eus/N3B4000M/aurkezpena |
| Production | https://sarrerak.bizkaia.eus/N3B4000M/aurkezpena |
Mandatory dates in Bizkaia
| Taxpayer group | From |
|---|---|
| Corporate income tax payers that are not micro, small or medium-sized companies | 1 January 2024 |
| All other taxpayers, in phases by activity | From 1 July 2024 to 1 January 2026 |
Calendar set by Norma Foral 8/2023 of 22 November. Source: Batuz, definitive implementation.
Gipuzkoa
Endpoints
| Environment | URL |
|---|---|
| Sandbox | https://tbai-z.prep.gipuzkoa.eus/sarrerak/alta |
Check the production URL in the technical documentation of the Gipuzkoa Foral Tax Authority.
Mandatory dates in Gipuzkoa
| Taxpayer group | From |
|---|---|
| Those who regularly provide tax management services | 1 July 2022 |
| Other taxpayers, in phases by IAE heading | Between 1 September 2022 and 1 June 2023 |
| All taxpayers with economic activities in Gipuzkoa | 1 June 2023 |
Source: Gipuzkoa Foral Tax Authority, TicketBAI calendar.
Álava/Araba
Endpoints
| Environment | URL |
|---|---|
| Sandbox | https://pruebas-ticketbai.araba.eus/TicketBAI/v1/facturas/ |
| Production | https://ticketbai.araba.eus/TicketBAI/v1/facturas/ |
Mandatory dates in Álava
| Taxpayer group | From |
|---|---|
| Any taxpayer, voluntarily | 1 January 2022 |
| Tax advisers collaborating with the Álava Provincial Council in tax administration | 1 April 2022 |
| Retail sale of medicines, medical and personal hygiene products (IAE heading 651.2) and professional activities in IAE section 2 | 1 July 2022 |
| All other taxpayers | 1 December 2022 |
Calendar set by Decreto Foral 48/2021, amended by Decreto Normativo de Urgencia Fiscal 9/2022. Source: Álava Foral Tax Authority, TicketBAI FAQ.
Digital certificate
Each Hacienda Foral publishes which certificates it accepts for signing TicketBAI files. All three accept natural-person certificates, electronic company seals, device certificates and self-employed certificates, with differences by territory and by where the signature is made. Check the official list for your territory:
- Álava: TicketBAI FAQ, question 8.1
- Bizkaia: Batuz FAQ
- Gipuzkoa: Annex III of Orden Foral 521/2020
The signature is only valid if the certificate is valid at the time of signing. Renew the certificate before it expires.
AI Agent Tools (MCP Server)
Because Frihet does not submit invoices to TicketBAI, ticketbai_status finds no submission and returns an error.
Frequently asked questions
Is TicketBAI the same as VeriFactu? No. VeriFactu is the AEAT system for common territory. TicketBAI is the system of the Basque Haciendas Forales. They are independent systems with different regulations.
What if my company operates in the Basque Country and in common territory? Which system applies to you depends on your specific tax situation. Check with your advisor or your Foral Tax Authority.
Does TicketBAI apply to self-employed people? Yes. TicketBAI applies both to individuals (self-employed) and to companies with economic activity in foral territory, following each Foral Tax Authority's calendar.
Official references
- BATUZ (Bizkaia): https://www.batuz.eus
- Hacienda Foral de Gipuzkoa: https://www.gipuzkoa.eus/es/web/ogasuna/ticketbai
- Hacienda Foral de Álava: https://web.araba.eus/es/hacienda/ticketbai
- TicketBAI specification: https://www.ticketbai.eus
- Izenpe (Basque certification): https://www.izenpe.eus