| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The Belgian bpost bank no longer has a registration and a few bank
account numbers in the tests that used that bank were removed.
Also updates the update/gs1_ai.py script to handle the new format of the
data published by GS1. Also update the GS1-128 module to handle some
different date formats.
The Pakistan entry was kept in the stdnum/iban.dat file because the PDF
version of the IBAN Registry still contains the country.
fix db
|
|
|
|
|
|
|
| |
This fixes the case where the weighted sum woud be 10 which should
result in a check digit of 0.
Closes https://github.com/arthurdejong/python-stdnum/issues/429
|
|
|
|
|
|
| |
Thanks Davide Walder for finding this.
Closes https://github.com/arthurdejong/python-stdnum/issues/427
|
|
|
|
| |
Closes https://github.com/arthurdejong/python-stdnum/pull/422
|
| |
|
| |
|
|
|
|
|
|
| |
The API for the online check for Belarusian UNP numbers at
https://www.portal.nalog.gov.by/grp/getData has changed some small
details of the API.
|
|
|
|
| |
The number seems to be no longer valid breaking the online tests.
|
|
|
|
|
|
|
|
| |
This also modifies the OUI update script because the website has changed
to HTTPS and is sometimes very slow.
The Belgian Commerzbank no longer has a registration and a bank account
number in the tests used that bank.
|
|
|
|
| |
Closes https://github.com/arthurdejong/python-stdnum/pull/417
|
|
|
|
| |
Closes https://github.com/arthurdejong/python-stdnum/pull/414
|
|
|
|
|
| |
This improves consistency across files and fixes some files that had an
incorrect file name reference.
|
|
|
|
| |
Closes https://github.com/arthurdejong/python-stdnum/pull/418
|
|
|
|
|
|
|
|
|
|
| |
Number
This adds documentation for the special cases regarding birth dates
embedded in the number, allows for date parts to be unknown and adds
functions for getting the year and month.
Closes https://github.com/arthurdejong/python-stdnum/pull/416
|
|
|
|
|
| |
Closes https://github.com/arthurdejong/python-stdnum/issues/384
Closes https://github.com/arthurdejong/python-stdnum/pull/386
|
|
|
|
|
|
| |
More information at https://dvv.fi/en/reform-of-personal-identity-code
Cloess https://github.com/arthurdejong/python-stdnum/pull/396
|
|
|
|
|
|
| |
This also extends the documentation for the number.
Closes https://github.com/arthurdejong/python-stdnum/pull/347/files
|
|
|
|
|
| |
Some new AIs have new date formats or have changed the way optional
components of formats are defined.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This extends the description of the Albanian NIPT (NUIS) number with
information on the structure of the number. The first character was
previously limited between J and L but this letter indicates a decade
and the number is also used for individuals to where it indicates a
birth date.
Thanks Julien Launois for pointing this out.
Source: https://www.oecd.org/tax/automatic-exchange/crs-implementation-and-assistance/tax-identification-numbers/Albania-TIN.pdf
Fixes 3db826c
Closes https://github.com/arthurdejong/python-stdnum/pull/402
|
|
|
|
|
|
|
| |
This also convertis Arabic digits to ASCII digits.
Closes https://github.com/arthurdejong/python-stdnum/issues/225
Closes https://github.com/arthurdejong/python-stdnum/pull/334
|
|
|
|
|
| |
It appears that the data structure at OffeneRegister has changed which
requires a different query. Data is returned in a different structure.
|
|
|
|
| |
See https://github.com/arthurdejong/python-stdnum/pull/316
|
|
|
|
|
|
|
|
| |
Based on the implementation provided by Quantum Novice (Syed Haseeb
Shah).
Closes https://github.com/arthurdejong/python-stdnum/pull/306
Closes https://github.com/arthurdejong/python-stdnum/issues/304
|
|
|
|
|
|
| |
Number)
Closes https://github.com/arthurdejong/python-stdnum/pull/338
|
|
|
|
|
|
|
| |
This function can be used to performa a lookup of organisation
information by the Swiss Federal Statistical Office web service.
Related to https://github.com/arthurdejong/python-stdnum/issues/336
|
|
|
|
|
|
|
|
|
| |
It is unclear why these letters were considered invalid at the time of
the implementation.
This also reduces the test set a bit while still covering most cases.
Closes https://github.com/arthurdejong/python-stdnum/issues/337
|
|
|
|
| |
The future was now. This problem was pushed forwards to October 2039.
|
|
|
|
|
| |
Closes https://github.com/arthurdejong/python-stdnum/pull/326
Closes https://github.com/arthurdejong/python-stdnum/issues/262
|
|
|
|
|
| |
Closes https://github.com/arthurdejong/python-stdnum/pull/331
Closes https://github.com/arthurdejong/python-stdnum/issues/223
|
|
|
|
|
| |
Closes https://github.com/arthurdejong/python-stdnum/pull/323
Closes https://github.com/arthurdejong/python-stdnum/issues/219
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Note that this is implementation is mostly based on unofficial sources
describing the format, which match the hundreds of examples found
online.
https://forum.it.mk/threads/modularna-kontrola-na-embg-edb-dbs-itn.15663/?__cf_chl_tk=Op2PaEIauip6Z.ZjvhP897O8gRVAwe5CDAVTpjx1sEo-1663498930-0-gaNycGzNCRE#post-187048
Also note that the algorithm for the check digit was tested on all found
examples, and it doesn't work for all of them, despite those failing
examples don't seem to be valid according to the official online search.
Closes https://github.com/arthurdejong/python-stdnum/pull/330
Closes https://github.com/arthurdejong/python-stdnum/issues/222
|
|
|
|
|
|
|
|
|
| |
This currently only checks the length and whether it only contains
digits because little could be found on the structure of the number of
whether there are any check digits.
Closes https://github.com/arthurdejong/python-stdnum/pull/313
Closes https://github.com/arthurdejong/python-stdnum/issues/307
|
|
|
|
|
| |
Closes https://github.com/arthurdejong/python-stdnum/issues/226
Closes https://github.com/arthurdejong/python-stdnum/pull/312
|
|
|
|
|
| |
Closes https://github.com/arthurdejong/python-stdnum/issues/300
Closes https://github.com/arthurdejong/python-stdnum/pull/310
|
|
|
|
|
| |
Closes https://github.com/arthurdejong/python-stdnum/pull/317
Closes https://github.com/arthurdejong/python-stdnum/issues/309
|
|
|
|
| |
The number used before was apparently no longer valid.
|
|
|
|
|
|
|
|
|
| |
Charlottenburg (Berlin) is a valid court representation for Berlin
(Charlottenburg).
See https://www.northdata.com/VRB+Service+GmbH,+Berlin/Amtsgericht+Charlottenburg+%28Berlin%29+HRB+103587+B
Closes https://github.com/arthurdejong/python-stdnum/pull/298
|
|
|
|
|
| |
Closes https://github.com/arthurdejong/python-stdnum/issues/295
Closes https://github.com/arthurdejong/python-stdnum/pull/296
|
|
|
|
|
|
|
| |
Date such as '(17)260400' is now properly interpreted as April 30th
2026.
Closes https://github.com/arthurdejong/python-stdnum/pull/294
|
|
|
|
| |
Closes https://github.com/arthurdejong/python-stdnum/pull/288
|
|
|
|
|
|
|
|
|
|
| |
There are some valid ranges for check digits within ISO 7064 Mod 97, 10
that all result in a valid checksum. This changes the calculated check
digits to be in the range from 02 to 98 as is specified for use in IBAN.
See https://en.wikipedia.org/wiki/International_Bank_Account_Number#Generating_IBAN_check_digits
Closes https://github.com/arthurdejong/python-stdnum/pull/289
|
|
|
|
|
|
|
| |
See https://fr.wikipedia.org/wiki/Système_d'identification_du_répertoire_des_établissements#Exceptions_pour_le_groupe_La_Poste
Closes https://github.com/arthurdejong/python-stdnum/pull/293
Closes https://github.com/arthurdejong/python-stdnum/issues/291
|
|
|
|
| |
Fixes a9039c1
|
|
|
|
|
|
|
| |
This implements parsing of ISO 10962 CFI codes based on the published
description of the structure of these numbers.
Closes https://github.com/arthurdejong/python-stdnum/issues/283
|
|
|
|
|
| |
If a numdb data file line contains multiple values or ranges the
sub-ranges were only applied to the last value in the range.
|
|
|
|
|
| |
The Korea Fair Trade Commission website now requires solving a CAPTCHA
before submitting the request so this is no longer possible.
|
|
|
|
|
| |
Apparently the previously whitelisted value is no longer recognised as a
valid value by the DGII service.
|
|
|
|
|
|
|
| |
A natural RUC is the CI plus an establishment number. Both the natural
RUC and the public RUC can have a third digit with the value 6.
Closes https://github.com/arthurdejong/python-stdnum/issues/267
|
|
|
|
| |
Closes https://github.com/arthurdejong/python-stdnum/pull/271
|
|
|
|
|
|
|
|
|
| |
- TIN Taxpayer Identification Number
- PIN Personal Identification Number
- MOA Memorandum of Association Number
Closes https://github.com/arthurdejong/python-stdnum/issues/118
Closes https://github.com/arthurdejong/python-stdnum/pull/255
|