Skip to contentRedact PII for your data. Get a quote

Coverage · New Zealand

New Zealand IRD number detection and redaction

OpenAnonymizer finds the New Zealand IRD number in text and replaces it with a placeholder. The number is confirmed by its official label and its check digits are verified. It runs on a CPU, with no GPU and no API calls.

At a glance

Country
New Zealand NZ
Format
IRD number
Placeholder
NZ_IRD1Each distinct value gets its own number: NZ_IRD_1, NZ_IRD_2, and so on.
How it is confirmed
ChecksumOfficial label and checksum
Used for
Identifying individuals and businesses to Inland Revenue (Te Tari Taake), for tax, KiwiSaver and student loans.

About the IRD number

The IRD number is eight or nine digits; the last is a check digit.

How OpenAnonymizer handles it

Checked by checksum. The format's check digits are verified, so most mistyped or made-up numbers fail. A number with the right label and shape is still masked when its checksum fails, so a typo doesn't let it through.

  • It runs locally on a CPU, with no GPU and no API calls, so the text never leaves your machine.
  • Every package ships every detector, so this format is covered in each of them.
  • It covers 34 languages.
How a match is decided

The same country, or the same kind of number elsewhere.