Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/stdnum/gb/vat.py
Commit message (Collapse)AuthorAgeFilesLines
* Support xi country code for Northern IrelandArthur de Jong2021-01-211-2/+2
| | | | | | | | | While Great Brittain is no longer an EU member state some GB VAT numbers are still valid if the company meets certain requirements. See https://www.gov.uk/government/publications/accounting-for-vat-on-goods-moving-between-great-britain-and-northern-ireland-from-1-january-2021/check-when-you-are-trading-under-the-northern-ireland-protocol-if-you-are-vat-registered-business Closes https://github.com/arthurdejong/python-stdnum/issues/250
* Use an internal isdigits() function instead of str.isdigit()Arthur de Jong2019-04-291-4/+4
| | | | | | | | | | | 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-111-5/+4
|
* Use zip() instead of enumerate()Arthur de Jong2015-10-051-2/+2
| | | | Makes the code slightly simpler and more compact.
* Add some new VAT numbers for GBCédric Krier2013-12-301-2/+20
| | | | | | | Add support for restarting from November 2009 using 9755. Add support for EU format of health authorities See: https://github.com/arthurdejong/python-stdnum/pull/4
* Implement validate() for United Kingdom numbersArthur de Jong2013-06-081-21/+36
|
* some more documentation improvementsArthur de Jong2012-02-261-1/+2
| | | | git-svn-id: http://arthurdejong.org/svn/python-stdnum/python-stdnum@168 9dea7c4f-944c-4273-ac1a-574ede026edc
* ensure that the module docstrings are in a somewhat more ↵Arthur de Jong2012-02-261-5/+4
| | | | | | usable format git-svn-id: http://arthurdejong.org/svn/python-stdnum/python-stdnum@165 9dea7c4f-944c-4273-ac1a-574ede026edc
* add a VAT (United Kingdom (and Isle of Man) VAT ↵Arthur de Jong2012-02-181-0/+89
registration number) module git-svn-id: http://arthurdejong.org/svn/python-stdnum/python-stdnum@144 9dea7c4f-944c-4273-ac1a-574ede026edc