Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/stdnum
Commit message (Collapse)AuthorAgeFilesLines
* Get files ready for 1.13 release1.13Arthur de Jong2020-01-191-2/+2
|
* Update database filesArthur de Jong2020-01-1810-340/+687
|
* Add South African Identity Document numberArthur de Jong2020-01-181-0/+133
| | | | Closes https://github.com/arthurdejong/python-stdnum/issues/126
* Add temporary and internal ISIN country codesArthur de Jong2020-01-121-0/+4
| | | | | | | | 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
* Add three country codes to ISINanwarbaroudi2020-01-121-27/+31
| | | | | | | | | 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
* Test Argentinian CUIT typeEmmanuel Arias2020-01-111-9/+15
| | | | | | | | 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
* Support new btw-identificatienummerArthur de Jong2020-01-091-8/+21
| | | | | | | | | | | | | | | | | | | | | | 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 Italian IVA is also a Codice FiscaleArthur de Jong2020-01-051-11/+31
| | | | Closes https://github.com/arthurdejong/python-stdnum/issues/180
* Broaden noqa docstring exclusionArthur de Jong2019-12-271-1/+1
| | | | | | Nowadays flake8 seems to report this as D401 (First line should be in imperative mood) while before it was D402 (First line should not be the function’s signature).
* Switch to using lxml for HTML parsingArthur de Jong2019-12-271-13/+12
| | | | | This avoids an extra dependency on BeautifulSoup and makes the code more consistent.
* Fix typosJakub Wilk2019-11-123-4/+4
| | | | Closes https://github.com/arthurdejong/python-stdnum/pull/172
* Add format to iso11649Kurt Keller2019-11-091-0/+13
| | | | Closes https://github.com/arthurdejong/python-stdnum/pull/171
* Add Swiss ESR/ISR/QR-referenceKurt Keller2019-11-031-0/+98
| | | | Closes https://github.com/arthurdejong/python-stdnum/pull/170
* Get files ready for 1.12 release1.12Arthur de Jong2019-10-271-1/+1
|
* Update database filesArthur de Jong2019-10-2711-599/+1724
| | | | | The BIC for some former Record Bank accounts (now ING Belgium) was changed from HBKABE22 to BBRUBEBB (that of ING).
* Improve descriptions of Spanish codesGerard Dalmau2019-10-165-7/+15
| | | | Closes https://github.com/arthurdejong/python-stdnum/pull/169
* Fix rrn documentationArthur de Jong2019-10-141-5/+4
| | | | | | This also fixes Python 2.6 compatibility. Fixes 790a052
* Add South Korean Resident Registration NumbersDimitri Papadopoulos2019-10-142-0/+148
|
* AU: Provide vat as alias from tfnAndreas Häber2019-10-131-0/+3
| | | | Closes https://github.com/arthurdejong/python-stdnum/pull/167
* AT: Provide personalid as an alias from vnrAndreas Häber2019-10-131-1/+2
| | | | Closes https://github.com/arthurdejong/python-stdnum/pull/166
* IS: Provide personalid as an alias from kennitalaAndreas Häber2019-10-131-1/+2
|
* DK: Provide personalid as an alias from cprAndreas Häber2019-10-131-1/+2
|
* Add Japan Corporate NumberAlan Hettinger2019-10-132-0/+107
| | | | Closes https://github.com/arthurdejong/python-stdnum/pull/157
* Handle - and + sign correctly in Swedish PersonnummerAmin Solhizadeh2019-10-131-9/+21
| | | | | | | | | | | 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
* Fix broken links to DGII documentationJeffry Jesus De La Rosa2019-10-131-2/+2
| | | | | | | DGII has changed its page, all the link have been broken, so they changed some URL. Closes https://github.com/arthurdejong/python-stdnum/pull/153
* Change DGII form parametersJeffry Jesus De La Rosa2019-10-131-3/+7
| | | | | | | | DGII has changed their validation mechanism, so we first exract the __EVENTVALIDATION and __VIEWSTATE from the form and put them in the post request for validation. Closes https://github.com/arthurdejong/python-stdnum/pull/165
* Add Guatemalan NITLeandro Regueiro2019-07-232-0/+120
| | | | | Closes https://github.com/arthurdejong/python-stdnum/pull/149 Closes https://github.com/arthurdejong/python-stdnum/issues/132
* Fix the Handelsregisternummer number matchingArthur de Jong2019-07-211-3/+4
| | | | | | | | | | 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
* Lookup German Handelsregisternummer in OffeneRegister.deArthur de Jong2019-07-211-1/+61
| | | | | This supports looking up the German Handelsregisternummer using the online OffeneRegister.de web service.
* Support normalising quotesArthur de Jong2019-07-141-0/+9
| | | | See https://github.com/arthurdejong/python-stdnum/issues/150
* Add Andorran TINLeandro Regueiro2019-07-072-0/+117
| | | | | Closes https://github.com/arthurdejong/python-stdnum/pull/145 Closes https://github.com/arthurdejong/python-stdnum/issues/119
* Add Costa Rica foreigners identification numberLeandro Regueiro2019-06-241-0/+92
| | | | | Part of https://github.com/arthurdejong/python-stdnum/issues/141 Closes https://github.com/arthurdejong/python-stdnum/pull/140
* Add Costa Rica Cédula de IdentidadLeandro Regueiro2019-06-241-0/+105
| | | | Closes https://github.com/arthurdejong/python-stdnum/issues/139
* Add Costa Rica TIN numberLeandro Regueiro2019-06-242-0/+124
| | | | Closes https://github.com/arthurdejong/python-stdnum/issues/109
* Add South Africa TIN numberLeandro Regueiro2019-06-222-0/+106
| | | | | Closes https://github.com/arthurdejong/python-stdnum/pull/129 Closes https://github.com/arthurdejong/python-stdnum/issues/108
* Add Paraguay RUC numberLeandro Regueiro2019-06-162-0/+125
| | | | | | | | 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
* Update Dominican Republic e-CF documents typesJeffry Jesus De La Rosa2019-06-141-6/+18
| | | | | | | The document type values are different from the NCF document types https://dgii.gov.do/contribuyentes/personasFisicas/inicioOperaciones/ComprobantesFiscales/Paginas/comprobantesFiscalesElectronicos.aspx Closes https://github.com/arthurdejong/python-stdnum/pull/138
* Add Uruguay RUT numberLeandro Regueiro2019-06-142-0/+136
| | | | | Closes https://github.com/arthurdejong/python-stdnum/pull/121 Closes https://github.com/arthurdejong/python-stdnum/issues/110
* Fix handelsregisternummer to not turn Hamburg into HomburgArthur de Jong2019-06-141-3/+14
| | | | | | | | | | | 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
* Support Dominican Republic e-CF within NCFJeffry Jesus De La Rosa2019-06-141-18/+40
| | | | | | | | 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
* Add New Zealand IRD numberLeandro Regueiro2019-06-091-0/+102
| | | | | Closes https://github.com/arthurdejong/python-stdnum/pull/112 Closes https://github.com/arthurdejong/python-stdnum/issues/104
* Ignore wrong docstring detectionArthur de Jong2019-06-021-1/+1
| | | | Fixes 170e599
* Rename stdnum.eu.nace.label() to get_label()Arthur de Jong2019-06-021-3/+13
| | | | | To be more consistent with other similar functions. This deprecates the old function which now is a wrapper around get_label().
* Add Vergi Kimlik NumarasıArthur de Jong2019-06-022-2/+85
| | | | Closes https://github.com/arthurdejong/python-stdnum/issues/99
* Add GTIN (EAN-14) validationSergi Almacellas Abellana2019-05-231-2/+4
|
* Add Venezuelan RIF (VAT number)Arthur de Jong2019-05-122-0/+111
| | | | Closes https://github.com/arthurdejong/python-stdnum/issues/97
* Convert various reasonable unicode digitsArthur de Jong2019-04-291-0/+40
| | | | | This converts many of the "reasonable" unicode digits that are just variations on ASCII 0-9 to their ASCII counterparts.
* Use an internal isdigits() function instead of str.isdigit()Arthur de Jong2019-04-29112-236/+258
| | | | | | | | | | | 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
* Add Israeli identity numberArthur de Jong2019-04-042-0/+104
|
* Add Peruvian CUI (DNI)Arthur de Jong2019-03-241-0/+89
|