Check a TicketBAI QR code
Beta This tool is in beta. It is tested on sample files, and details may still change. Review the result before relying on it.
Read the QR code on a TicketBAI invoice and check its fields and check code, on your device, then confirm it on the provincial treasury's page.
In short
Check a payment or receipt QR code from a photo, a screenshot, a PDF or its text, on your device. Each finding says what to correct, and the result says what the check cannot show. Free.
How to check a QR code
- Drop a photo, a screenshot or a PDF with the code, or paste the code's text.
- Klarbon reads the code on your device and checks it against the rules for its kind.
- Read each finding, and open the authority's own link where the code has one.
You can check the TicketBAI QR code on a Basque invoice by dropping a photo, a screenshot or the PDF, or by pasting the link the code holds. Klarbon reads it on your device and checks it against the TicketBAI specification: the treasury's address, the TicketBAI identifier, the series, number and amount, and both check codes. Then open the code's own link to confirm the invoice with the treasury.
What does the check cover?
The QR code is a link to the TicketBAI check of the treasury of Araba, Bizkaia or Gipuzkoa, with the invoice's TicketBAI identifier, series, number and amount, and a check code at the end (TicketBAI specification, in Spanish). Klarbon checks:
- that the link goes to one of the three treasuries' published addresses;
- the identifier: TBAI, the issuer's NIF, the date as DDMMYY, part of the invoice's signature and a three-digit check code, 39 characters in all;
- the check code of the identifier and the one at the end of the link, both computed again from their characters;
- the parameters: none missing, repeated or unknown, the check code last and the amount with a full stop;
- the code itself: error correction level M.
What the check does not show
A code that passes is well formed and was not misread or changed. It does not show that the treasury holds the invoice or that its amounts are right. Only the treasury can answer that, through the link in the code. Klarbon shows that link and does not open it for you.
Is my file uploaded?
No. Finding the code, reading it and checking it all happen in your browser. See what happens to your files.
What next?
- Check a VERI*FACTU QR code, the code on invoices elsewhere in Spain.
- What is TicketBAI? and e-invoicing in Spain.
Frequently asked questions
What is TicketBAI?
The system the provincial treasuries of Araba, Bizkaia and Gipuzkoa use for invoices issued in the Basque Country. Billing software gives each invoice a TicketBAI identifier and a QR code that links to the treasury, so the customer can check it.
What does the check code prove?
The identifier and the link each end in a CRC-8 check code computed from their own characters. When both fit, the code was not misread or changed on the way. They do not prove that the treasury holds the invoice.
Does Klarbon tell me whether the treasury has the invoice?
No. Only the treasury knows. The result shows the code's own link to the treasury, and opening it sends the code's details there.
Is the file uploaded?
No. The code is found, read and checked in your browser. Nothing is sent to Klarbon.