Invoice with IPSI in Verifactu (Ceuta and Melilla)
An invoice with IPSI (Ceuta and Melilla) is sent with the impuesto field set to 02; the example uses a 4% rate.
| Field | Value |
|---|---|
| API | Verifactu API |
| Invoice type or key | F1 · impuesto 02 |
| Endpoint | /verifactu/create |
| When to use it | Operations in Ceuta and Melilla. |
What changes in this case
The IPSI is the tax that levies the consumption of goods and services in the autonomous cities of Ceuta and Melilla, similar to VAT on the mainland. It applies to all business and professional activities carried out in these cities. Tax rates vary depending on the type of good or service, with rates ranging from 0.5% to 10%. The law governing the IPSI is Law 8/1991, of March 25 (BOE-A-1991-7645).
To issue an invoice with IPSI using our API, you must indicate it using the field impuesto equal to 02. An example is as follows:
JSON request
{
"serie": "Ejemplos",
"numero": "1",
"fecha_expedicion": "19-11-2026",
"tipo_factura": "F1",
"descripcion": "Operacion con IPSI",
"nif": "A15022510",
"nombre": "Nombre destinatario",
"lineas": [
{
"impuesto": "02",
"base_imponible": "200",
"tipo_impositivo": "4",
"cuota_repercutida": "8"
}
],
"importe_total": "208"
}In addition to marking the tax, we have indicated the tax rate equal to 4%, but other values can be used depending on the specific case.
The possible values of impuesto can be found in our documentation, here.
Try this case in the test environment
Create your free account, copy the request and send it with the test API key of your test NIF.