US Employer Identification Number
9-digit number assigned by the IRS to business entities for tax identification. Format: XX-XXXXXXX (2 digits, hyphen, 7 digits).
US Employer Identification Number
identity.government.ein9-digit number assigned by the IRS to business entities for tax identification. Format: XX-XXXXXXX (2 digits, hyphen, 7 digits).
Domain
identity
Category
government
Casts to
VARCHAR
Scope
Locale-specific
Locales
EN_US
Try it
CLI
$ finetype infer -i "12-3456789" --mode column
→ identity.government.einDuckDB
Detect
SELECT ft_infer('12-3456789');
-- → 'identity.government.ein'Cast expression
CAST({col} AS VARCHAR)Safe cast pipeline
-- Normalise and cast in one step
SELECT TRY_CAST(ft_cast(my_column) AS VARCHAR) AS clean_value
FROM my_table
WHERE ft_infer(my_column) = 'identity.government.ein';JSON Schema
finetype taxonomy identity.government.ein -o json-schema
{
"$id": "https://meridian.online/schemas/identity.government.ein",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"description": "9-digit number assigned by the IRS to business entities for tax identification. Format: XX-XXXXXXX (2 digits, hyphen, 7 digits).",
"examples": [
"12-3456789",
"91-1234567",
"20-5678901",
"47-8901234"
],
"maxLength": 10,
"minLength": 10,
"pattern": "^\\d{2}-\\d{7}$",
"title": "US Employer Identification Number",
"type": "string",
"x-finetype-label": "identity.government.ein",
"x-finetype-pii": false
}Examples
12-345678991-123456720-567890147-8901234Aliases
employer_idtax_id