Verifactu QR Reader

Drop a photo, a screenshot or the PDF of the invoice, or paste an image with Ctrl+V, then click Read QR. You'll see what the code contains, whether it really points to the Spanish Tax Agency, and a button to open the official check page when it does.

Verifactu QR Reader

Read the Verifactu QR code on a Spanish invoice from a photo, screenshot or PDF. See the issuer's NIF, invoice number, date and amount, find out if it's a verifiable invoice, and catch fake links before you open them.

Drop a photo, screenshot or PDF of the invoice here, or click to choose one

JPG, PNG, WebP or PDF up to 25 MB. You can also paste a screenshot with Ctrl+V.

The file is read inside this browser and never uploaded. The Tax Agency is only contacted if you click its button.

Why I built this

Spain's new invoicing rules put a QR code at the top of invoices made with billing software. Scan it with a phone and the Spanish Tax Agency (the AEAT) tells you whether it holds a matching record. Nice idea. The trouble is that real life doesn't look like the demo. The invoice is a PDF in your inbox, your phone refuses to focus on a laptop screen, or you're holding a creased receipt and you'd like to know what the code says before you let it open anything.

That last point is the one I care about. A QR code is a link you can't read with your eyes. Anybody can print one that looks official and send you to a page that asks for your bank details. So this reader decodes the code first, shows you exactly where it leads, and only offers the button to the AEAT when the address really belongs to the Tax Agency. If it doesn't, you get a big red warning and no button at all.

What you get

  • The NIF of the business that issued the invoice, with its check letter or digit verified. You'll also see whether it's a DNI (an individual), an NIE (a foreign resident) or a company NIF.
  • The series and number of the invoice, exactly as the issuer's software wrote them.
  • The issue date and the total amount, formatted for your language.
  • The type of invoice: verifiable (VERI*FACTU) or non-verifiable.
  • Where the link goes: the real AEAT server, the AEAT test portal, or some other site.
  • A short summary in plain Spanish that you can paste into an email to the supplier or your gestor.

How to use it

If the code turns out to be a payment link or a Wi-Fi password, our general QR code scanner gives you more detail on those.

  1. Drop a photo, a screenshot or the PDF of the invoice onto the box. You can also copy an image and press Ctrl+V anywhere on the page.
  2. Got an electronic invoice that carries the link as text instead of a printed code? Paste the link into the text box.
  3. Click Read QR and look at the coloured box at the top of the result. Green means the link is the genuine AEAT check service. Then you can click through to see what the Tax Agency says.

With PDFs the first three pages get scanned. The rules say the tax QR goes once, at the top of the first page, so that's nearly always where it turns up. Plenty of invoices also carry a payment QR or a link to the shop's website. The reader collects every code it can find on the page and picks the Verifactu one, so the extra codes don't confuse it.

What's inside a Verifactu QR

Got a European e-invoice from a client abroad, like an XRechnung or a Factur-X PDF? The e-invoice viewer shows every line of it.

The code holds a single web address. For a verifiable invoice it looks like this: https://www2.agenciatributaria.gob.es/wlpl/TIKE-CONT/ValidarQR?nif=89890001K&numserie=12345678-G33&fecha=01-09-2024&importe=241.4. That's the example from the AEAT's own technical document. The four parameters are always the same:

  • nif: the issuer's tax ID, 9 characters.
  • numserie: series plus invoice number, up to 60 printable characters. Characters like / or & have to be URL encoded, which is why you'll sometimes see %2F or %26 in the raw text.
  • fecha: the issue date as DD-MM-YYYY, with hyphens.
  • importe: the total, with a dot for decimals and no more than two of them.

All of this comes from the AEAT document on the technical details of the invoice QR code and the check service, version 0.5.0 of 10 December 2025. That version added an optional idioma parameter that picks the language of the answer page. The reader accepts it quietly. Anything else in the link gets flagged, because a printed Verifactu QR shouldn't carry it. The spec says outright that the json format parameter must never go into the QR.

The printed code also has rules. Ministerial Order HAC/1177/2024 asks for a size between 30x30 and 40x40 mm, the ISO/IEC 18004:2015 standard and error correction level M. The AEAT document adds the words "QR tributario:" above the code. Verifiable invoices also show "VERI*FACTU" or "Factura verificable en la sede electrónica de la AEAT" right underneath.

Verifiable and non-verifiable invoices

This is the part that confuses people most, so here's the short version. Spanish billing software can follow the rules in one of two ways.

VERI*FACTU mode. The software sends a record of each invoice to the AEAT the moment it's issued. The QR link ends in ValidarQR. When you open it, the AEAT answers "Factura encontrada" if the record arrived, or "Factura no encontrada" if it didn't. A cancelled invoice also comes back as not found. That's in the spec too.

