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

FieldTypeDescription
folioNumberInvoice folio number
fecha_emisionString (date-time)Invoice issue date
rut_emisorStringIssuer's RUT (tax ID)
nombre_emisorStringIssuer's name or company name
rut_receptorStringRecipient's RUT (tax ID)
nombre_receptorStringRecipient's name or company name
total_netoNumberNet total before taxes
ivaNumberVAT amount
totalNumberFinal total including taxes

Detail fields

FieldTypeDescription
descripcionStringProduct or service description
unidadStringUnit of measurement
cantidadNumberQuantity of products/services
precio_unitarioNumberPrice per unit
precio_totalNumberTotal 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_total from detail should match total_neto

On this page