estimate_payslip
Estimate Danish take-home pay for normal and bonus months, skattekort trækprocent, månedsfradrag, and year-end restskat from salary, bonus, and shares (2026 onward).
Instructions
Predict the skattekort (trækprocent, månedsfradrag) and what is actually paid out in a normal month and in the bonus month, plus the year-end restskat, from 2026 onwards.
Use this for questions about monthly take-home pay or what to enter in the
forskudsopgørelse. One scenario per call: the include_*_in_forskud flags say whether the
bonus and the shares are entered in the forskudsopgørelse; call twice to compare.
monthly_salary: DKK per month INCLUDING the employee's own pension share.
pension_*_pct: percent of monthly_salary (e.g. 4 and 8).
bonus: the year's total bonus in DKK, paid in bonus_payments equal parts (4 = quarterly). share_compensation: the year's RSU vest value in DKK.
Shares are B-income: the employer withholds nothing, so if they are left out of the
forskudsopgørelse the tax comes as restskat (year_end.restskat > 0); paying it
voluntarily before 31 December avoids interest.
share_withholding: "none" = shares are B-income, nothing withheld (skat.dk's general rule);
"traekprocent" = the employer keeps back shares to cover the tax at the skattekort's
percentage (withhold-to-cover, common in private companies); "fixed" = at
share_withholding_rate percent. Ask the employer which applies; see share_vest.
Cite the sources with the income year and flag any figure that is not 'verified'.
Assumptions are listed in dk_tax.calc.payslip. Not tax advice.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | Yes | ||
| bonus | No | ||
| kommune | Yes | ||
| atp_full_time | No | ||
| bonus_payments | No | ||
| monthly_salary | Yes | ||
| vests_per_year | No | ||
| pension_own_pct | No | ||
| other_deductions | No | ||
| bonus_has_pension | No | ||
| folkekirke_member | Yes | ||
| share_withholding | No | none | |
| net_capital_income | No | ||
| share_compensation | No | ||
| pension_employer_pct | No | ||
| share_withholding_rate | No | ||
| include_bonus_in_forskud | No | ||
| include_shares_in_forskud | No | ||
| within_15_years_of_pension | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kommune | Yes | ||
| payslip | Yes |