nz_final_pay_calculator
Work out a New Zealand final pay: leave payout, holidays, notice and redundancy.
Use for: 'what should my final pay be', 'how much annual leave am I owed
when I leave', 'I am resigning, what do they owe me', 'do I get 8% holiday
pay'.
ASK HOW LONG THEY WORKED THERE FIRST. It decides the whole calculation:
- Under 12 months: no annual holiday entitlement has arisen, so the
Holidays Act pays 8% of ALL gross earnings during the employment. Set
service="under12" and pass gross_earnings_total. A leave balance
showing in a payroll system is NOT what they are owed.
- 12 months or more: TWO amounts. The untaken entitlement from
completed years (leave_balance_days), PLUS 8% of gross earnings since
the last work anniversary (earnings_since_anniversary: ask for it,
leaving it out understates), and those earnings include the leave,
holidays and notice pay paid out. Set service="over12".
leave_balance_days is the ENTITLEMENT that arose at an anniversary and has
not been taken. A payslip "leave balance" usually also counts leave
accruing since the anniversary, which the 8% already pays for; MBIE says
paying out an accrued balance is non-compliant and may underpay. Ask which
it is.
Also ask about alternative holidays owed, public holidays the untaken
entitlement would have covered if taken straight after the last day, and
how many days a week they work (days_per_week). Holiday pay already paid
in advance or as pay as you go comes off the 8%. Notice pay in lieu counts
towards the 8%; redundancy does not unless redundancy_in_eight_percent_base
is set (MBIE's position; the courts have not decided it).
ALWAYS say what the total leaves out: ordinary wages for days actually
worked are paid on top at the usual rate, and every figure is GROSS. The
leave payout and any redundancy are taxed as lump sums (extra pays),
which is nz_lump_sum_tax_calculator.
New Zealand has NO statutory redundancy pay. If they ask what redundancy
they are entitled to, the answer is whatever their employment agreement
says, and nothing if it says nothing.
Args:
annual_salary: Annual salary. Give this OR hourly_rate.
hourly_rate: Hourly rate, used with hours_per_week.
hours_per_week: Ordinary weekly hours, for an hourly rate.
service: "over12" or "under12".
leave_balance_days: Untaken entitlement from completed years, in days
(over12). Not leave accruing since the anniversary.
gross_earnings_total: All gross earned, required for under12.
average_weekly_earnings: Optional. Leave is paid at the greater of this
and ordinary weekly pay; pass it if their pay varied.
notice_weeks: Weeks of notice paid in lieu.
redundancy: Agreed redundancy from the employment agreement.
earnings_since_anniversary: Over12: gross earned since the last
anniversary, including final wages, bonus and commission.
public_holidays_days: Over12: public holidays the untaken entitlement
would have covered (Holidays Act s40).
alternative_holidays_days: Alternative holidays not taken.
relevant_daily_pay: Optional daily rate for those holidays; weekly pay
/ days_per_week if not given.
holiday_pay_already_paid: Annual holiday pay already paid in advance
or as pay as you go.
days_per_week: Days worked in a normal week (default 5).
redundancy_in_eight_percent_base: Include redundancy in the 8%.
Returns:
Annual holiday pay (untaken entitlement plus the 8%) with its working
shown, public and alternative holidays, notice pay, redundancy, the
gross total, and an explicit list of what is excluded.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "nz_final_pay_calculator"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| service | No | over12 | |
| redundancy | No | ||
| hourly_rate | No | ||
| notice_weeks | No | ||
| annual_salary | No | ||
| days_per_week | No | ||
| hours_per_week | No | ||
| leave_balance_days | No | ||
| relevant_daily_pay | No | ||
| gross_earnings_total | No | ||
| public_holidays_days | No | ||
| average_weekly_earnings | No | ||
| holiday_pay_already_paid | No | ||
| alternative_holidays_days | No | ||
| earnings_since_anniversary | No | ||
| redundancy_in_eight_percent_base | No |