VAT fields validation

Discussion in 'HTML & Website Design' started by Zmags_JD, May 20, 2008.

  1. #1
    I have a webshop with global scope. As we are based in the European Union, we are obliged to report VAT no's from EU countries, or else we will pay the VAT.

    So far I've been sticking to this:
    http://www.ec.europa.eu/taxation_customs/vies/api/checkVatPort?wsdl

    But testing doesn't let all valid VAT no's through, and in some countries there seem to be additional company registration no that the customers try to insert instead.

    Anyone who knows some good tricks for this validation? Or even better: a serverside script that can make the validation properly.

    Thanks
     
    Zmags_JD, May 20, 2008 IP