Intra-EU B2B supply of goods in the SII: API example
A sale of goods to a business in another EU country is declared as an exempt supply with causa_exencion E5 (art. 25 LIVA) and the customer identified by their VAT number (id_otro.id_type 02).
| Field | Value |
|---|---|
| API | SII API |
| Invoice type or key | F1 · entrega exenta E5 |
| Endpoint | /sii/create |
| When to use it | Sale of goods to a business in another Member State. |
What changes in this case
The customer has no Spanish NIF: it goes in id_otro with id_type 02 (VAT number) and the full number with its country prefix. With id_type 02 no codigo_pais is needed.
Because the counterparty is identified with id_otro, the breakdown goes by type of operation: entrega (supply of goods) or prestacion_servicios, each with its own exenta, no_exenta or no_sujeta. It is mandatory in that case, except for F2 and F4. Here: entrega.exenta with causa_exencion E5.
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 B2B intracomunitaria - Venta de bienes",
"nombre": "Nombre destinatario",
"id_otro": {
"id_type": "02",
"id": "BE0404621642"
},
"desglose": {
"entrega": {
"exenta": [
{
"causa_exencion": "E5",
"base_imponible": "200"
}
]
}
},
"importe_total": "200"
}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.