New Zealand Business Number (NZBN)
Detects New Zealand Business Numbers (NZBNs) — the 13-digit universal business identifier administered by MBIE. Every NZBN is a GS1 Global Location Number (GLN): the first two digits are 94 (the GS1 prefix identifying New Zealand entities), the next ten digits are the business entity identifier, and the final digit is a GS1 mod-10 check digit. A bare 13-digit run has a phone-number-sized collision surface (NZ mobile/landline numbers, card fragments, timestamps), so every tier requires the number to be directly attached to an NZBN label — label-embedded-in-regex counts as label gating per the D1 decision record. There is deliberately no bare unlabelled tier.
- Type
- regex
- Engine
- universal
- Confidence
- medium
- Confidence justification
- Medium confidence: the 94 GS1 prefix plus fixed 13-digit length is a solid structural signal, but 13-digit runs collide with phone numbers and other identifiers, and the GS1 mod-10 check digit cannot be enforced in the exported SIT. The label-embedded regex is the evidence gate for every tier (75 workhorse per the D1 convention); the 85 tier additionally requires NZ business-registry keywords in proximity.
- Jurisdictions
- nz
- Regulations
- Privacy Act 2020 (NZ), Companies Act 1993 (NZ)
- Frameworks
- ISO 27001, ISO 27701, SOC 2
- Data categories
- business-identifier
- Scope
- narrow
- Risk rating
- 4
- Platform compatibility
- Purview: Compatible, GCP DLP: Unsupported, Macie: Unsupported, Zscaler: Compatible, Palo Alto: Unsupported, Netskope: Unsupported
Pattern
(?i)\b(?:NZBN|New\s+Zealand\s+Business\s+Number|NZ\s+Business\s+Number)\b\s{0,3}(?:number|no\.?|is)?\s{0,3}[:#=-]{0,3}\s{0,3}94\d{2}(?:[\s-]?\d{4}){2}[\s-]?\d(?!\d)
Corroborative evidence keywords
NZBN, New Zealand Business Number, Companies Office, business.govt.nz, business register, data record, database record, record set, data extract, data export, database table, spreadsheet, data registry, registry entry, master data, bulk export, data dump
Proximity: 300 characters
Should match
NZBN: 9429041234563— NZBN label with colon and solid 13-digit 94-prefixed number (GS1 mod-10 check digit valid)NZBN 9429 0412 3456 3— NZBN label with space-grouped number (4-4-4-1, GS1 mod-10 check digit valid)New Zealand Business Number 9429031547895— Full label form with solid 13-digit number (GS1 mod-10 check digit valid)The NZBN is 9429041234563 for invoicing purposes— Prose form with "is" between label and number
Should not match
9429041234567— Bare 13-digit 94-prefixed number with no NZBN label — bare digit runs are never matchedNZBN: 4321098765432— 13 digits not starting with the GS1 New Zealand prefix 94NZBN: 942904123456— Only 12 digits, one short of the GLN lengthNZBN 9429 0412 3456 7890— 16-digit card-like number — the trailing digit guard rejects NZBN-prefixed longer runsCall us on +64 21 123 4567 about your NZBN application— NZ phone number near the NZBN keyword but not label-attached and not 94-prefixed
Known false positives
- 13-digit runs are common — NZ phone numbers written with country code, EAN-13 barcodes (which share the GS1 GLN format and 94-prefix space), card-number fragments and timestamps all collide with an unlabelled NZBN. Mitigation: The regex only matches when the number is directly attached to an NZBN label; there is no bare tier. EAN-13 product barcodes beginning 94 are the closest collision but rarely appear label-attached to "NZBN".
- The GS1 mod-10 check digit is not enforced in the exported SIT, so a label-attached 13-digit 94-prefixed number with an invalid check digit still matches, and repeated-digit sentinels pass any weighted-mod checksum. Mitigation: AllDigitsSameFilter drops repeated-digit values; downstream consumers can verify candidates against the NZBN register API for authoritative validation.