Full invoice (F1) in the SII: API example
A full invoice is sent to the SII with tipo_factura F1 and regime key 01 (general regime), with the customer’s NIF and name and the VAT breakdown.
| Field | Value |
|---|---|
| API | SII API |
| Invoice type or key | F1 · clave 01 |
| Endpoint | /sii/create |
| When to use it | Ordinary invoice to a customer with a Spanish NIF. |
What changes in this case
This is the base case. The counterparty goes in nif and nombre (mandatory in F1) and the VAT in desglose.no_exenta, with tipo_no_exenta S1 (no reverse charge) and one detalle_iva per tax rate.
ejercicio and periodo are those of the tax period in which you declare the invoice: you set them, they are not worked out from the dates.
It is sent with POST /sii/create. The record is queued and goes to the AEAT with the NIF’s other pending records; you get the result with GET /sii/status or by webhook.
JSON request
{
"ejercicio": "2026",
"periodo": "11",
"serie": "A",
"numero": "1",
"fecha_expedicion": "19-11-2026",
"tipo_factura": "F1",
"clave_regimen": [
"01"
],
"descripcion": "Factura normal",
"nombre": "Nombre cliente",
"nif": "A15022510",
"desglose": {
"no_exenta": {
"tipo_no_exenta": "S1",
"detalle_iva": [
{
"tipo_impositivo": "21",
"base_imponible": "200",
"cuota_repercutida": "42"
}
]
}
},
"importe_total": "242"
}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.