Overview
The Vat ID Validator Plugin can be used to check the validity of a VAT number issued by any EU Member State.
The check is made through the VIES VAT number validation SOAP service from http://ec.europa.eu/taxation_customs/vies.
Sample:
try{
var vat_number = 'BE0999999999'
var result = plugins.vatid_validator.verifyVATNumber(vat_number)
}
catch(ex){
//vat number structure incorrect
plugins.dialogs.showWarningDialog('error',ex.message.substring(21), 'OK');
}
- License: Apache License, Version 2.0
- Category: Plugin
Members
Project Leader: Edit Mera