Credit note in Verifactu: example
A credit note is sent as a normal invoice with the total and the lines in negative.
| Field | Value |
|---|---|
| API | Verifactu API |
| Invoice type or key | F1 con importes negativos |
| Endpoint | /verifactu/create |
| When to use it | Full refund of what was invoiced: F1 with negative amounts. |
What changes in this case
If the customer returns everything invoiced, an F1 invoice with the total and the lines in negative, in the same series, is enough. For any other change, use a corrective invoice.
JSON request
Factura de abono
{
"serie": "Ejemplos",
"numero": "1",
"fecha_expedicion": "19-11-2026",
"tipo_factura": "F1",
"descripcion": "Factura de abono",
"nif": "A15022510",
"nombre": "Nombre destinatario",
"lineas": [
{
"base_imponible": "-200",
"tipo_impositivo": "21",
"cuota_repercutida": "-42"
}
],
"importe_total": "-242"
}Try this case in the test environment
Create your free account, copy the request and send it with the test API key of your test NIF.