Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/stdnum/mx/rfc.py
Commit message (Collapse)AuthorAgeFilesLines
* Use HTTPS in URLs where possibleArthur de Jong2020-03-201-1/+1
|
* Fix an issue with format of Mexican tax numbersArthur de Jong2018-05-011-11/+5
| | | | | Fix an issue where the format accepted a mix of personal and company numberer in validation causing in a raised ValueError exception.
* Make unicode conversion standardArthur de Jong2018-05-011-13/+15
| | | | | | A few modules use non-ASCII characters in numbers. This introduces a to_unicode() function in util so that it can be used by multiple modules.
* Docstring improvementsArthur de Jong2017-09-111-3/+3
|
* Make more information links consistentArthur de Jong2016-04-111-4/+6
| | | | | Also fix a docstring in stdnum.nl.bsn and add a pointer to stdnum.nl.onderwijsnummer.
* Document accuracy of RFC check digit testArthur de Jong2016-04-011-2/+6
| | | | | | | | 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/+150
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.