New Zealand Passport Number
Detects New Zealand passport numbers issued by the Department of Internal Affairs (Te Tari Taiwhenua). Modern New Zealand e-passports use two uppercase letters (such as the L, E, F, D, O, or T series) followed by six digits (8 characters total).
- Type
- regex
- Engine
- universal
- Confidence
- medium
- Confidence justification
- Medium confidence: two uppercase letters plus six digits is concise and can overlap serial numbers or booking references without travel-document keywords within 300 characters.
- Jurisdictions
- nz
- Regulations
- Privacy Act 2020 (NZ)
- Frameworks
- ISO 27001, ISO 27701
- Data categories
- pii, government-id
- Scope
- narrow
- Risk rating
- 5
- Platform compatibility
- Purview: Compatible, GCP DLP: Compatible, Macie: Compatible, Zscaler: Compatible, CrowdStrike DLP: Compatible, Palo Alto: Adapted from Purview, Netskope: Adapted from Purview
Pattern
(?-i)\b([DEFHKLMNOPRT][A-Z]\d{6})\b
Corroborative evidence keywords
New Zealand passport, NZ passport, passport number, passport no, travel document, Department of Internal Affairs, Te Tari Taiwhenua
Proximity: 300 characters
Should match
LA123456— Modern L-series New Zealand e-passport numberNZ Passport No: EA654321— Labelled E-series New Zealand passport numberLM908172— Two-letter L-series prefix with six digits
Should not match
ZA123456— Leading Z is not an issued New Zealand passport series prefixLA12345— Five digits (one short of required six digits)Please bring your New Zealand passport to the check-in desk— Prose reference with no passport number
Known false positives
- Invoice numbers, asset tags, or flight/booking codes consisting of two uppercase letters and six digits. Mitigation: Require passport or Department of Internal Affairs corroborative keywords within 300 characters at enforcing tiers.
References
- New Zealand Passports (Te Tari Taiwhenua / Department of Internal Affairs)
- New Zealand Passport Number entity definition - Microsoft Learn