Small Business

Verifactu in Spain: What Changes for Invoices and When

What Spain's Verifactu invoicing rules require: secure records, the VERI*FACTU mention, the AEAT QR code, who is affected and the 2027 start dates.

Saizul Amin
Saizul Amin29 Oct 2026 · 3 min read
Verifactu in Spain: What Changes for Invoices and When

Verifactu in Spain: What Changes for Invoices and When

Spain is changing how invoicing software works. Under the Verifactu rules, programs used to issue invoices must keep tamper-proof records and add a QR code that lets clients verify invoices with the tax agency. After a postponement, the rules apply in 2027. This guide explains what changes and how to use the Verifactu invoice generator.

Why Verifactu

The Anti-Fraud Law of 2021 prohibited software that allows hiding or altering sales ("dual-use" software). Real Decreto 1007/2023 set the requirements for invoicing systems, and Orden HAC/1177/2024 the technical details. The aim is to make sure every invoice issued is recorded and cannot be deleted without trace.

What invoicing systems must do

  • Create an invoicing record (registro de facturación) for every invoice issued, and for cancellations.
  • Chain records with a hash, so any alteration is detectable.
  • Keep a log of events.
  • Either send records to the AEAT automatically (Verifactu mode) or keep them securely to provide on request (non-Verifactu mode, with stricter requirements).
  • Print a QR code on each invoice.

The QR code

The QR contains a URL of the tax agency with four parameters: the issuer's NIF, the invoice series and number, the issue date (DD-MM-YYYY) and the total amount. When a client scans it, the AEAT website confirms whether the invoice was registered. It must be printed at the start of the invoice, between 30 × 30 and 40 × 40 millimetres.

Invoices issued in Verifactu mode also show the text "VERI*FACTU" or "Factura verificable en la sede electrónica de la AEAT".

Who is affected

Companies and self-employed workers who invoice with software, unless they are in the SII (the immediate VAT information system used by large companies), or in some special regimes such as the equivalence surcharge without invoicing obligations. Invoices made entirely by hand are outside the scope.

Dates

After Real Decreto-ley 15/2025, the obligation starts on 1 January 2027 for corporate income taxpayers and on 1 July 2027 for others, including most autónomos. Software producers must issue a statement of compliance for their programs.

What to do now

  • Check whether your invoicing software will be compliant and when.
  • Avoid spreadsheets or word processors for invoices from 2027.
  • Keep your series and numbering consistent.
  • Test the QR on sample invoices.

Using the generator

  1. Choose full or simplified invoice.
  2. Choose Spanish or English.
  3. Enter the issuer's name, NIF and address, and the client's for full invoices.
  4. Enter the series and number and the issue date.
  5. Add the items and choose the VAT rate.
  6. Read the invoice with the VERI*FACTU block and the exact QR content, to be encoded by your software.

A worked example

A car workshop in Valencia issues invoice A2026-0158 on 29 October 2026: an annual service at 120 euros and an oil filter at 18.50 euros. The base is 138.50 euros, VAT at 21 percent 29.09 euros, total 167.59 euros. The QR content is the AEAT URL with NIF B12345674, number A2026-0158, date 29-10-2026 and amount 167.59.

Penalties

Using or producing software that does not comply can lead to fines of up to 50,000 euros per year for users and 150,000 euros for producers under the General Tax Law. Choose compliant software in time. Ask your provider for its statement of compliance.

Limits

The generator shows the content. Records and the QR image must be produced by certified invoicing software. It is not tax advice.

Completely freeNo cost, no sign-up
Files stay privateEverything runs in your browser
Easy in your languageAvailable in many languages