Custom Connector for VIES for European Vat Number validation.

 As companion piece to my custom connector blog for HMRC:

Custom Connector for HMRC VAT Number Validation | D365 F&O | Power Platform (alexdobinson.blogspot.com)

I wanted to do the same thing for European VAT numbers via VIES API which is documented here:

https://ec.europa.eu/taxation_customs/vies/technicalInformation.html

First thing to be aware with the API to get the WSDL file from here:

https://ec.europa.eu/taxation_customs/vies/checkVatService.wsdl 

In a chromium browser use the save page as:



Then save it as a WSDL file:



We can use Postman, go to File > Import


Then select WSDL:


I made adjustments to the collection that was created, by adding 2 variables here.




Do some testing you can find the different formats based on country on vies website, then I loaded as a customer connector using a postman collection which is detailed here.


When I tested I used a raw body same defined in postman.


Thats all for now.








 

Comments

Popular posts from this blog

"Exception while trying to get Virtual Entity metadata for entity" Error on Data Events

Electronic Reporting Bank Statement Import parsing account number for BAI2.

Electronic Reporting displaying Legal Entity Email/Phone by custom Address Purpose