| 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
|
| |
|
|
|
|
| |
Closes https://github.com/arthurdejong/python-stdnum/pull/428
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
The last 3 digits are a checksum. % 511
https://ec.europa.eu/taxation_customs/tin/specs/FS-TIN%20Algorithms-Public.docx
Closes https://github.com/arthurdejong/python-stdnum/pull/426
|
|
|
|
|
|
| |
Thanks Davide Walder for finding this.
Closes https://github.com/arthurdejong/python-stdnum/issues/427
|
|
|
|
| |
Closes https://github.com/arthurdejong/python-stdnum/pull/422
|
|
|
|
| |
Closes https://github.com/arthurdejong/python-stdnum/pull/421
|
| |
|
| |
|
| |
|
|
|
|
|
| |
The portal.nalog.gov.by web no longer has an incomplete certificate
chain.
|
|
|
|
|
| |
Closes https://github.com/arthurdejong/python-stdnum/issues/412
Closes https://github.com/arthurdejong/python-stdnum/pull/413
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
See http://www.straightlineinternational.com/docs/vaildating_canadian_sin.pdf
See https://lists.arthurdejong.org/python-stdnum-users/2023/msg00000.html
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
Fix a comment that claimed incorrect ISSN length and use slightly more
consistent terminology around check digits in ISSN and ISBN.
Closes https://github.com/arthurdejong/python-stdnum/pull/415
|
|
|
|
|
| |
Closes https://github.com/arthurdejong/python-stdnum/issues/384
Closes https://github.com/arthurdejong/python-stdnum/pull/386
|
|
|
|
| |
Closes https://github.com/arthurdejong/python-stdnum/pull/401
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
This also validates the county part of the number.
Closes https://github.com/arthurdejong/python-stdnum/pull/407
|
|
|
|
|
|
|
| |
The original way of calling strftime was likely an artifact of Python
2.6 support.
Fixes 7e84c05
|
|
|
|
|
| |
Some new AIs have new date formats or have changed the way optional
components of formats are defined.
|
|
|
|
| |
Closes https://github.com/arthurdejong/python-stdnum/pull/409
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Closes https://github.com/arthurdejong/python-stdnum/pull/344
|
|
|
|
| |
Clocses https://github.com/arthurdejong/python-stdnum/pull/341
|
| |
|
| |
|
|
|
|
|
| |
It appears that the data structure at OffeneRegister has changed which
requires a different query. Data is returned in a different structure.
|
|
|
|
|
|
|
|
| |
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 assumes that we no longer use Python 2.7 for running the flake8
tests any more.
|
| |
|
|
|
|
| |
Closes https://github.com/arthurdejong/python-stdnum/pull/340
|
|
|
|
|
| |
All the validation exceptions (subclasses of ValidationError) are raised
when a number is provided with an inappropriate value.
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Fixes 09d595b
|
|
|
|
| |
This ensures that a leading 0 is treated as invalid.
|
|
|
|
|
|
|
| |
The recently added stdnum.cas module was already available as teh
stdnum.casrn module.
Reverts acb6934
|