Hold a current residence class visa, and
Have been living in New Zealand for at least the immediately preceding 12 months – not just visiting, and
Have been present in New Zealand for 183 days or more of those 12 months, and
Be a New Zealand tax resident.