calculate_net_salary
Estimated take-home pay from a monthly gross salary: worker BPJS deductions (JHT, JP, JKN), PPh 21 by the PP 58/2023 TER table or the December annual recalculation, and the employer's own contributions, each line with its decree. Give gross, or regency_code to use that kabupaten/kota UMK. An estimate; the employer payslip decides.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jp | No | Whether Jaminan Pensiun applies, default true | |
| jkn | No | Whether BPJS Kesehatan applies, default true | |
| ptkp | Yes | PTKP status | |
| gross | No | Monthly gross salary in rupiah; omit when regency_code is given | |
| month | No | monthly (TER, January to November) or december (annual recalculation), default monthly | |
| jp_cap | No | JP wage cap in rupiah; default is the stored 2026 cap (Rp10.547.400), give it to use another | |
| jkk_band | No | JKK risk band of the employer; default sangat_rendah (the lowest band, 0,24%) | |
| regency_code | No | Use this kabupaten/kota newest UMK as the gross, optional | |
| jkn_employer_taxable | No | Count the employer JKN premium as taxable income, default true |