Closed mohawke closed 10 years ago
https://github.com/yolk/valvat#details--request-identifier
According to EU law, or at least as Austria sees it, it's mandatory to verify the UID number of every new customer, but also to check the UID Number periodicaly. To prove that you have checked the UID number, the VIES Web service can return a requestIdentifier.
To receive a requestIdentifier you need to pass your own VAT number in the options hash. In this Example, Google (VAT IE6388047V) is checking the validity of eBays VAT number (LU21416127)
Maybe we can also built this in. Each invoice can contain company name + address (from VIES).
endpoint to gain additional info about a vat number beyond pure validation of the vat number