| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
|
|
| |
This changes a few inline imports in the code to pass with the new
isort.
Reverts 291b831
|
| |
|
|
|
|
|
| |
Closes https://github.com/arthurdejong/python-stdnum/pull/242
Closes https://github.com/arthurdejong/python-stdnum/issues/117
|
|
|
|
|
| |
Closes https://github.com/arthurdejong/python-stdnum/pull/242
Closes https://github.com/arthurdejong/python-stdnum/issues/117
|
|
|
|
| |
Closes https://github.com/arthurdejong/python-stdnum/pull/246
|
| |
|
|
|
|
|
|
| |
See https://www.ato.gov.au/Business/GST/Tax-invoices/
Closes https://github.com/arthurdejong/python-stdnum/pull/246
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
Closes https://github.com/arthurdejong/python-stdnum/pull/241
Closes https://github.com/arthurdejong/python-stdnum/issues/125
|
|
|
|
|
|
| |
Specifically invalidated all-zero numbers
Closes https://github.com/arthurdejong/python-stdnum/pull/240
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
| |
This module separates the validation of numbers assigned to companies
(CUI or CIF) of those assigned to natural persons (CNP).
|
|
|
|
|
|
|
|
| |
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
|
| |
|
| |
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
Closes https://github.com/arthurdejong/python-stdnum/issues/229
Closes https://github.com/arthurdejong/python-stdnum/pull/234
|
|
|
|
| |
Closes https://github.com/arthurdejong/python-stdnum/pull/227
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
This certificate is not needed any more because the site now uses a
different certificate that is signed by a known CA.
|
|
|
|
|
| |
Closes https://github.com/arthurdejong/python-stdnum/pull/233
Closes https://github.com/arthurdejong/python-stdnum/issues/232
|
|
|
|
|
| |
Closes https://github.com/arthurdejong/python-stdnum/pull/214
Closes https://github.com/arthurdejong/python-stdnum/issues/209
|
|
|
|
|
| |
Closes https://github.com/arthurdejong/python-stdnum/issues/106
Closes https://github.com/arthurdejong/python-stdnum/pull/198
|
|
|
|
|
| |
Closes https://github.com/arthurdejong/python-stdnum/issues/217
Closes https://github.com/arthurdejong/python-stdnum/pull/218
|
| |
|
|
|
|
|
| |
Closes https://github.com/arthurdejong/python-stdnum/pull/197
Closes https://github.com/arthurdejong/python-stdnum/issues/101
|
|
|
|
| |
Closes https://github.com/arthurdejong/python-stdnum/pull/228
|
|
|
|
|
| |
Closes https://github.com/arthurdejong/python-stdnum/issues/111
Closes https://github.com/arthurdejong/python-stdnum/pull/203
|
|
|
|
| |
Closes https://github.com/arthurdejong/python-stdnum/pull/202
|
|
|
|
|
| |
Closes https://github.com/arthurdejong/python-stdnum/issues/207
Closes https://github.com/arthurdejong/python-stdnum/pull/210
|
|
|
|
|
| |
Closes https://github.com/arthurdejong/python-stdnum/issues/133
Closes https://github.com/arthurdejong/python-stdnum/pull/215
|
|
|
|
|
| |
Closes https://github.com/arthurdejong/python-stdnum/pull/208
Closes https://github.com/arthurdejong/python-stdnum/issues/107
|
| |
|
|
|
|
|
| |
Closes https://github.com/arthurdejong/python-stdnum/issues/204
Closes https://github.com/arthurdejong/python-stdnum/pull/205
|
|
|
|
| |
Closes https://github.com/arthurdejong/python-stdnum/pull/193
|
|
|
|
| |
Thanks @unho
|
| |
|
|
|
|
|
|
| |
This also adds a function to do an online lookup of the number.
Closes https://github.com/arthurdejong/python-stdnum/issues/196
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This adds a function that allows you to determine a persons birth date
from a Norwegian fødselsnummer.
This also accounts for D-numbers, H-numbers, and FH-numbers, which
contain special exceptions and modifications to the birthdate portion of
the number.
Most of the information this is based on was found here:
https://no.wikipedia.org/wiki/F%C3%B8dselsnummer#H-nummer
It also updates the list of valid fødselsnummer in the tests, since this
list contained many numbers that are not valid by this new validation
that now accounts for dates.
Additionally, this updates all tests that were failing under the new
validation, and adds a few new tests to bring the coverage to 100%.
Closes https://github.com/arthurdejong/python-stdnum/pull/187
|
|
|
|
|
|
|
|
| |
This adds a check to validate that the birth date information in a
personnummer is not set in the future, resolving a TODO from this file.
It also improves exception messages for certain validation fail
conditions.
|