mwillbanks / MwCommon

Various components to extend and enhance ZF2.
17 stars 5 forks source link

VAT/UID Validator #2

Closed rufinus closed 11 years ago

rufinus commented 11 years ago

take a look at https://gist.github.com/rufinus/5014752

it uses the WSDL from Taxation and Customs Union - European commission. see http://ec.europa.eu/taxation_customs/vies/faq.html#item_16 for more info.

mwillbanks commented 11 years ago

That is absolutely awesome! Very exciting; very! I was planning on doing an offline validator but this would be a perfect mix-in so that it could do a sanity check via preg then hit the service :+1: dude you rock!

rufinus commented 11 years ago

you're welcome. glad you like it.

mwillbanks commented 11 years ago

Alright I have added support but it does need a bit more work as noted in the changelog. Thanks again for referring me to the VIES site; I will likely have a bit more work to integrate this but I am almost thinking that the VIES site should be provided in a Service Module to make it easier for people to consume.