validate-gst
v1.0.3
Published
GST (Goods and Services Tax) is a unique 15-character alphanumeric code assigned to businesses in India for tax purposes. It follows a specific format: the first two digits represent the state code, followed by a 10-character PAN (Permanent Account Number
Downloads
11
Readme
GST validator package
GST (Goods and Services Tax) is a unique 15-character alphanumeric code assigned to businesses in India for tax purposes. It follows a specific format: the first two digits represent the state code, followed by a 10-character PAN (Permanent Account Number), the 13th character is the business entity code, the 14th character is typically 'Z', and the final character is a checksum digit. A GST validator ensures that this format is strictly adhered to, reducing errors during business registrations and tax filings, while also preventing the misuse of invalid GST numbers in transactions and tax reporting.
it has a function that validate the GST Number
validateGST(22AAAAA0000A1Z5) // true validateGST(22788AAYT000A1Z5) // false