Export to GitHub

vatnumber - issue #24

irish vat number validated by vies and not by library


Posted on Apr 16, 2013 by Massive Elephant

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)

Comment #1

Posted on Oct 8, 2013 by Swift Horse

See http://www.vatlive.com/european-news/ireland-vat-number-format-from-january-2013/

Comment #2

Posted on Jan 9, 2014 by Helpful Kangaroo

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

Status: WontFix

Labels:
Type-Defect Priority-Medium