| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The btw-identificatienummer has been introduced on January 1st 2020 in
the Netherlands as an alternative to the btw-nummer that contains the
BSN personal identifier. The number has the same structure and function
but does not contain a BSN and uses a different check digit algorithm.
Thanks to Cas Vissers, Jeroen van Heiningen, Jerome Hanke, Nicolas
Martinelli, Ronald Portier and Tim Muller for contributing to the fix.
More information:
* http://kleineondernemer.nl/index.php/nieuw-btw-identificatienummer-vanaf-1-januari-2020-voor-eenmanszaken
* https://nl.wikipedia.org/wiki/Btw-nummer_(Nederland)
* https://www.belastingdienst.nl/wps/wcm/connect/bldcontenten/belastingdienst/business/vat/new-vat-id/
* https://www.belastingdienst.nl/wps/wcm/connect/bldcontentnl/belastingdienst/zakelijk/btw/administratie_bijhouden/btw_nummers_controleren/uw_btw_nummer
Closes https://github.com/arthurdejong/python-stdnum/issues/182
Closes https://github.com/arthurdejong/python-stdnum/pull/183
Closes https://github.com/arthurdejong/python-stdnum/pull/184
Closes https://github.com/arthurdejong/python-stdnum/pull/185
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Closes https://github.com/arthurdejong/python-stdnum/pull/75
|
|
|
|
|
| |
This also fixes the name of the Dutch postal_code alias and tunes the
tests.
|
|
|
|
|
|
|
|
|
|
|
|
| |
Re-enable the flake8 test for unused imports by explicitly marking
imports for namespace purposes. This allows us to remove a few unused
imports.
A few more cleanups that allow us to reduce the number of ignored flake8
ignored tests. The remaining ignored tests are now documented.
Ignore a flake8 warning about print statements because we use print in
the update scripts.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Also fix a docstring in stdnum.nl.bsn and add a pointer to
stdnum.nl.onderwijsnummer.
|
|
|
|
|
|
|
| |
This adds the information that was previously in the Trac wiki into the
source docstrings because the Trac instance is being phased out.
This also includes small updates to the ISIL module.
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
The Dutch postal code (postcode) consists of four digits followed by two
characters and together with the house number should uniquely identify
any address.
Addresses trac ticket #7.
|
|
|
|
|
|
|
| |
The Brin (Basis Registratie Instellingen) is a number to identify
schools and related institutions.
Addresses trac ticket #6.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Generating the docstring dynamically results in all stdnum modules being
imported for every import from any stdnum module which is a performance hit.
So we switch back to a manually generated list, using:
from stdnum.util import get_module_list
print '\n'.join(get_module_list())
This also shortens a few short descriptions to attempt to fit things on
one line.
|
|
|
|
|
|
| |
usable format
git-svn-id: http://arthurdejong.org/svn/python-stdnum/python-stdnum@165 9dea7c4f-944c-4273-ac1a-574ede026edc
|
|
|
|
|
|
| |
vat identifier
git-svn-id: http://arthurdejong.org/svn/python-stdnum/python-stdnum@153 9dea7c4f-944c-4273-ac1a-574ede026edc
|
|
|
|
| |
git-svn-id: http://arthurdejong.org/svn/python-stdnum/python-stdnum@152 9dea7c4f-944c-4273-ac1a-574ede026edc
|
|
|
|
| |
git-svn-id: http://arthurdejong.org/svn/python-stdnum/python-stdnum@151 9dea7c4f-944c-4273-ac1a-574ede026edc
|
|
|
|
|
|
| |
stdnum.nl.vat
git-svn-id: http://arthurdejong.org/svn/python-stdnum/python-stdnum@107 9dea7c4f-944c-4273-ac1a-574ede026edc
|
|
|
|
| |
git-svn-id: http://arthurdejong.org/svn/python-stdnum/python-stdnum@106 9dea7c4f-944c-4273-ac1a-574ede026edc
|
|
|
|
|
|
| |
functions (for now clean())
git-svn-id: http://arthurdejong.org/svn/python-stdnum/python-stdnum@100 9dea7c4f-944c-4273-ac1a-574ede026edc
|
|
|
|
| |
git-svn-id: http://arthurdejong.org/svn/python-stdnum/python-stdnum@98 9dea7c4f-944c-4273-ac1a-574ede026edc
|
|
|
|
| |
git-svn-id: http://arthurdejong.org/svn/python-stdnum/python-stdnum@96 9dea7c4f-944c-4273-ac1a-574ede026edc
|
|
|
|
| |
git-svn-id: http://arthurdejong.org/svn/python-stdnum/python-stdnum@95 9dea7c4f-944c-4273-ac1a-574ede026edc
|
|
|
|
| |
git-svn-id: http://arthurdejong.org/svn/python-stdnum/python-stdnum@76 9dea7c4f-944c-4273-ac1a-574ede026edc
|
|
git-svn-id: http://arthurdejong.org/svn/python-stdnum/python-stdnum@44 9dea7c4f-944c-4273-ac1a-574ede026edc
|