The steps to generate the Verifactu QR code locally are described in our Connection Loss guide. This article provides examples so you can compare your implementation with the QR code fiskaly generates when an invoice is submitted.
EXAMPLE 1:
url = https://prewww2.aeat.es/wlpl/TIKE-CONT/ValidarQR
tax_number = B43752210
number = E-12345
series =
issued_at = 2025/04/23 14:55
full_amount = 123.45
result = https://prewww2.aeat.es/wlpl/TIKE-CONT/ValidarQR?nif=B43752210&numserie=E-12345&fecha=23-04-2025&importe=123.45
EXAMPLE 2:
url = https://www2.agenciatributaria.gob.es/wlpl/TIKE-CONT/ValidarQR
tax_number = B88752210
number = A-321
series = 1/25
issued_at = 2025/01/05 08:35
full_amount = 567
result = https://www2.agenciatributaria.gob.es/wlpl/TIKE-CONT/ValidarQR?nif=B88752210&numserie=1%2F25A-321&fecha=05-01-2025&importe=567.00