Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/stdnum
Commit message (Collapse)AuthorAgeFilesLines
* Switch postal code download to Austrian open-data portalHEADmasterArthur de Jong3 days1-2/+2
| | | | | | | | | | | | | This simplifies the process of downloading Austrian postal codes by downloading a JSON blob instead from https://www.data.gv.at/katalog/dataset/f76ed887-00d6-450f-a158-9f8b1cbbeebf This filters the list to only use addressable (adressierbar) postal codes because it matches the previous list. Thanks Bernd Schlapsi for providing the pointer. Closes https://github.com/arthurdejong/python-stdnum/issues/235
* Add support for XI VAT numbers in vatinAlexis de Lattre3 days1-2/+2
| | | | Closes https://github.com/arthurdejong/python-stdnum/pull/251
* Support xi country code for Northern IrelandArthur de Jong6 days2-6/+9
| | | | | | | | | 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
* Get files ready for 1.15 release1.15Arthur de Jong2021-01-111-2/+2
|
* Update database filesArthur de Jong2021-01-1111-619/+1338
|
* Drop pinning of isort now flake8-isort has been fixedArthur de Jong2021-01-105-8/+8
| | | | | | | This changes a few inline imports in the code to pass with the new isort. Reverts 291b831
* Fix typoArthur de Jong2021-01-101-1/+1
|
* Add support for Ukraine РНОКПП numberLeandro Regueiro2021-01-101-0/+87
| | | | | Closes https://github.com/arthurdejong/python-stdnum/pull/242 Closes https://github.com/arthurdejong/python-stdnum/issues/117
* Add support for Ukraine ЄДРПОУ numberLeandro Regueiro2021-01-102-0/+116
| | | | | Closes https://github.com/arthurdejong/python-stdnum/pull/242 Closes https://github.com/arthurdejong/python-stdnum/issues/117
* Remove GB from EU member statesViggo de Vries2021-01-101-3/+3
| | | | Closes https://github.com/arthurdejong/python-stdnum/pull/246
* Fix flake8 blind except Exception errorArthur de Jong2021-01-1011-26/+23
|
* Use ABN as Australian VAT numberViggo de Vries2021-01-101-1/+1
| | | | | | See https://www.ato.gov.au/Business/GST/Tax-invoices/ Closes https://github.com/arthurdejong/python-stdnum/pull/246
* Support VAT numbers that are only valid with country prefixArthur de Jong2021-01-021-1/+5
| | | | | | | | | The Swish VAT number has the CH prefix embedded as a required part of the number. This ensures that the international VAT number module also supports that. Closes https://github.com/arthurdejong/python-stdnum/issues/245 Fixes ff188bd
* Add Liechtenstein PersonenidentifikationsnummerMatthias Schmid, M.Sc2020-11-082-0/+89
| | | | | Closes https://github.com/arthurdejong/python-stdnum/pull/241 Closes https://github.com/arthurdejong/python-stdnum/issues/125
* Expanded validation for BE VAT numbersJonas Geuens2020-11-071-1/+1
| | | | | | Specifically invalidated all-zero numbers Closes https://github.com/arthurdejong/python-stdnum/pull/240
* Retain RO prefix in Romanian VAT numbersArthur de Jong2020-11-012-13/+21
| | | | | | | | This does not strip the RO prefix from Romanian VAT numbers to be able to keep the distinction between a CUI/CIF that is registered for VAT (which commonly has the RO prefix) and those that don't. Closes https://github.com/arthurdejong/python-stdnum/issues/231
* Minor updatesArthur de Jong2020-11-012-2/+3
|
* Add Romanian CUI/CIF numberArthur de Jong2020-11-012-20/+95
| | | | | This module separates the validation of numbers assigned to companies (CUI or CIF) of those assigned to natural persons (CNP).
* Make list of EU member states list of public APIArthur de Jong2020-09-191-4/+4
| | | | | | | | This provides stdnum.eu.vat.MEMBER_STATES. Note that Greece is listed with a country code of "gr" while the prefix used in VAT numbers is "el". Closes https://github.com/arthurdejong/python-stdnum/issues/238
* Get files ready for 1.14 release1.14Arthur de Jong2020-08-091-1/+1
|
* Update database filesArthur de Jong2020-08-099-591/+1456
|
* Add module to check any VAT numberLeandro Regueiro2020-08-091-0/+94
| | | | | | | This effectively mimics vatnumber's `check_vat` function, so people can easily replace the outdated vatnumber library with stdnum. Closes https://github.com/arthurdejong/python-stdnum/pull/199
* Add GS1-128 formatArthur de Jong2020-08-082-0/+439
| | | | | | | | | | This adds validation, parsing and encoding functions for GS1-128. It is based on the lists of formats as published by the GS1 organisation. Based on the implementation provided by Sergi Almacellas Abellana <sergi@koolpi.com>. Closes https://github.com/arthurdejong/python-stdnum/pull/144
* Add Romanian Trade Register identifierArthur de Jong2020-08-021-0/+99
| | | | | Closes https://github.com/arthurdejong/python-stdnum/issues/229 Closes https://github.com/arthurdejong/python-stdnum/pull/234
* Add English Unique Tax ReferenceMohammed Salman2020-08-021-0/+72
| | | | Closes https://github.com/arthurdejong/python-stdnum/pull/227
* Support foreign residents for Romanian CNPArthur de Jong2020-08-021-7/+13
| | | | | | | | | | This supports 7 or 8 as first digits in the CNP which are apparently used to identify foreign residents. This also changes the exception for an incorrect first digit from InvalidFormat to InvalidComponent which is a little clearer. Closes https://github.com/arthurdejong/python-stdnum/issues/230
* Remove custom CA certificate for www.ftc.go.krArthur de Jong2020-08-022-24/+1
| | | | | This certificate is not needed any more because the site now uses a different certificate that is signed by a known CA.
* Scape new line characterevaldez892020-08-021-1/+1
| | | | | Closes https://github.com/arthurdejong/python-stdnum/pull/233 Closes https://github.com/arthurdejong/python-stdnum/issues/232
* Add support for Taiwan TIN numberLeandro Regueiro2020-07-052-0/+117
| | | | | Closes https://github.com/arthurdejong/python-stdnum/pull/214 Closes https://github.com/arthurdejong/python-stdnum/issues/209
* Add support for Indonesian NPWPLeandro Regueiro2020-06-282-0/+111
| | | | | Closes https://github.com/arthurdejong/python-stdnum/issues/106 Closes https://github.com/arthurdejong/python-stdnum/pull/198
* Add support for Vietnam TIN numberLeandro Regueiro2020-06-282-0/+138
| | | | | Closes https://github.com/arthurdejong/python-stdnum/issues/217 Closes https://github.com/arthurdejong/python-stdnum/pull/218
* Add an online check for the South Korean BRNArthur de Jong2020-06-282-0/+38
|
* Add support for South Korea Business Registration NumberLeandro Regueiro2020-06-282-0/+88
| | | | | Closes https://github.com/arthurdejong/python-stdnum/pull/197 Closes https://github.com/arthurdejong/python-stdnum/issues/101
* Support 6 as third digit for foreign people in EcuadorChristopher Ormaza2020-06-281-1/+1
| | | | Closes https://github.com/arthurdejong/python-stdnum/pull/228
* Add support for Singapore Unique Entity NumberLeandro Regueiro2020-05-172-0/+196
| | | | | Closes https://github.com/arthurdejong/python-stdnum/issues/111 Closes https://github.com/arthurdejong/python-stdnum/pull/203
* Add missing vat alias for New ZealandLeandro Regueiro2020-05-161-0/+3
| | | | Closes https://github.com/arthurdejong/python-stdnum/pull/202
* Add support for Chinese TIN numberLeandro Regueiro2020-04-272-0/+128
| | | | | Closes https://github.com/arthurdejong/python-stdnum/issues/207 Closes https://github.com/arthurdejong/python-stdnum/pull/210
* Add support for El Salvador TIN numberLeandro Regueiro2020-04-262-0/+145
| | | | | Closes https://github.com/arthurdejong/python-stdnum/issues/133 Closes https://github.com/arthurdejong/python-stdnum/pull/215
* Add Israeli TIN numberLeandro Regueiro2020-04-252-0/+90
| | | | | Closes https://github.com/arthurdejong/python-stdnum/pull/208 Closes https://github.com/arthurdejong/python-stdnum/issues/107
* Use HTTPS in URLs where possibleArthur de Jong2020-03-2018-21/+20
|
* Use HTTPS instead of HTTP fox VIES lookupsgrzekru2020-03-201-1/+1
| | | | | Closes https://github.com/arthurdejong/python-stdnum/issues/204 Closes https://github.com/arthurdejong/python-stdnum/pull/205
* Add Italian AIC codesFabrizioMontanari2020-03-141-0/+132
| | | | Closes https://github.com/arthurdejong/python-stdnum/pull/193
* Fix typoArthur de Jong2020-03-091-1/+1
| | | | Thanks @unho
* Use zip() for applying weights in check algorithmsArthur de Jong2020-03-082-7/+4
|
* Add Bellarus УНП numberArthur de Jong2020-03-083-0/+200
| | | | | | This also adds a function to do an online lookup of the number. Closes https://github.com/arthurdejong/python-stdnum/issues/196
* Add missing vat alias for JapanLeandro Regueiro2020-03-071-0/+1
|
* Add missing vat alias for CanadaLeandro Regueiro2020-03-071-0/+1
|
* Add missing vat alias for TurkeyLeandro Regueiro2020-03-071-0/+1
|
* Add missing vat alias for PeruLeandro Regueiro2020-03-071-0/+1
|
* Add missing vat alias for Costa RicaLeandro Regueiro2020-03-071-0/+1
|