Rental of business premises in the SII: API example

The rental of business premises is declared with regime key 11, 12 or 13 depending on withholding, and with keys 12 and 13 it carries the property in inmuebles.

FieldValue
APISII API
Invoice type or keyF1 · clave 12 · inmuebles
Endpoint/sii/create
When to use itRental of business premises.

What changes in this case

Keys: 11 subject to withholding, 12 not subject to withholding, 13 subject and not subject. The example uses 12. Each item of inmuebles (1 to 15) carries situacion and referencia_catastral:

  • 1: with a cadastral reference in Spain, except the Basque Country and Navarre.
  • 2: in the Basque Country or Navarre.
  • 3: no cadastral reference, in any of the above.
  • 4: abroad.

The cadastral reference is mandatory except with situation 3 or 4.

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

Alquiler del local de negocio
{
  "ejercicio": "2026",
  "periodo": "11",
  "serie": "A",
  "numero": "1",
  "fecha_expedicion": "19-11-2026",
  "tipo_factura": "F1",
  "clave_regimen": [
    "12"
  ],
  "descripcion": "Alquiler del local de negocio",
  "nombre": "Nombre cliente",
  "nif": "A15022510",
  "inmuebles": [
    {
      "situacion": "1",
      "referencia_catastral": "9872023VH5797S0001WX"
    }
  ],
  "desglose": {
    "no_exenta": {
      "tipo_no_exenta": "S1",
      "detalle_iva": [
        {
          "tipo_impositivo": "21",
          "base_imponible": "1000",
          "cuota_repercutida": "210"
        }
      ]
    }
  },
  "importe_total": "1210"
}

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