Non-verifiable mode, the factura no verificable. The software keeps its records instead of sending them in real time. The link ends in ValidarQRNoVerifactu, and the invoice doesn't carry the VERI*FACTU label. Open it and the AEAT answers "Factura no verificable". That isn't a warning sign. It's the expected answer for a perfectly legal option, because the Tax Agency simply has nothing to compare against yet. The details in the link still reach the AEAT as information sent by you, the recipient.

So if a supplier's invoice says no verificable, don't panic. Check that the NIF, number, date and amount match the paper in front of you. That's what the reader is for.

When Verifactu becomes mandatory

The dates moved more than once. The current ones were set by Real Decreto-ley 15/2025 of 2 December, published in the BOE on 3 December 2025. It rewrote the final provision of Real Decreto 1007/2023, the regulation behind Verifactu. As the consolidated text reads today:

  • Companies that pay corporate tax (Impuesto sobre Sociedades) must have adapted billing systems before 1 January 2027.
  • Everyone else covered by the rules, self-employed people (autónomos) included, before 1 July 2027.

Businesses already in the SII, the system that reports VAT books to the AEAT almost in real time, fall outside these rules for their own invoices, so you won't find this QR on theirs. Until the deadlines arrive you'll see a mix. Some suppliers already print the code and others don't. A missing QR in 2026 doesn't mean anything is wrong.

Spotting a fake QR

The reader compares the host of the link letter by letter with a short list: www2.agenciatributaria.gob.es for real invoices and prewww2.aeat.es, the AEAT test portal that software makers use. Close isn't good enough. www2.agenciatributaria.gob.es.something.com fails, agenciatributaria-gob.es fails, and so do addresses that swap a letter for a lookalike from another alphabet. In all those cases you get a red box naming the real host and no button.

Nothing ever opens on its own. Even for a genuine link, you decide when to click. A real check needs nothing from you, by the way, since all four values already sit in the link. If a page you reached from an invoice QR asks for a card number or a password, close it.

Codes pointing at the test portal get an amber box. They're usually invoices from software that's still being set up, and they're not real invoices.

The NIF check

Every Spanish NIF ends in a control character worked out from the rest. For a DNI it's a letter from the remainder after dividing by 23. NIEs swap the leading X, Y or Z for a digit and do the same. Company NIFs use a different sum that gives a digit or a letter. The reader runs the right formula and tells you if it adds up. A wrong control character usually means a typo in the issuer's software setup, and the AEAT will turn the check away with an error about the NIF format.

Privacy

The image or PDF is decoded inside your browser. It isn't uploaded and it isn't stored. Load the page, switch off your Wi-Fi and read a QR: it still works. The only time anything leaves your computer is when you click the AEAT button, and then your browser goes straight to the Tax Agency with the four values from the code. The AEAT limits how many checks can be made in one day, so don't bother clicking the same invoice twenty times.

What it won't do

Our HEIC to JPG converter turns an iPhone photo into a JPG in a few seconds, also without uploading it.

It doesn't ask the AEAT anything by itself, so it can't tell you whether the invoice was found. That answer only comes from the AEAT page. It can't check the invoice's digital fingerprint either, because that isn't in the QR. Very blurry photos taken from far away sometimes fail. Crop closer to the code or take a screenshot of the PDF and try again. And iPhone HEIC photos don't open in every browser, so convert them first if you get an error.

Frequently Asked Questions About the Verifactu QR Code

Similar tools to explore

Tab Delimited File to Excel Converter

Paste tab-separated data or upload a .tsv file and get back a clean XLSX with the columns lined up. No account, and an uploaded file is deleted the moment the conversion finishes.

Convert to Excel

Google Maps Timeline Viewer

Open your Google Maps Timeline export right in the browser: coverage calendar, missing days, visits, and distance stats. The file never leaves your device.

View My Timeline

E-Invoice Viewer

Drop an XRechnung or UBL XML file, or a ZUGFeRD or Factur-X PDF, and read it as a normal invoice. Totals and VAT get checked, and nothing leaves your browser.

View Invoice

JSON to TOON Converter

Convert JSON to TOON and TOON back to JSON, with a real GPT token count for both so you can see how many tokens you save. Runs in your browser.

Convert to TOON

Winmail.dat Opener

Got a winmail.dat or ATT00001.dat instead of your attachment? Drop it here to get the real files out and read the message, with nothing uploaded.

Open File

RMB Uppercase Converter

Turn any RMB amount into 人民币大写 with the 零 and 整 rules banks check, and get the cheque date in capitals plus the box layout for the figures.

Convert to 大写