Available schemes
Ordinario
Theordinario scheme covers employees under Peruvian private labor law (Regimen General, D.Leg. 728 / TUO D.S. 003-97-TR). Includes health insurance (EsSalud), pension contributions (ONP or AFP), and income tax withholding (Renta de 5ta Categoria).
What it calculates
Employee deductions (descuentos):- ONP — National pension system contribution (13%), or
- AFP — Private pension system combined rate (~12.82%): 10% fund + ~1.35% disability/survival insurance + ~1.47% flow commission
- Renta 5ta Categoria — Monthly income tax withholding (projected annual method)
- EsSalud — Health insurance (9% of insurable remuneration, minimum base 1 RMV)
- Remuneracion basica — Base monthly salary
- Asignacion familiar — Family allowance: 10% of RMV (Ley 25129, via flag)
- Horas extras — Overtime (pre-calculated by client with 25%/35% surcharge)
- Gratificacion legal — Legal bonus: equivalent to 1 monthly salary (July and December, via flag)
- Bonificacion extraordinaria — 9% of gratificacion, paid to employee in lieu of EsSalud (Ley 29351, auto-calculated when gratificacion applies)
Employee inputs
regimen_onpandregimen_afpare mutually exclusive — set exactly one totrue.
Pension system: ONP vs AFP
Peru has two pension systems. The client must indicate which one applies per employee:
The AFP rate of 12.82% is an industry average for 2025–2026. Individual AFP rates vary slightly (Prima, Integra, Habitat, Profuturo differ by less than 0.15%).
Gratificaciones and EsSalud exemption
Gratificaciones (July/December) are exempt from EsSalud and ONP under Ley 30334. Instead, the employer must pay the employee a bonificacion extraordinaria of 9% of the gratificacion (Ley 29351) — this is automatically calculated whenpaga_gratificacion = true.
Gratificaciones are subject to IR 5ta Categoria.
Renta 5ta Categoria — projection method
The engine uses a simplified annual projection (not the exact SUNAT year-to-date method): renta_anual_proyectada = (remuneracion_basica + asignacion_familiar) × 14.18 base_gravable_anual = max(renta_anual_proyectada − 7 × UIT, 0) impuesto_anual = apply_bracket(base_gravable_anual, escala_5ta) retencion_mensual = impuesto_anual / 12 The factor 14.18 represents: 12 months + 2 gratificaciones × (1 + 0.09 bonificacion extraordinaria) = 12 + 2 × 1.09 = 14.18. Overtime for the current month is not annualized (treated as one-time). For payrolls with frequent overtime, the client should account for this externally.Key reference values
2025 RMV note: Two values apply — S/1,025 until April 30 (D.S. 004-2022-TR) and S/1,130 from May 1 (D.S. 005-2025-TR).
IR 5ta Categoria brackets
The scale is permanent in UIT terms (TUO Ley IR Art. 53). The PEN amounts change each year as the UIT is updated. 2025 (UIT = S/ 5,350):
2026 (UIT = S/ 5,500):