borni-dhifi / vatnumber

Automatically exported from code.google.com/p/vatnumber
GNU General Public License v3.0
0 stars 0 forks source link

irish vat number validated by vies and not by library #24

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

an Irish vat number is accepted by vies and not by the library.
for example the following vat number : IE1113202EH is somehow validated by VIES 
even if it doesn't match the Irish vat number format described on wikipedia

What is the expected output? What do you see instead?

>>> vatnumber.check_vies('IE1113202EH')
True
>>> vatnumber.check_vat('IE1113202EH')
False

Expected to see True

What version of the product are you using? On what operating system?

version 1.0

Please provide any additional information below.

I couldn't find any information on any change on the Irish vat number format 
which is supposed to be 8 digits length (not 9)

Original issue reported on code.google.com by c...@openerp.com on 16 Apr 2013 at 8:50

GoogleCodeExporter commented 8 years ago
See
http://www.vatlive.com/european-news/ireland-vat-number-format-from-january-2013
/

Original comment by oreub...@gmail.com on 8 Oct 2013 at 2:11

GoogleCodeExporter commented 8 years ago
irish validation is now done using python-stdnum.
You should report this issue on their bugtracker: 
https://github.com/arthurdejong/python-stdnum

Original comment by cedric.krier@b2ck.com on 9 Jan 2014 at 4:01