validate_pan
Validate Indian PAN format, decode entity type from the fourth character, and normalize tax identity records for KYC, invoicing, or vendor onboarding. Optionally verify against the online registry.
Instructions
Validate Indian PAN format and decode entity type from the 4th character.
Use when normalizing tax identity records in KYC, invoicing, or vendor onboarding.
Args: pan: PAN string, example: AAAPL1234C. Spaces and hyphens stripped automatically. verify_online: Optional opt-in online registry attestation (A4 level).
Returns: Standard envelope containing format validity, entity type, and decoded segments.
Notes: PAN check character is not publicly verifiable algorithmically.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"pan": "<pan>"
},
"name": "validate_pan"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pan | Yes | 10-char PAN (spaces/hyphens allowed) | |
| verify_online | No | Optional opt-in online registry attestation (A4 level) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||