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

GST number validation added in taxID #2080

Closed
wants to merge 2 commits into from
Closed

GST number validation added in taxID #2080

wants to merge 2 commits into from

Conversation

VarnikaB
Copy link

@VarnikaB VarnikaB commented Oct 19, 2022

Add GST number Regex which consists of:
The first two digits of the GST Number will represent the State Code as per this page.
The next 10 digits will be same as in the PAN number of the taxpayer.
The first five will be alphabets
The next four will be numbers
The last will be the check code
The 13th digit will be the number of registrations you take within a state, i.e., after 9, A to Z are considered as 10 to 35.
The 14th digit will be Z by default.
The last would be the check code.

Inserted a regex based on these conditions

Checklist

  • PR contains only changes related; no stray files, etc.
  • README updated (where applicable)
  • Tests written (where applicable)

@VarnikaB VarnikaB closed this by deleting the head repository Oct 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant