Skip to main content

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 and TicketBAI

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:

AspectVeriFactuTicketBAI
Territorial scopeCommon territory (all of Spain except the Basque Country and Navarra)Only Basque Country
RegulationRD 1007/2023Foral regulations of each territory

Automatic detection by ZIP code​

Frihet identifies the foral territory from the ZIP code in your fiscal profile:

PrefixTerritorySystemHacienda Foral
48xxxBizkaiaBATUZHacienda Foral de Bizkaia
20xxxGipuzkoaTicketBAI GipuzkoaHacienda Foral de Gipuzkoa
01xxxÁlava/ArabaTicketBAI ÁlavaHacienda 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​

EnvironmentURL
Sandboxhttps://pruebasarqueo.bizkaia.eus/N3B4000M/aurkezpena
Productionhttps://sarrerak.bizkaia.eus/N3B4000M/aurkezpena

Mandatory dates in Bizkaia​

Taxpayer groupFrom
Corporate income tax payers that are not micro, small or medium-sized companies1 January 2024
All other taxpayers, in phases by activityFrom 1 July 2024 to 1 January 2026

Calendar set by Norma Foral 8/2023 of 22 November. Source: Batuz, definitive implementation.

Gipuzkoa​

Endpoints​

EnvironmentURL
Sandboxhttps://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 groupFrom
Those who regularly provide tax management services1 July 2022
Other taxpayers, in phases by IAE headingBetween 1 September 2022 and 1 June 2023
All taxpayers with economic activities in Gipuzkoa1 June 2023

Source: Gipuzkoa Foral Tax Authority, TicketBAI calendar.

Álava/Araba​

Endpoints​

EnvironmentURL
Sandboxhttps://pruebas-ticketbai.araba.eus/TicketBAI/v1/facturas/
Productionhttps://ticketbai.araba.eus/TicketBAI/v1/facturas/

Mandatory dates in Álava​

Taxpayer groupFrom
Any taxpayer, voluntarily1 January 2022
Tax advisers collaborating with the Álava Provincial Council in tax administration1 April 2022
Retail sale of medicines, medical and personal hygiene products (IAE heading 651.2) and professional activities in IAE section 21 July 2022
All other taxpayers1 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:

Certificate expiry

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​