Modify a received invoice in the SII: API example
To correct a received invoice the AEAT has already registered, send PUT /sii/recibidas/modify with the full corrected invoice: it creates a modification record (A1) that fully replaces the previous one.
| Field | Value |
|---|---|
| API | SII API |
| Invoice type or key | A1 |
| Endpoint | PUT /sii/recibidas/modify |
| When to use it | Correcting a received invoice that is Correcto, Aceptado con errores or Duplicado. |
What changes in this case
The invoice is identified by its supplier (nif or id_otro), serie, numero and fecha_expedicion, and the body is the same as for /sii/recibidas/create.
In the example, the description of invoice A-1 (serie A, numero 1) from supplier A15022510 is corrected.
JSON request
{
"ejercicio": "2026",
"periodo": "12",
"serie": "A",
"numero": "1",
"fecha_expedicion": "01-12-2026",
"tipo_factura": "F1",
"clave_regimen": [
"01"
],
"descripcion": "Compra de material de oficina (descripción corregida)",
"nombre": "Nombre proveedor",
"nif": "A15022510",
"fecha_registro_contable": "01-12-2026",
"cuota_deducible": "42",
"desglose": {
"detalle_iva": [
{
"tipo_impositivo": "21",
"base_imponible": "200",
"cuota_soportada": "42"
}
]
},
"importe_total": "242"
}Common errors
It only works for invoices the AEAT has registered. An Incorrecto or No registrado invoice is not modified: correct it and send it again with POST /sii/recibidas/create.
Related cases
Try this case in the test environment
Create your free account and ask soporte@verifacti.com for a SII test NIF; then copy the request and send it with its test API key.