---
id: "us_irs_activity_code"
kind: "datatype"
status: "draft"
is_pii: false
categories: ["companies", "government"]
country: ["US"]
langs: ["en"]
quality: 85
url: "https://registry.apicrafter.io/datatype/us_irs_activity_code"
---

# IRS activity codes of an exempt organization (`us_irs_activity_code`)

> **Draft.** Draft records have not been reviewed yet and may be incomplete or wrong; do not treat them as authoritative for legal or compliance decisions.

Activity codes of a US tax-exempt organization in the IRS Exempt Organizations Business Master File: up to three three-digit codes of its activities written as one nine-digit number, as in 031150120 (codes 031, 150 and 120); unused places are 000. The NTEE code (us_ntee_code) replaced them for newer records.

- Parent datatype: `category`
- Personal data (PII): no
- Categories: Companies/business/organizations (companies), Government related (government)
- Countries: United States (US)
- Languages: English (en)
- Classification: categorical

## Detection

Regular expression (Python `re`):

```
^\d{9}$
```

## Examples

- `031150120` — Codes 031, 150 and 120
- `602000000` — Code 602
- `031 150 120` (invalid example) — Codes with spaces

## Metacrafter rules

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

- `usirsactivityvalue` (data, `us/us_orgs.yaml`)

## Supported by tools

- `metacrafter`

## Sources

- doc: <https://www.irs.gov/charities-non-profits/exempt-organizations-business-master-file-extract-eo-bmf>

## Quality

Score 85/100. Missing: mapping (Wikidata, Schema.org, ...), translation.

JSON: <https://registry.apicrafter.io/api/v1/datatypes/us_irs_activity_code.json> · Edit: <https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/US/companies/us_irs_activity_code.yaml>
