Payroll

Detailed documentation of the Payroll data structure

Detailed payslip with salary information, deductions, bonuses, and net payment calculations.

Document type code: liquidacion_sueldo

Response structure

{
  "data": {
    "extractedData": {
      "empleado": "Carlos Mendoza Ruiz",
      "rut": "15.678.432-9",
      "cargo": "Software Developer",
      "empresa": "Innovate Tech S.A.",
      "periodo": "November 2023",
      "fecha_pago": "2023-11-30T00:00:00Z",
      "dias_trabajados": 22,
      "sueldo_base": 1200000,
      "haberes": [
        {
          "concepto": "Overtime Hours",
          "cantidad": 8,
          "valor_unitario": 15000,
          "total": 120000
        },
        {
          "concepto": "Performance Bonus",
          "cantidad": 1,
          "valor_unitario": 100000,
          "total": 100000
        }
      ],
      "descuentos": [
        {
          "concepto": "AFP Contribution",
          "porcentaje": 10,
          "total": 120000
        },
        {
          "concepto": "Health Insurance",
          "porcentaje": 7,
          "total": 84000
        },
        {
          "concepto": "Income Tax",
          "porcentaje": null,
          "total": 45000
        }
      ],
      "total_haberes": 1420000,
      "total_descuentos": 249000,
      "liquido_a_pagar": 1171000
    }
  }
}

Main fields

FieldTypeDescription
empleadoStringEmployee's full name
rutStringEmployee's RUT (tax ID)
cargoStringJob position or title
empresaStringCompany name
periodoStringPayroll period
fecha_pagoString (date-time)Payment date
dias_trabajadosNumberDays worked in the period
sueldo_baseNumberBase salary
total_haberesNumberTotal earnings (base + bonuses)
total_descuentosNumberTotal deductions
liquido_a_pagarNumberNet amount to be paid

Earnings (haberes) fields

FieldTypeDescription
conceptoStringEarnings concept (overtime, bonus, etc.)
cantidadNumberQuantity (hours, units, etc.)
valor_unitarioNumberUnit value
totalNumberTotal amount for this earning

Deductions (descuentos) fields

FieldTypeDescription
conceptoStringDeduction concept (AFP, health, tax, etc.)
porcentajeNumber (nullable)Percentage applied, if applicable
totalNumberTotal deducted amount

Important considerations

  • Official payroll document for employment in Chile
  • Net pay = Total earnings - Total deductions
  • AFP and health contributions are mandatory in Chile (typically 10% and 7%)
  • Income tax varies based on salary brackets
  • Days worked affects proportional salary calculations
  • Essential document for employment verification and loan applications
  • All amounts are in Chilean pesos (CLP)

On this page