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

# CRA program account number (`caprogramacct`)

CA datatype for 'CRA program account number' (caprogramacct) 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}R[A-Z][0-9]{4}$
```

## Examples

- `123456789RP0001` — CRA payroll deductions program account with 9-digit Business Number, 'RP' program identifier and 4-digit reference
- `987654321RT0002` — CRA GST/HST program account with 9-digit Business Number, 'RT' program identifier and 4-digit reference
- `123456789RC0001` — CRA corporate income tax program account with 9-digit Business Number, 'RC' program identifier and 4-digit reference

## Mappings

- stdnum: `ca.bn`

## Metacrafter rules

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

- `caprogramfield` (field, `ca/ca_tax.yaml`)
- `caprogramvalue` (data, `ca/ca_tax.yaml`)

## Supported by tools

- `metacrafter`

## Sources

- doc: <https://www.canada.ca/en/revenue-agency/services/tax/businesses/topics/changes-your-business/understand-your-business-number.html>

## Quality

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

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