Closed eamanu closed 4 years ago
Hi @eamanu,
Thanks for your patch. I've only added the checking of the first two digits and not the checking for the place of the dashes. These kind of separators are generally ignored in python-stdnum because for a lot of numbers their placement is not very well defined.
I've merged your change as 0b30c4b and also ensured that the correct exception is raised (InvalidComponent).
@arthurdejong thanks!
According to #179 not any (2 digits) prefix are accepted on argentinian CUIT. So I added an Regex to validate correctly the CUIT's format.