Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/stdnum/es/nif.py
Commit message (Collapse)AuthorAgeFilesLines
* Improve descriptions of Spanish codesGerard Dalmau2019-10-161-3/+3
| | | | Closes https://github.com/arthurdejong/python-stdnum/pull/169
* Use an internal isdigits() function instead of str.isdigit()Arthur de Jong2019-04-291-3/+3
| | | | | | | | | | | 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-1/+10
| | | | | | | | 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
* Make import ordering consistentArthur de Jong2017-09-111-1/+1
|
* Docstring improvementsArthur de Jong2017-09-111-4/+4
|
* Implement validate() for Spanish numbersArthur de Jong2013-06-081-22/+35
|
* ensure that the module docstrings are in a somewhat more ↵Arthur de Jong2012-02-261-3/+4
| | | | | | usable format git-svn-id: http://arthurdejong.org/svn/python-stdnum/python-stdnum@165 9dea7c4f-944c-4273-ac1a-574ede026edc
* add a NIF (Número de Identificación Fiscal, Spanish ↵Arthur de Jong2012-02-111-0/+71
VAT number) module git-svn-id: http://arthurdejong.org/svn/python-stdnum/python-stdnum@115 9dea7c4f-944c-4273-ac1a-574ede026edc