Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/stdnum/fr/nif.py
Commit message (Collapse)AuthorAgeFilesLines
* Imporve French NIF validation (checksum)Kevin Dagostino2024-02-251-4/+15
| | | | | | | The last 3 digits are a checksum. % 511 https://ec.europa.eu/taxation_customs/tin/specs/FS-TIN%20Algorithms-Public.docx Closes https://github.com/arthurdejong/python-stdnum/pull/426
* Improve French NIF validationDimitri Papadopoulos2021-07-181-5/+11
| | | | Closes https://github.com/arthurdejong/python-stdnum/pull/266
* 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
* Docstring improvementsArthur de Jong2017-09-111-3/+3
|
* Fix French NIF format testArthur de Jong2016-07-261-3/+3
| | | Fixes 2409ee9.
* Add NIF - French tax identification numberDimitri Papadopoulos2016-07-261-0/+75
Add module for NIF also known as SPI number.