---
id: "cabn"
kind: "datatype"
status: "stable"
is_pii: false
categories: ["finances"]
country: ["CA"]
langs: ["en"]
quality: 90
url: "http://registry.apicrafter.io/datatype/cabn"
---

# Canada Business Number (`cabn`)

CA datatype for 'Canada Business Number' (cabn) from rules in context 'finances'.

- Personal data (PII): no
- Categories: Finances and banking (finances)
- Countries: Canada (CA)
- Languages: English (en)
- Classification: identifier

## Detection

Regular expression (Python `re`):

```
^[0-9]{9}$
```

## Examples

- `123456789` — Canada Business Number with 9 digits
- `987654321` — Another valid Canada Business Number with 9 digits

## Mappings

- fibo: <https://spec.edmcouncil.org/fibo/ontology/FBC/FunctionalEntities/NorthAmericanEntities/CARegulatoryAgencies/BusinessNumber>
- orgid: `CA-CRA_ACR`
- stdnum: `ca.bn`
- wikidata: `P8860`

## Metacrafter rules

2 rules: 1 match the field name, 1 match values.

- `cabnfield` (field, `ca/ca_tax.yaml`)
- `cabnvalue` (data, `ca/ca_tax.yaml`)

## Supported by tools

- `dataprep`
- `metacrafter`
- `pythonstdnum`

## Sources

- doc: <https://www.canada.ca/en/revenue-agency/services/tax/businesses/topics/registering-your-business/business-number.html>
- wikidata: <https://www.wikidata.org/wiki/Property:P8860>

## Quality

Score 90/100. Missing: negative example, translation.

JSON: <http://registry.apicrafter.io/api/v1/datatypes/cabn.json> · Edit: <https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/CA/finances/cabn.yaml>
