Shape, check digit, accepted and refused examples and the API call for NZBN or charity number in New Zealand. Every example on this page is run through the same validators as the free identifier validator, so a value shown as accepted is a value the validator accepts.
| Field | Value |
|---|---|
| Register | Charities Register (Charities Services, DIA; charities, not companies) |
| Shape | N{12} C | CC N{3,6} |
| Check digit | Enforced. An NZBN has 13 digits with the GS1 check digit; a charity number is CC and 3 to 6 digits. Spaces, hyphens and a leading NZBN are ignored. |
| Worked example (accepted) | 9429000106078 |
| Normalised form | 9429000106078 |
| Also accepted as input | 9429 0001 0607 8 · CC10000 |
| A one-character slip | 9429000106070 is refused |
| Regex (normalised form) | ^([0-9]{13}|CC[0-9]{3,6})$ |
| API call | GET /companies/search?country=NZ&company_number=9429000106078 |
| VAT number | The register data holds no VAT number for this identifier. |
The data is the Charities Register of Charities Services: registered and deregistered charities that are legal entities, not companies and not the company register of New Zealand; a business that is not a charity is absent. There is no VAT number in the data, so a vat search is refused. Updated weekly.
curl "https://api.prometiam.com/functions/v1/risk-api/companies/search?country=NZ&company_number=9429000106078" \ -H "Authorization: Bearer YOUR_API_KEY"
Shape notation: N digit · L letter · X digit or letter · C check digit or character · {n} repeat n times.
A valid shape and check digit prove that a number is well-formed, not that a company holds it. Only a lookup in the register answers that.
Register data that the API serves for New Zealand carries this credit:
Contains data from the Charities Register of Charities Services, Department of Internal Affairs of New Zealand (http://www.odata.charities.govt.nz/), licensed under the Creative Commons Attribution 3.0 New Zealand licence (https://creativecommons.org/licenses/by/3.0/nz/). Adapted by Prometiam (registered and deregistered charities that are legal entities, one record per charity); not New Zealand's company register and not an official extract.
The free trial lasts 14 days and includes 500 credits. A card is required and nothing is charged during the trial; it then continues as Starter (EUR 9.99/month) unless you cancel.