Dear All,
I am creating Windows application where I need to verify PAN Number. So, for that purpose I want a API reference to verify the same.
Please help me for the same.
Thanks in Advance.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Prateek SinglaRank #1,452 · 1.1K reputationPosted Nov 21, 2016, 8:26 PM EST
Indian PAN is as follows: AAAAA9999A:
Where First five characters are letters, next 4 numerals, last character letter
One rule there the fourth character is choosen from a list Alphabates as bellows.
C – Company
P – Person
H – HUF(Hindu Undivided Family)
F – Firm
A – Association of Persons (AOP)
T – AOP (Trust)
B – Body of Individuals (BOI)
L – Local Authority
J – Artificial Juridical Person
G – Govt
http://en.wikipedia.org/wiki/Permanent_account_number
Hence I will create a regular expression
as bellow
Here I have a textbox and a regular expression validator in my aspx page as bellow.