On Thursday, December 20, 2012 5:23:02 PM UTC+1, roba wrote:
>
> > When adding a Dutch (NL) VAT number, I get an error telling the number 
> is not valid. 
> > 
> > 
> > Tried several: 
> > 
> >   NL001234567B01   (should be ok!) 
> >   001234567B01 
> >   001234567 
> > 
> > None are reported correct, what am I doing wrong? 
>
> The python module vatnumber does the checking, so it's not exactly 
> Tryton related. 
>
> Anyway, according to the implementation of vatnumber, the digit just 
> before 'B' (7 in this case) works as a check digit. Your VAT number 
> fails the test, because the correct check digit in this case is 0. 
>
> So a correct Dutch VAT number would be NL001234560B01.


Your right, thank you. 

-- 
-- 
[email protected] mailing list



Reply via email to