Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/stdnum/es/cif.py
Commit message (Collapse)AuthorAgeFilesLines
* Improve descriptions of Spanish codesGerard Dalmau2019-10-161-1/+5
| | | | Closes https://github.com/arthurdejong/python-stdnum/pull/169
* Use an internal isdigits() function instead of str.isdigit()Arthur de Jong2019-04-291-1/+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
* Improve CIF and NIF validationGerard Dalmau2018-08-301-10/+5
| | | | | | | | NIF starting with K, L or M are NIF instead of CIF. This also adds NIF-DNI-CIF-NIE classification tests. Closes https://github.com/arthurdejong/python-stdnum/pull/81
* Docstring improvementsArthur de Jong2017-09-111-4/+4
|
* Implement validate() for Spanish numbersArthur de Jong2013-06-081-26/+45
|
* ensure that the module docstrings are in a somewhat more ↵Arthur de Jong2012-02-261-2/+3
| | | | | | usable format git-svn-id: http://arthurdejong.org/svn/python-stdnum/python-stdnum@165 9dea7c4f-944c-4273-ac1a-574ede026edc
* use the luhn module where possibleArthur de Jong2012-02-121-6/+3
| | | | git-svn-id: http://arthurdejong.org/svn/python-stdnum/python-stdnum@126 9dea7c4f-944c-4273-ac1a-574ede026edc
* add a CIF (Certificado de Identificación Fiscal, ↵Arthur de Jong2012-02-111-0/+91
Spanish tax identification number) module git-svn-id: http://arthurdejong.org/svn/python-stdnum/python-stdnum@114 9dea7c4f-944c-4273-ac1a-574ede026edc