GST(Indian) check digit validation algorithm2 min read

GST number validation is done through 2 steps Check if there is a character in position of a character and a number in position of a number. Validate the check digit that is the last character in the GST no. with  Luhn mod N algorithm (https://en.wikipedia.org/wiki/Luhn_mod_N_algorithm) An implementation in javascript let GST = { /* Luhn […]