SII codes: regime, invoice type and exemption

SII codes are the values each record of the Immediate Supply of Information (SII) uses to state the regime and type of the operation: the special regime or significance code (01 to 17 for issued invoices), the invoice type (F1 to F4 and R1 to R5), the operation classification (S1 to S3) and the exemption reason (E1 to E6). The Spanish Tax Agency (AEAT) sets them in the SII record layouts; received invoices have their own list.

The SII has been in force since 1 July 2017 (RD 596/2016). Who must use it, in SII.

What SII codes are

  • Special regime or significance code: tells the AEAT the VAT regime of the operation (general, export, REBU, cash accounting…).
  • Invoice type: distinguishes full invoices, simplified invoices, summary entries and corrective invoices.
  • Operation classification: states whether a taxable, non-exempt operation has reverse charge.
  • Exemption reason: the article of the VAT Law under which the operation is exempt.

Special regime or significance codes (issued invoices)

SII special regime or significance codes (issued invoices)
CodeDescription
01General regime operation
02Export
03Special regime for second-hand goods, works of art, antiques and collectors’ items (REBU)
04Special regime for investment gold
05Special regime for travel agencies
06Special regime for VAT groups (advanced level)
07Special cash accounting regime
08Operations subject to IPSI or IGIC
09Services of travel agencies acting as intermediaries in the name and on behalf of others
10Collections on behalf of third parties
11Business premises rental subject to withholding
12Business premises rental not subject to withholding
13Business premises rental both subject and not subject to withholding
14Invoice with VAT pending accrual on works certifications for a public administration
15Invoice with VAT pending accrual on successive supply operations
16First half of 2017 and invoices prior to joining the SII
17Operation under one of the regimes of Chapter XI of Title IX (OSS and IOSS)

Invoice types

SII invoice types
TypeDescription
F1Full invoice
F2Simplified invoice
F3Invoice issued to replace simplified invoices
F4Summary entry of invoices
R1Corrective invoice (error based on law and art. 80 One, Two and Six LIVA)
R2Corrective invoice (art. 80.3)
R3Corrective invoice (art. 80.4)
R4Corrective invoice (other)
R5Corrective invoice for simplified invoices

Corrective invoices also state whether they are by substitution (S) or by differences (I).

The summary entry (F4) groups invoices that meet art. 63.4 of the VAT Regulation: consecutive numbering, the same issue date, no obligation to identify the recipient and accrual in the same calendar month.

Operation classification and exemption reasons

Classification of taxable, non-exempt operations
CodeDescription
S1No reverse charge
S2With reverse charge
S3With and without reverse charge
Exemption reasons
CodeDescription
E1Exempt under art. 20 of the VAT Law
E2Exempt under art. 21 (exports)
E3Exempt under art. 22
E4Exempt under arts. 23 and 24
E5Exempt under art. 25 (intra-community supplies)
E6Exempt for other reasons

Codes for received invoices

The received invoices book has its own list of regime codes, different from the issued invoices one. It is in the record layouts of the AEAT SII portal.

How to combine codes

An invoice carries 1 to 3 regime codes; the first one is the main one. Not every combination is valid: for example, 01 only accepts 02 as an additional code. The other combinations are in the record layouts of the AEAT SII portal.

Verifactu uses its own code lists: don’t mix them up. See the Verifactu examples.

Codes in the SII API

In the SII API the codes go in clave_regimen (a list of 1 to 3), tipo_factura, tipo_rectificativa, tipo_no_exenta and causa_exencion. The API validates each invoice before sending it, key combinations and the fields each key requires included, and any error comes back with a code.

Full invoice F1, general regime
POST https://api.verifacti.com/sii/create
{
  "ejercicio": "2026",
  "periodo": "11",
  "serie": "A",
  "numero": "1",
  "fecha_expedicion": "19-11-2026",
  "tipo_factura": "F1",
  "clave_regimen": ["01"],
  "descripcion": "Factura normal",
  "nombre": "Nombre cliente",
  "nif": "A15022510",
  "desglose": {
    "no_exenta": {
      "tipo_no_exenta": "S1",
      "detalle_iva": [
        { "tipo_impositivo": "21", "base_imponible": "200", "cuota_repercutida": "42" }
      ]
    }
  },
  "importe_total": "242"
}
Test environment and test NIF included

Questions about SII codes

Which code does a normal invoice carry in the SII?

01, general regime operation, with invoice type F1 (or F2 if it is simplified).

How many regime codes can an invoice carry?

1 to 3; the first one is the main one. Not every combination is valid: 01 only accepts 02 as an additional code.

Which code is used for renting business premises?

11 if subject to withholding, 12 if not, and 13 if both.

Are the codes for received invoices the same?

No. Received invoices have their own list in the AEAT record layouts.

Do SII codes work for Verifactu?

No. Verifactu has its own lists. See the Verifactu examples.

Try the SII API in the test environment

Send an invoice with its codes to the AEAT test environment with the free account.

Test environment and test NIF included