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
| Field | Type | Description |
|---|---|---|
empleado | String | Employee's full name |
rut | String | Employee's RUT (tax ID) |
cargo | String | Job position or title |
empresa | String | Company name |
periodo | String | Payroll period |
fecha_pago | String (date-time) | Payment date |
dias_trabajados | Number | Days worked in the period |
sueldo_base | Number | Base salary |
total_haberes | Number | Total earnings (base + bonuses) |
total_descuentos | Number | Total deductions |
liquido_a_pagar | Number | Net amount to be paid |
Earnings (haberes) fields
| Field | Type | Description |
|---|---|---|
concepto | String | Earnings concept (overtime, bonus, etc.) |
cantidad | Number | Quantity (hours, units, etc.) |
valor_unitario | Number | Unit value |
total | Number | Total amount for this earning |
Deductions (descuentos) fields
| Field | Type | Description |
|---|---|---|
concepto | String | Deduction concept (AFP, health, tax, etc.) |
porcentaje | Number (nullable) | Percentage applied, if applicable |
total | Number | Total 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)