Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/stdnum/al/nipt.py
Commit message (Collapse)AuthorAgeFilesLines
* Fix Albanian tax number validationArthur de Jong2023-03-181-5/+16
| | | | | | | | | | | | | | | This extends the description of the Albanian NIPT (NUIS) number with information on the structure of the number. The first character was previously limited between J and L but this letter indicates a decade and the number is also used for individuals to where it indicates a birth date. Thanks Julien Launois for pointing this out. Source: https://www.oecd.org/tax/automatic-exchange/crs-implementation-and-assistance/tax-identification-numbers/Albania-TIN.pdf Fixes 3db826c Closes https://github.com/arthurdejong/python-stdnum/pull/402
* Docstring improvementsArthur de Jong2017-09-111-4/+3
|
* Code style improvementsArthur de Jong2015-10-111-1/+1
| | | | | | | Ensure that regular expressions are r'' strings, avoid too long lines and fix line wrapping. Also avoid catching toplevel Exception when possible and use binascii for hex to binary conversion which is available in both Python 2 and 3.
* Add Albanian NIPT (VAT) numberArthur de Jong2015-04-231-0/+80
Partially based on the implementation in the vatnumber module. Some valid numbers appear to start with an L so those are allowed as well.