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)
| Code | Description |
|---|---|
01 | General regime operation |
02 | Export |
03 | Special regime for second-hand goods, works of art, antiques and collectors’ items (REBU) |
04 | Special regime for investment gold |
05 | Special regime for travel agencies |
06 | Special regime for VAT groups (advanced level) |
07 | Special cash accounting regime |
08 | Operations subject to IPSI or IGIC |
09 | Services of travel agencies acting as intermediaries in the name and on behalf of others |
10 | Collections on behalf of third parties |
11 | Business premises rental subject to withholding |
12 | Business premises rental not subject to withholding |
13 | Business premises rental both subject and not subject to withholding |
14 | Invoice with VAT pending accrual on works certifications for a public administration |
15 | Invoice with VAT pending accrual on successive supply operations |
16 | First half of 2017 and invoices prior to joining the SII |
17 | Operation under one of the regimes of Chapter XI of Title IX (OSS and IOSS) |
Invoice types
| Type | Description |
|---|---|
F1 | Full invoice |
F2 | Simplified invoice |
F3 | Invoice issued to replace simplified invoices |
F4 | Summary entry of invoices |
R1 | Corrective invoice (error based on law and art. 80 One, Two and Six LIVA) |
R2 | Corrective invoice (art. 80.3) |
R3 | Corrective invoice (art. 80.4) |
R4 | Corrective invoice (other) |
R5 | Corrective 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
| Code | Description |
|---|---|
S1 | No reverse charge |
S2 | With reverse charge |
S3 | With and without reverse charge |
| Code | Description |
|---|---|
E1 | Exempt under art. 20 of the VAT Law |
E2 | Exempt under art. 21 (exports) |
E3 | Exempt under art. 22 |
E4 | Exempt under arts. 23 and 24 |
E5 | Exempt under art. 25 (intra-community supplies) |
E6 | Exempt 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.
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"
}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?
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?
Do SII codes work for Verifactu?
Try the SII API in the test environment
Send an invoice with its codes to the AEAT test environment with the free account.