| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Closes https://github.com/arthurdejong/python-stdnum/issues/126
|
|
|
|
|
|
|
|
| |
This adds a few temporary and internal country codes that are used by
various agencies so that they can also be validated. This does not mean
that all these numbers are globally valid.
Closes https://github.com/arthurdejong/python-stdnum/issues/158
|
|
|
|
|
|
|
|
|
| |
This adds three missing country codes: 'AN' for 'Netherlands Antilles',
'CS' for 'Serbia and Montenegro' and 'XK' for 'Kosovo'.
Closes https://github.com/arthurdejong/python-stdnum/issues/173
Closes https://github.com/arthurdejong/python-stdnum/pull/174
Closes https://github.com/arthurdejong/python-stdnum/pull/176
|
|
|
|
|
|
|
|
| |
The first two digits of the CUIT indicate the type of CUIT (personal,
company or international) and can only have certain values.
Closes https://github.com/arthurdejong/python-stdnum/issues/179
Closes https://github.com/arthurdejong/python-stdnum/pull/181
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Closes https://github.com/arthurdejong/python-stdnum/issues/180
|
|
|
|
| |
Closes https://github.com/arthurdejong/python-stdnum/pull/170
|
|
|
|
|
| |
The BIC for some former Record Bank accounts (now ING Belgium) was
changed from HBKABE22 to BBRUBEBB (that of ING).
|
| |
|
| |
|
|
|
|
| |
Closes https://github.com/arthurdejong/python-stdnum/pull/157
|
|
|
|
|
|
|
|
|
|
|
| |
For people aged 100 and up, the minus/dash in the personnummer is
changed to a plus, on new year's eve the year they turn 100. See
Folkbokföringslagen (1991:481), §18.
This makes the - or + sign part of the number.
Closes https://github.com/arthurdejong/python-stdnum/issues/156
Closes https://github.com/arthurdejong/python-stdnum/pull/160
|
|
|
|
|
| |
Closes https://github.com/arthurdejong/python-stdnum/pull/149
Closes https://github.com/arthurdejong/python-stdnum/issues/132
|
|
|
|
|
|
|
|
|
|
| |
This ensures that numbers of 1 digit are also accepted and that trailing
characters are not silently discardede in the validation.
This also adds a few test cases for this and makes "Paderborn früher
Höxter" an alias for "Paderborn".
Closes https://github.com/arthurdejong/python-stdnum/issues/143
|
|
|
|
|
| |
This supports looking up the German Handelsregisternummer using the
online OffeneRegister.de web service.
|
|
|
|
|
| |
Closes https://github.com/arthurdejong/python-stdnum/pull/145
Closes https://github.com/arthurdejong/python-stdnum/issues/119
|
|
|
|
|
| |
Part of https://github.com/arthurdejong/python-stdnum/issues/141
Closes https://github.com/arthurdejong/python-stdnum/pull/140
|
|
|
|
| |
Closes https://github.com/arthurdejong/python-stdnum/issues/139
|
|
|
|
| |
Closes https://github.com/arthurdejong/python-stdnum/issues/109
|
|
|
|
|
| |
Closes https://github.com/arthurdejong/python-stdnum/pull/129
Closes https://github.com/arthurdejong/python-stdnum/issues/108
|
|
|
|
|
|
|
|
| |
This supports RUC number validation of rphysical persons, non-juridical
persons and foreigners.
Closes https://github.com/arthurdejong/python-stdnum/issues/122
Closes https://github.com/arthurdejong/python-stdnum/pull/123
|
|
|
|
|
| |
Closes https://github.com/arthurdejong/python-stdnum/pull/121
Closes https://github.com/arthurdejong/python-stdnum/issues/110
|
|
|
|
|
|
|
|
|
|
|
| |
This changes the minimisation function that is used for comparison and
canonicalisation to not reduce Hamburg and Homburg to the same string.
This makes the function slightly more strict in which encoding
differences to accept.
This also adds a few aliases to the court names.
Closes https://github.com/arthurdejong/python-stdnum/issues/136
|
|
|
|
|
|
|
|
| |
e-CF is the new way of DGII document, is the same as NCF, but the
difference one to another, is that e-CF has 13 digit and is electronic
invoice, with this change it will validate the correct NCF and e-CF.
Closes https://github.com/arthurdejong/python-stdnum/pull/135
|
|
|
|
|
| |
Closes https://github.com/arthurdejong/python-stdnum/pull/112
Closes https://github.com/arthurdejong/python-stdnum/issues/104
|
|
|
|
| |
Closes https://github.com/arthurdejong/python-stdnum/issues/99
|
|
|
|
| |
Closes https://github.com/arthurdejong/python-stdnum/issues/97
|
|
|
|
|
|
|
| |
This also sets the python 2.6 interpreter explicityly because sometimes
tox seems to get the wrong one.
Fixes 680a95f
|
|
|
|
| |
Fixes 48ff92e
|
|
|
|
|
| |
This converts many of the "reasonable" unicode digits that are just
variations on ASCII 0-9 to their ASCII counterparts.
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
For consistency with the other validation modules that have an extra
argument to disable or enable certain parts of the validation.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
This adds validation of MAC (Ethernet) addresses. It will perform
lookups in the IEEE registry for manufacturer names for universally
administered addresses.
Closes https://github.com/arthurdejong/python-stdnum/issues/93
|
|
|
|
| |
Closes https://github.com/arthurdejong/python-stdnum/pull/88
|
|
|
|
| |
Closes https://github.com/arthurdejong/python-stdnum/pull/88
|
|
|
|
|
|
| |
This partially reverts 58ea7b2.
Closes https://github.com/arthurdejong/python-stdnum/issues/82
|
|
|
|
|
|
|
|
| |
This ensures that an IBAN with a missing bban part and unknown country
code (while still having a valid MOD 97,10 checksum) is considered
valid.
Closes https://github.com/arthurdejong/python-stdnum/issues/84
|
|
|
|
|
|
|
| |
This adds validation of Bitcoin addresses. No check is done that the
addresses actually exist but only that they are syntactically correct.
Closes https://github.com/arthurdejong/python-stdnum/issues/80
|
| |
|
|
|
|
|
|
|
|
| |
NIF starting with K, L or M are NIF instead of CIF.
This also adds NIF-DNI-CIF-NIE classification tests.
Closes https://github.com/arthurdejong/python-stdnum/pull/81
|
|
|
|
|
|
|
| |
This includes validation of Norwegian bank account numbers and
conversion to IBAN.
Closes https://github.com/arthurdejong/python-stdnum/issues/79
|
|
|
|
|
|
|
| |
Thans to Bradley Smith for providing the needed information to implement
this.
See https://lists.arthurdejong.org/python-stdnum-users/2018/msg00003.html
|