New Zealand IRD Number Generator
Generate synthetic New Zealand 8/9-digit IRD numbers with the weighted Mod-11 check — synthetic mock data only
For Development & Testing Purposes Only - Synthetic Mock Data
Settings
1 valueGenerates one value with a valid checksum. Press ⌘/Ctrl+Enter for a fresh one.
Generated value
No value yet
Set options, then press Generate.
Generated values are valid in shape but randomized (Test Data).
About this tool
The New Zealand IRD Number Generator creates synthetic New Zealand IRD number (8 or 9 digits) identifiers for software QA, onboarding, e-invoicing, and ERP integration testing. The IRD number is the tax number Inland Revenue (Te Tari Taake) gives individuals and businesses; GST-registered businesses use it as their GST number.
8 or 9 digits (padded to 9) in the issued range. Weights 3,2,7,6,5,4,3,2 give a mod-11 check digit; when it is 10, a second weight set 7,4,3,2,5,2,7,6 is tried. Switch to the Validate tab to check existing values, or use Bulk to generate up to 500 test records and export them as JSON, CSV, SQL, TypeScript, Python, or Go arrays. All generation and validation run locally in your browser.
Need 13-digit business numbers? Use the New Zealand NZBN Generator (/nzbn-generator); the two numbers are issued independently.
How to use this tool
Choose format or standard
Select the New Zealand format variant if multiple options are available.
Generate or validate
Generate one test value, validate an existing string, or switch to Bulk for 1–500 records.
Export locally
Copy or download JSON, CSV, or SQL test fixtures. Never use synthetic IDs for real filings.
New Zealand IRD number (8 or 9 digits) specification
| Attribute | Rule |
|---|---|
| Country | New Zealand |
| Standard | IRD number (8 or 9 digits) |
| Format & Checksum | 8 or 9 digits (padded to 9) in the issued range. Weights 3,2,7,6,5,4,3,2 give a mod-11 check digit; when it is 10, a second weight set 7,4,3,2,5,2,7,6 is tried. |
Synthetic test data only; does not query government registries or verify real entities.
Frequently asked questions
Are generated New Zealand IRD numbers real?
No. Every generated value is synthetic mock data that satisfies the IRD number (8 or 9 digits) format and checksum rules for QA and development testing only.
How does the New Zealand IRD Number Generator validate numbers?
8 or 9 digits (padded to 9) in the issued range. Weights 3,2,7,6,5,4,3,2 give a mod-11 check digit; when it is 10, a second weight set 7,4,3,2,5,2,7,6 is tried. All checks run 100% client-side in your browser.
Who issues the IRD?
The IRD number is the tax number Inland Revenue (Te Tari Taake) gives individuals and businesses; GST-registered businesses use it as their GST number.
Can I export bulk test data?
Yes. Switch to the Bulk tab to generate 1–500 values and export JSON, CSV, SQL INSERT, TypeScript, Python, or Go arrays.
Related tools
New Zealand NZBN Generator
Generate and validate synthetic 13-digit New Zealand Business Numbers (NZBN).
Australia ABN Generator
Generate and validate 11-digit Australian Business Numbers (ABN) using weighted Mod-89.
Australia TFN Generator
Generate and validate 9-digit Australian Tax File Numbers (TFN) using weighted Mod-11.
GST Number Generator
Generate India GSTIN, Australia ABN, Canada GST/HST, New Zealand and Singapore GST test identifiers.
Tax ID Validator
Auto-detect and validate VAT, EIN, TIN and GST identifiers with batch checksum reporting.