calculate_thirteenth_salary
Compute Brazilian thirteenth salary installments, including INSS and IRRF deductions for the second installment, based on gross salary, months worked, and dependents.
Instructions
Calcula o décimo terceiro salário — 1ª parcela, 2ª parcela com descontos de INSS e IRRF.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| salary | Yes | Salário bruto mensal em R$ | |
| dependents | No | Dependentes para IRRF | |
| months_worked | Yes | Meses trabalhados no ano (1-12) |