Received invoice in the SII: API example
A supplier’s invoice is entered in the received-invoices book with POST /sii/recibidas/create: tipo_factura F1, regime key 01, the supplier in nombre and nif, the fecha_registro_contable, the cuota_deducible and the input VAT in desglose.detalle_iva.
| Field | Value |
|---|---|
| API | SII API |
| Invoice type or key | F1 · clave 01 |
| Endpoint | /sii/recibidas/create |
| When to use it | Ordinary invoice from a supplier with a Spanish NIF. |
What changes in this case
This is the base case of the received-invoices book. It uses the names of the issued-invoices book, with these differences:
serie,numeroandfecha_expedicionare those of the supplier’s invoice.- The supplier goes in
nombreandnif. Verifacti writes it twice in the record, as the invoice issuer and as the counterparty. fecha_registro_contableis the date you enter the invoice in your accounts. It cannot be earlier thanfecha_expedicion, and the SII four-day deadline counts from it.cuota_deducibleis the VAT you deduct: in the example, all the input VAT.desglose.detalle_ivacarries one line per tax rate, withcuota_soportadainstead ofcuota_repercutida.
ejercicio and periodo are those of the tax period in which you include the invoice. Before sending it, the API checks the supplier’s nif and nombre against the AEAT census; on a test NIF you can skip the check with validar_destinatario: false.
It is sent with POST /sii/recibidas/create, with the same API key as the NIF’s issued invoices. The record is queued and goes to the AEAT with the NIF’s other pending received invoices; you get the result with GET /sii/status or by webhook.
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",
"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
Fields that only exist in the issued-invoices book are not ignored: inmuebles, importe_transmision_inmuebles_sujeto_iva and especial flags such as cupon or emitida_por_tercero_o_destinatario return vf-sii-recibida_campo_de_emitidas, and the breakdown blocks exenta, no_exenta, no_sujeta, entrega and prestacion_servicios return vf-sii-recibida_desglose_clave.
Related cases
Correcto, Aceptado con errores or Duplicado.Modifying a received invoiceTry 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.