---
id: "usein"
kind: "datatype"
status: "stable"
is_pii: true
categories: ["pii", "persons"]
country: ["US"]
langs: ["en"]
quality: 90
url: "http://registry.apicrafter.io/datatype/usein"
---

# US EIN (Employer Identification Number) (`usein`)

An Employer Identification Number (EIN) is also known as a Federal Tax Identification Number, and is used to identify a business entity. Generally, businesses need an EIN.

- Personal data (PII): yes
- Categories: Personally identifiable information (pii), Person related (persons)
- Countries: United States (US)
- Languages: English (en)
- Classification: identifier

## Detection

Regular expression (Python `re`):

```
^\d{2}-?\d{7}$
```

## Examples

- `94-2404110` — Apple Inc.
- `91-1144442` — Microsoft
- `56-2618866` — Gates Foundation

## Mappings

- autotype: `ein`
- fhir: `urn:oid:2.16.840.1.113883.4.4`
- fibo: <https://spec.edmcouncil.org/fibo/ontology/FBC/FunctionalEntities/NorthAmericanEntities/USRegulatoryAgencies/EmployerIdentificationNumber>
- fta: `IDENTITY.EIN_US`
- google_dlp: `US_EMPLOYER_IDENTIFICATION_NUMBER`
- orgid: `US-EIN`
- schema_org: `taxID`
- stdnum: `us.ein`
- wikidata: `P1297`

## Metacrafter rules

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

- `useinfield` (field, `pii/us/us_pii.yaml`)
- `useinvalue` (data, `pii/us/us_pii.yaml`)
- `us_persons_useinfield` (field, `us/us_persons.yaml`)
- `us_persons_useinvalue` (data, `us/us_persons.yaml`)

## Supported by tools

- `autotype`
- `collibra`
- `fta`
- `googledlp`
- `ibmknowledgecatalog`
- `metacrafter`
- `nightfall`
- `pythonstdnum`
- `snowflake`

## Sources

- other: <https://www.irs.gov/businesses/small-businesses-self-employed/employer-id-numbers>
- wikipedia: <https://en.wikipedia.org/wiki/Employer_Identification_Number>
- wikidata: <https://www.wikidata.org/wiki/Property:P1297>

## Quality

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

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