PAN check (India)
Check the structure of an Indian Permanent Account Number and read the kind of holder from its fourth character.
- Version 1
- Checked against 1 published value
- Free, no sign-up
Result: A firm's PAN
| Valid Whether the PAN passes every check. |
yes |
|---|---|
| Normalized The number as it was checked: separators removed, letters in upper case. |
AAPFU0939F |
| Message The result in a sentence, naming the rule that failed. |
A well-formed PAN (firm or limited liability partnership). |
| Holder code The fourth character. |
F |
| Holder The kind of holder it stands for. |
Firm or limited liability partnership |
Calculator check/india-pan@1.
How it is calculated
5 letters (the fourth is the holder type) + 4 digits + 1 letterChecks a ten-character Permanent Account Number: five letters, four digits and a letter, where the fourth character says whether the holder is an individual, a company, a firm, a trust and so on. The rule for the last letter is not published, so it cannot be checked.
- The number is checked by arithmetic alone. Nothing is looked up, so a valid result means the number is well formed, not that the account, company or security exists.
- The last letter of a PAN is a check letter, but the Income Tax Department does not publish how it is worked out. A PAN that passes here has the right structure only.
References
Results follow each calculator's documented rules and the sources listed. They are not financial, tax or legal advice. Check that the rules fit your case before you rely on a result. See the terms.
Use it from your code
curl https://api.curatedapi.com/v1/calc/check/india-pan \
-H "Authorization: Bearer $CURATEDAPI_KEY" \
-H "Content-Type: application/json" \
-d '{
"number": "AAPFU0939F"
}'
The same call in Python
import os
import requests
payload = {
"number": "AAPFU0939F",
}
response = requests.post(
"https://api.curatedapi.com/v1/calc/check/india-pan",
headers={"Authorization": f"Bearer {os.environ['CURATEDAPI_KEY']}"},
json=payload,
timeout=10,
)
print(response.json()["result"])
The same call in JavaScript
const payload = {
"number": "AAPFU0939F",
};
const response = await fetch("https://api.curatedapi.com/v1/calc/check/india-pan", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.CURATEDAPI_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify(payload),
});
console.log((await response.json()).result);
MCP tool calc_check_india_pan at https://mcp.curatedapi.com.
Inputs, outputs and errors in the API reference.
Put it on your website
<div data-curatedapi-widget="check/india-pan" data-key="capi_public_…"></div>
<script src="https://widgets.curatedapi.com/v1/widget.js" async></script>
Use a public key registered for your site. Calculations are billed like API calls. How widgets work.
Related calculators
- Australian Business Number (ABN) check
- BIC (SWIFT code) check
- CUSIP check
- GSTIN check (India)
- IBAN check
- ISIN check
- LEI check
- US bank routing number check
- VAT number check
Add this calculator to your website
Paste two lines into your page and your visitors get this calculator. Each use counts as one call on your plan, the same as the API.
Free for up to 1,000 uses a month. 50,000 uses a month cost $9.00 on the Starter plan.