borni-dhifi / vatnumber

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

SK VAT Number starting with 40 is rejected #28

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. VAT number SK4020246659 is not accepted
2. Change to SK2020246659 and it is accepted
3.

What is the expected output? What do you see instead?
According to VIES the VAT number is valid

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

Please provide any additional information below.
Change code 1.1 line from:
    if int(vat[0:2]) in (0, 10, 20) and len(vat) == 10:
to:
    if int(vat[0:2]) in (0, 10, 20, 40) and len(vat) == 10:

Original issue reported on code.google.com by Jannesv...@gmail.com on 7 Aug 2013 at 1:12

GoogleCodeExporter commented 8 years ago
issue9 already asked to add 10 and 20.
It will be good to have a clear definition of this kind of number.

Original comment by cedric.krier@b2ck.com on 7 Aug 2013 at 2:23

GoogleCodeExporter commented 8 years ago
Absolutely true, a clear definition would help. I've googled a bit -even in 
SK-, but nothing conclusive.

I've asked this question to some SK finance guys in the company. Maybe they 
will come back with an answer.

Original comment by Jannesv...@gmail.com on 7 Aug 2013 at 7:03

GoogleCodeExporter commented 8 years ago
It will be fixed with issue29

Original comment by cedric.krier@b2ck.com on 30 Dec 2013 at 5:01

GoogleCodeExporter commented 8 years ago

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

GoogleCodeExporter commented 8 years ago
Issue 30 has been merged into this issue.

Original comment by cedric.krier@b2ck.com on 3 Apr 2014 at 7:38