NZ income tax refund or bill for a year
Estimate a New Zealand tax refund, and show where it comes from.
A refund is simply what was deducted minus what was actually owed. PAYE comes out of each pay as though that pay continued all year, so anything that made the year uneven leaves too much deducted.
The two usual causes are both broken out in the response. part_year_over_deducted is what a short year over-deducts, and is often the entire refund. secondary_over_deducted is what a second job's flat code took beyond what that income actually cost at your marginal rate. Both are already inside refund_or_bill rather than being additional to it.
Give paye_deducted from your payslips or IRD summary for a real answer. If you leave it out, it is estimated from tax_code and months_worked, which needs nothing from IRD and is correspondingly rougher.
Say whether ACC is inside that figure. Most payslips lump the earner levy in with PAYE, and it is not income tax, so counting it would invent a refund of up to $2,741 that does not exist.
refund_or_bill is POSITIVE for a refund and NEGATIVE for tax owed. The website shows the same number as a positive figure with a separate label, so read is_refund rather than assuming.
The donations credit and the student loan square-up are returned but are NOT in refund_or_bill, because IRD settles them separately.
2024-25 is approximate and says so: the thresholds moved part way through that year, so blended rates apply.
Salary and wages only. Not self-employed or rental income, not Working for Families, and IRD's own automatic assessment is the figure that counts.
Request
- Base URL: https://api.calculate.co.nz
- URL: https://api.calculate.co.nz/v1/tax-refund
- Auth: API key in header X-API-Key
Request body
Example request
{
"acc_included_in_paye": true,
"gross_income": 62000,
"months_worked": 8,
"paye_deducted": 12800,
"tax_year": "2026-27"
}Response
The refund or amount owing, and every part it is made of.
Example response
{
"disclaimer": "Estimate only. IRD issues an automatic income tax assessment for most people and its figure is the one that counts. Salary and wages only: this does not cover self-employed or rental income, Working for Families, or losses carried forward. Not tax advice.",
"result": {
"acc_levy": 1085,
"approximate": false,
"correct_tax": 10820.5,
"donations_claimed": 0,
"donations_credit": 0,
"gross_income": 62000,
"ietc_credit": 520,
"is_refund": true,
"months_worked": 8,
"net_tax_due": 10300.5,
"part_year_over_deducted": 2891.17,
"paye_credit": 11715,
"paye_deducted": 12800,
"refund_or_bill": 1414.5,
"secondary_income": 0,
"secondary_over_deducted": 0,
"secondary_tax_paid": 0,
"secondary_tax_true_cost": 0,
"student_loan_deducted": 0,
"student_loan_difference": 0,
"student_loan_due": 0,
"tax_year": "2026-27",
"tax_year_label": "2026/27"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.