MeridianMERIDIAN

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.ein

9-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"
→ identity.government.ein

DuckDB

Detect
SELECT finetype('12-3456789');
-- → 'identity.government.ein'
Cast expression
CAST({col} AS VARCHAR)
Safe cast pipeline
-- Normalise and cast in one step
SELECT TRY_CAST(finetype_cast(my_column) AS VARCHAR) AS clean_value
FROM my_table
WHERE finetype(my_column) = 'identity.government.ein';

JSON Schema

finetype schema identity.government.ein
{
  "$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-broad-type": "VARCHAR",
  "x-finetype-pii": true,
  "x-finetype-transform": "CAST({col} AS VARCHAR)"
}

Examples

12-345678991-123456720-567890147-8901234

Aliases

employer_idtax_id

Type Registry