Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/stdnum/ch
Commit message (Collapse)AuthorAgeFilesLines
* Fix typos found by codespellDimitri Papadopoulos2022-12-121-1/+1
| | | | Closes https://github.com/arthurdejong/python-stdnum/pull/344
* Add a check_uid() function to the stdnum.ch.uid moduleArthur de Jong2022-11-121-2/+59
| | | | | | | This function can be used to performa a lookup of organisation information by the Swiss Federal Statistical Office web service. Related to https://github.com/arthurdejong/python-stdnum/issues/336
* Use str.zfill() for padding leading zerosArthur de Jong2022-08-151-2/+1
|
* Add Swiss ESR/ISR/QR-referenceKurt Keller2019-11-031-0/+98
| | | | Closes https://github.com/arthurdejong/python-stdnum/pull/170
* 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
* Make import ordering consistentArthur de Jong2017-09-111-1/+1
|
* Docstring improvementsArthur de Jong2017-09-113-15/+11
|
* Improve validation to Swiss SSN numberArthur de Jong2016-07-261-5/+14
| | | | The EAN-13 number should start with 756.
* Fix bug in Swiss SSN validationArthur de Jong2016-05-281-9/+11
| | | | | | | The validation was delegated to the EAN module but the number is supposed to be an EAN-13 only and and EAN-8 was also accepted. This also reformats the docstring.
* Make more information links consistentArthur de Jong2016-04-112-6/+8
| | | | | Also fix a docstring in stdnum.nl.bsn and add a pointer to stdnum.nl.onderwijsnummer.
* Add Swiss UID and VAT numbersArthur de Jong2015-10-082-0/+169
| | | | | | The Swiss VAT number (MWST, TVA, IVA, TPV) is the UID (Unternehmens-Identifikationsnummer) followed by one of the VAT abbreviations.
* Adds the Swiss social security numberDenis Krienbühl2014-10-192-0/+93
Also known as "Sozialversicherungsnummer" / "Neue AHV Nummer".