Exchange invoice (F3) in the SII: API example

The invoice that replaces one or more simplified invoices is sent with tipo_factura F3 and the list of simplified invoices in facturas_sustituidas.

FieldValue
APISII API
Invoice type or keyF3 · facturas_sustituidas
Endpoint/sii/create
When to use itWhen the customer asks for a full invoice instead of the receipt.

What changes in this case

Each item in facturas_sustituidas identifies a simplified invoice by serie, numero and fecha_expedicion. The field is only allowed in F3. The F3 carries a counterparty (nif and nombre) like a full invoice.

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 de canje de simplificadas
{
  "ejercicio": "2026",
  "periodo": "11",
  "serie": "A",
  "numero": "1",
  "fecha_expedicion": "19-11-2026",
  "tipo_factura": "F3",
  "clave_regimen": [
    "01"
  ],
  "descripcion": "Factura de canje de simplificadas",
  "nombre": "Nombre cliente",
  "nif": "A15022510",
  "facturas_sustituidas": [
    {
      "serie": "SIMPLE",
      "numero": "1",
      "fecha_expedicion": "19-11-2026"
    }
  ],
  "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.

Test environment and test NIF includedRead the documentation