LATAM Payroll icon

LATAM Payroll

LATAM Payroll Calculations - Vacation, Bonus, Severance, Deductions

Gross from Net

AI-generated

Summary

Calculate gross monthly salary from desired net salary for the selected LATAM country.

Inputs

  • liquidoDeseado (required) — Desired net salary to reverse‑engineer from, in currency units. Default 0. Only parameter shown for bruto_liquido operation.
  • pais (required) — Country selector. Options: chile, mexico, argentina, colombia, peru, brasil, ecuador, espana. Default chile. Filters which conditional parameters appear.

Output shape

Country‑specific object returned by the node's execute method. All outputs proportionalize the salary by diasTrabajados/diasMes unless a full month is worked. Common fields across countries include a gross salary base (sueldoBrutoBase/salarioBrutoBase/sueldoBrutoProporcional etc.), the calculated gross amount, and a deductions breakdown. Exact property names depend on the selected pais.

The operation reads liquidoDeseado and country‑specific parameters (e.g., afpChile, saludPct for Chile; zonaFrontera, valesDespensa for Mexico; obraSocialPct, sindicatoPct for Argentina; incluyeAuxilioTransporte, bonosNoSalariales for Colombia; sistemaPension for Peru; dependentesBrasil, valeTransporte for Brasil; fondosReserva, bonosNoGravablesEcuador for Ecuador; pagas for España) and inverts the net‑to‑gross calculation using each country's tax/benefit tables from the source code.

Examples

Example 1: Chile: desired net 500000, AFP modelo, health 7%, 30 days in month, 25 days worked

pais=chile, operation=bruto_liquido, liquidoDeseado=500000, afpChile=modelo, saludPct=7, diasMes=30, diasTrabajadosChile=25

Links

Discussion