IR526 Can I claim a tax credit?
You can claim a tax credit if you’re an individual (not a company, trust or partnership) and you:
earned taxable income (for example, salary, wages, benefit, self-employed income, interest) in the income year you’re claiming for, and
were a New Zealand resident for tax purposes at any time during the tax year.