Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/tests/test_mx_rfc.doctest
Commit message (Collapse)AuthorAgeFilesLines
* Fix an issue with format of Mexican tax numbersArthur de Jong2018-05-011-0/+8
| | | | | Fix an issue where the format accepted a mix of personal and company numberer in validation causing in a raised ValueError exception.
* Add Python 2.6 supportArthur de Jong2016-11-141-1/+1
| | | | | This also brings the list of Python versions in setup.py in line with tox.ini.
* Document accuracy of RFC check digit testArthur de Jong2016-04-011-6/+3
| | | | | | | | There is an online service that allows validating RFC numbers. It seems there are a lot of numbers that do not match the check digit algorithm which confirms disabling the check digit test by default is a good idea. Also see https://github.com/arthurdejong/python-stdnum/issues/32
* Add Mexican RFC numberArthur de Jong2015-10-051-0/+531
This adds support for the Mexican tax number RFC (Registro Federal de Contribuyentes). This module includes a number of checks on the number but the validation of the last check digit is disabled by default because a large number of numbers were found that were otherwise valid but had an invalid check digit.