Datatypes

New Zealand bank account number

ID nz_bankaccount

DatatypeNot PIIidentifierDraft

This record is a draft: it has not been reviewed yet and may be incomplete or wrong. Do not rely on it for compliance decisions. Help improve it (see CONTRIBUTING.md).

Bank account number in New Zealand: two digits for the bank, four for the branch, seven for the account base number and two or three for the account suffix, usually separated by hyphens. The bank and branch determine the check algorithm.

Parent datatype
Bank account bankaccount
Categories
Finances and banking
Countries
New Zealand
Languages
English
W3C DPV
pd:BankAccount
Microsoft Purview
New Zealand bank account number
python-stdnum
stdnum.nz.bankaccount
Quality
95/100 · missing: translation
Metacrafter rules
no detection rule yet
Supported by tools
Azure AI Language PII detection, DataPrep, Microsoft Purview Data Loss Prevention, python-stdnum, Snowflake sensitive data classification

Regular expression

^\d{2}[- ]?\d{4}[- ]?\d{7}[- ]?\d{2,3}$

Python re syntax.

Examples

ValueDescription
02-0552-0410366-070Synthetic number with a valid check digit
02-0208-0649925-077Synthetic number with a valid check digit
02055204103660707 invalidOne character too many

Sources

Use this record