| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Closes https://github.com/arthurdejong/python-stdnum/pull/417
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Closes https://github.com/arthurdejong/python-stdnum/pull/246
|
|
|
|
|
|
|
|
| |
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 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
|
|
|
|
|
| |
Closes https://github.com/arthurdejong/python-stdnum/issues/204
Closes https://github.com/arthurdejong/python-stdnum/pull/205
|
|
|
|
|
|
| |
This adds a timeout parameter to all checks that use a SOAP web service
to reduce the blocking time. The default timeout for all checks is 30
seconds.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Whilst working on the Reproducible Builds effort [0], we noticed that
python-stdnum could not be built reproducibly as it relies on a stable
set ordering when generating the documentation.
This has been filed in Debian as #88652
[0] https://reproducible-builds.org/
[1] https://bugs.debian.org/886522
Closes: https://github.com/arthurdejong/python-stdnum/pull/61
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
|
|
|
|
|
|
| |
These tests are not normally run as part of the normal test suite and
have to be explicitly enabled by setting the ONLINE_TESTS environment
variable to avoid overloading these online services.
|
|
|
|
|
| |
This caches the instantiated SOAP client classes in the util module
instead of doing the caching in every module that performs requests.
|
| |
|
|
|
|
|
|
| |
This changes the get_vat_module() function to a more generic
get_cc_module() function so that it can also be used for other things
like IBAN checking.
|
|
|
|
|
| |
This refactors out the SOAP client function that was implemented for
VIES to the stdnum.utils module.
|
|
|
|
|
|
|
| |
This fixes a bug when checking re-use of the global SOAP client object.
The object could not be evaluated in boolean context so is no explicitly
compared to None. For suds a MethodNotFound exception would be raised
for __nonzero__() (which Python uses for boolean comparison).
|
| |
|
|
|
|
|
| |
This moves the finding of a VAT module to the util module so that it can
be more easily re-used for non-EU countries.
|
|
|
|
|
| |
Initial testing seems to suggest that proxy-support is not complete with
pysimplesoap (at least httplib2 and PySocks seem to be required).
|
|
|
|
|
|
|
|
| |
Add a function to stdnum.eu.vat so that when one does a VIES VAT number
check, one gets a proof (certificate) that one did the check, as defence
against the VAT administration later putting this in doubt. This
certificate is provided by the VIES service, if one provides one's own
VAT number.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
git-svn-id: http://arthurdejong.org/svn/python-stdnum/python-stdnum@168 9dea7c4f-944c-4273-ac1a-574ede026edc
|
|
|
|
|
|
| |
usable format
git-svn-id: http://arthurdejong.org/svn/python-stdnum/python-stdnum@165 9dea7c4f-944c-4273-ac1a-574ede026edc
|
|
|
|
|
|
| |
on-line check of the VAT number
git-svn-id: http://arthurdejong.org/svn/python-stdnum/python-stdnum@157 9dea7c4f-944c-4273-ac1a-574ede026edc
|
|
git-svn-id: http://arthurdejong.org/svn/python-stdnum/python-stdnum@155 9dea7c4f-944c-4273-ac1a-574ede026edc
|