es__generate_qr_verifactu
Generates the mandatory VERI*FACTU QR code as a base64 PNG image for Spanish electronic invoices. Encodes the AEAT verification URL using invoice details.
Instructions
Genera el código QR obligatorio VERI*FACTU (HAC/1177/2024 Art. 10) como PNG en base64. Encodes la URL de verificación de la AEAT: https://www2.agenciatributaria.gob.es/wlpl/TIKE-CONT/ValidarQR?...
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nif | Yes | NIF del emisor. | |
| size_px | No | Tamaño del QR en píxeles (por defecto: 200). | |
| invoice_date | Yes | FechaExpedicionFactura en YYYY-MM-DD. | |
| total_amount | Yes | ImporteTotal de la factura (con IVA incluido). | |
| invoice_number | Yes | NumSerieFactura. |