This module's project homepage mentions:
Features
(...)
- check if VAT country matches shipping country
however, I cannot see something implemented.
The default behaviour of Commerce is to just have a Billing information Customer Profile type (and no Shipping information), which is sufficient for shops only delivering electronic services.
Before doing the check _vat_number_check_vat_format($value)
to ensure a VAT-ID like ATU12345678
matches the structure for AT
VAT-ID's, a very fist check should be to check if AT
of the provided VAT-ID matches the country code of the selected billing country.
Thanks.
Comments
Comment #1
roball CreditAttribution: roball commentedI am now doing this using the excellent Field validation module 7.x-2.x. No need to have the validation done by the VAT Number module :-)
Comment #3
sjiuh CreditAttribution: sjiuh commentedThis should be the sole purpose of the module, why else would you check with the EU webservice, if not for matching returned value.