Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/stdnum/ar/cuit.py
Commit message (Collapse)AuthorAgeFilesLines
* Test Argentinian CUIT typeEmmanuel Arias2020-01-111-9/+15
| | | | | | | | The first two digits of the CUIT indicate the type of CUIT (personal, company or international) and can only have certain values. Closes https://github.com/arthurdejong/python-stdnum/issues/179 Closes https://github.com/arthurdejong/python-stdnum/pull/181
* Use an internal isdigits() function instead of str.isdigit()Arthur de Jong2019-04-291-2/+2
| | | | | | | | | | | The problem with the latter is that it will also accept all kinds of unicode digits that are not the ASCII 0-9 digits causing all kinds of problems in check digit calculations. Some of these unicode characters are also considered digits by int() but some are not (such as the SUPERSCRIPT TWO unicode character). Closes https://github.com/arthurdejong/python-stdnum/issues/96
* Add format for Argentinian CUIT numberMario Puntin2018-12-161-0/+8
| | | | Closes https://github.com/arthurdejong/python-stdnum/pull/89
* Docstring improvementsArthur de Jong2017-09-111-2/+2
|
* Use zip() instead of enumerate()Arthur de Jong2015-10-051-1/+1
| | | | Makes the code slightly simpler and more compact.
* Add Argentinian CUIT (VAT) numberArthur de Jong2015-04-231-0/+80
Based partially on the implementation in the vatnumber module.