Electronic Invoice
Detailed documentation of the Electronic Invoice data structure
Electronic Invoice from SII (Chile) with issuer, recipient, and product/service details.
Document type code: factura
Response structure
{
"data": {
"extractedData": {
"folio": 123456,
"fecha_emision": "2023-11-15T00:00:00Z",
"rut_emisor": "98.765.432-1",
"nombre_emisor": "Commercial Company S.A.",
"rut_receptor": "12.345.678-9",
"nombre_receptor": "Juan Pérez González",
"detalle": [
{
"descripcion": "HP Pavilion Notebook",
"unidad": "Unit",
"cantidad": 2,
"precio_unitario": 450000,
"precio_total": 900000
},
{
"descripcion": "Wireless Mouse",
"unidad": "Unit",
"cantidad": 2,
"precio_unitario": 25000,
"precio_total": 50000
}
],
"total_neto": 950000,
"iva": 180500,
"total": 1130500
}
}
}Main fields
| Field | Type | Description |
|---|---|---|
folio | Number | Invoice folio number |
fecha_emision | String (date-time) | Invoice issue date |
rut_emisor | String | Issuer's RUT (tax ID) |
nombre_emisor | String | Issuer's name or company name |
rut_receptor | String | Recipient's RUT (tax ID) |
nombre_receptor | String | Recipient's name or company name |
total_neto | Number | Net total before taxes |
iva | Number | VAT amount |
total | Number | Final total including taxes |
Detail fields
| Field | Type | Description |
|---|---|---|
descripcion | String | Product or service description |
unidad | String | Unit of measurement |
cantidad | Number | Quantity of products/services |
precio_unitario | Number | Price per unit |
precio_total | Number | Total price for the line |
Important considerations
- It is an official tax document from Chile's SII
- The folio is unique for each issuer
- VAT is calculated on the net total according to the current rate
- RUT must be in valid Chilean format
- Each detail line represents a billed product or service
- The sum of all
precio_totalfrom detail should matchtotal_neto