Export of goods in the SII: API example
An export of goods outside the EU is declared with regime key 02 (export) and the supply exempt with causa_exencion E2 (art. 21 LIVA).
| Field | Value |
|---|---|
| API | SII API |
| Invoice type or key | F1 · clave 02 · exenta E2 |
| Endpoint | /sii/create |
| When to use it | Sale of goods to a customer outside the EU. |
What changes in this case
The customer goes in id_otro with codigo_pais (US in the example) and a document (id_type 03, passport). The breakdown goes by type of operation: entrega.exenta with E2.
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
Factura extracomunitaria - Exportación de bienes
{
"ejercicio": "2026",
"periodo": "11",
"serie": "A",
"numero": "1",
"fecha_expedicion": "19-11-2026",
"tipo_factura": "F1",
"clave_regimen": [
"02"
],
"descripcion": "Factura extracomunitaria - Exportación de bienes",
"nombre": "Nombre destinatario",
"id_otro": {
"codigo_pais": "US",
"id_type": "03",
"id": "M76543210"
},
"desglose": {
"entrega": {
"exenta": [
{
"causa_exencion": "E2",
"base_imponible": "200"
}
]
}
},
"importe_total": "200"
}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.