Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a new identity card validator for the Indian PAN card #2030

Open
Akshat-Mishra101 opened this issue Aug 16, 2022 · 5 comments · May be fixed by #2032
Open

Add a new identity card validator for the Indian PAN card #2030

Akshat-Mishra101 opened this issue Aug 16, 2022 · 5 comments · May be fixed by #2032

Comments

@Akshat-Mishra101
Copy link

I'd like to contribute to this project by adding a new identification, for the PAN card.

What's a PAN Card?

According to the official website, PAN is a ten-digit unique alphanumeric number issued by the Income Tax Department.

The rules for which, can again be found here

@braaar
Copy link
Contributor

braaar commented Aug 17, 2022

Could this be a fit for isTaxID(str, locale)?

Check if the given value is a valid Tax Identification Number. Default locale is en-US.
More info about exact TIN support can be found in src/lib/isTaxID.js
Supported locales: [ 'bg-BG', 'cs-CZ', 'de-AT', 'de-DE', 'dk-DK', 'el-CY', 'el-GR', 'en-CA', 'en-GB', 'en-IE', 'en-US', 'es-ES', 'et-EE', 'fi-FI', 'fr-BE', 'fr-CA', 'fr-FR', 'fr-LU', 'hr-HR', 'hu-HU', 'it-IT', 'lb-LU', 'lt-LT', 'lv-LV' 'mt-MT', 'nl-BE', 'nl-NL', 'pl-PL', 'pt-BR', 'pt-PT', 'ro-RO', 'sk-SK', 'sl-SI', 'sv-SE' ]

@Akshat-Mishra101
Copy link
Author

It could surely be, since PAN is a form of tax id

@Santhosh-Kumar-99
Copy link

Santhosh-Kumar-99 commented Jan 23, 2023

Hi @Akshat-Mishra101 since we have two TIN (GSTIN and PAN) in India can we make the locale en-IN-GSTIN and en-IN-PAN respectively.

@Santhosh-Kumar-99
Copy link

Hey @braaar and @pano9000
I could see an open PR for this, which is in review for a long time. Should I proceed to raise a new PR with my code changes?

@Santhosh-Kumar-99
Copy link

Opened PR for this issue.
PR Id - #2153

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants