Operation within a VAT group (advanced level) in the SII: API example
An operation within the special VAT group scheme (advanced level) is declared with regime key 06 and the tax base at cost in base_imponible_a_coste.
| Field | Value |
|---|---|
| API | SII API |
| Invoice type or key | F1 · clave 06 · base_imponible_a_coste |
| Endpoint | /sii/create |
| When to use it | Operations between entities of a VAT group at advanced level. |
What changes in this case
base_imponible_a_coste is mandatory with key 06 and only allowed with it. In the example, the base is €200, the base at cost €150 and the tax amount (€31.50) is 21% of the base at cost.
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
Operación dentro del grupo de entidades (nivel avanzado)
{
"ejercicio": "2026",
"periodo": "11",
"serie": "A",
"numero": "1",
"fecha_expedicion": "19-11-2026",
"tipo_factura": "F1",
"clave_regimen": [
"06"
],
"descripcion": "Operación dentro del grupo de entidades (nivel avanzado)",
"nombre": "Nombre cliente",
"nif": "A15022510",
"base_imponible_a_coste": "150",
"desglose": {
"no_exenta": {
"tipo_no_exenta": "S1",
"detalle_iva": [
{
"tipo_impositivo": "21",
"base_imponible": "200",
"cuota_repercutida": "31.5"
}
]
}
},
"importe_total": "231.5"
}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.