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
| Value | Description |
|---|---|
| 02-0552-0410366-070 | Synthetic number with a valid check digit |
| 02-0208-0649925-077 | Synthetic number with a valid check digit |
| 02055204103660707 invalid | One character too many |
Sources
- wikipedia: https://en.wikipedia.org/wiki/New_Zealand_bank_account_number
- other: https://arthurdejong.org/python-stdnum/doc/2.2/stdnum.nz.bankaccount.html
- other: https://docs.dataprep.ai/user_guide/clean/clean_nz_bankaccount.html
Use this record
- Page URL:
http://registry.apicrafter.io/datatype/nz_bankaccount - JSON: API v1 · legacy shape (used by metacrafter) · Markdown (for LLMs)
- Improve it: edit
data/datatypes/NZ/finances/nz_bankaccount.yamlon GitHub