Indian PAN
Permanent Account Number issued by the Indian Income Tax Department. 10-character alphanumeric: 5 letters + 4 digits + 1 letter. Fourth letter indicates holder type (P=person, C=company, etc.).
Indian PAN
identity.government.pan_indiaPermanent Account Number issued by the Indian Income Tax Department. 10-character alphanumeric: 5 letters + 4 digits + 1 letter. Fourth letter indicates holder type (P=person, C=company, etc.).
Domain
identity
Category
government
Casts to
VARCHAR
Scope
Locale-specific
Locales
EN_IN, HI
Try it
CLI
$ finetype infer -i "ABCPD1234E" --mode column
→ identity.government.pan_indiaDuckDB
Detect
SELECT ft_infer('ABCPD1234E');
-- → 'identity.government.pan_india'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.pan_india';JSON Schema
finetype taxonomy identity.government.pan_india -o json-schema
{
"$id": "https://meridian.online/schemas/identity.government.pan_india",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"description": "Permanent Account Number issued by the Indian Income Tax Department. 10-character alphanumeric: 5 letters + 4 digits + 1 letter. Fourth letter indicates holder type (P=person, C=company, etc.).",
"examples": [
"ABCPD1234E",
"AAACB0000C",
"FNKPS1234H",
"AABCR1234F"
],
"maxLength": 10,
"minLength": 10,
"pattern": "^[A-Z]{5}\\d{4}[A-Z]$",
"title": "Indian PAN",
"type": "string",
"x-finetype-label": "identity.government.pan_india",
"x-finetype-pii": true
}Examples
ABCPD1234EAAACB0000CFNKPS1234HAABCR1234FAliases
panpan_number