LATAM Payroll icon

LATAM Payroll

LATAM Payroll Calculations - Vacation, Bonus, Severance, Deductions

Net Salary

AI-generated

Summary

Calculates the net (take-home) monthly salary from a gross salary input for a selected LATAM country, applying country-specific tax, social security, and bonus adjustments.

Inputs

  • gross_salary (required) — Monthly gross salary (sueldoBruto)
  • country (required) — Country selection (chile, mexico, argentina, colombia, peru, brasil, ecuador, espana); defaults to chile

Output shape

The node returns an array of result objects, each containing: pais, sueldoBrutoProporcional, descuentos (object with afp/salud/cesantia/imprenta/retencion etc.), bonos (object with non-taxable bonuses), and sueldoLiquido.

Returned shape varies by country implementation but consistently includes net salary and a breakdown of proportional gross, deductions, and bonuses.

Examples

Example 1: Chile: Net salary calculation

Country=Chile, Gross Salary=1000000, AFP=modelo, Salud=7%, Days in Month=30, Days Worked=28, Meal Bonus=50000, Transport Bonus=30000, Other Non-Taxable Bonuses=20000. Result: sueldoLiquido computed per chileCalcularSueldoLiquido source logic.

Example 2: Mexico: Net salary with border zone

Country=Mexico, Gross Salary=500000, Border Zone=true, Days in Month=30, Days Worked=26, Food Vouchers=40000, Transport Allowance=20000, Other Non-Taxable Bonuses=10000. Result: sueldoLiquido computed per mexicoCalcularSueldoLiquido source logic.

Links

Discussion