Skip to main content

Notifications

Community site session details
Power Automate - Building Flows
Answered

WSDL SERVICE FOR EUROPEAN VAT CHECK - VIES

Like (1) ShareShare
ReportReport
Posted on 7 Oct 2020 17:49:12 by 21

Hi there,

 

Is there some who have already experiment a Power Automate to send request to check the UE website that verify if a VAT ID is correct or not ? aka Vies.

 

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

 

I'm looking to find out if Power Automate could be a good place for individual check.

 

Thanks for your hints.

 

BR,

Gérald

  • Ghitafjorback Profile Picture
    3 on 27 Apr 2023 at 06:41:32
    Re: WSDL SERVICE FOR EUROPEAN VAT CHECK - VIES

    My earlier approach worked for me for a long time, and then suddenly it didn’t work anymore. I no longer need the process in my organization, so I didn’t really care about it, but I am glad to see that a new approach is now working! 👌🏻

  • bearRidge Profile Picture
    7 on 26 Apr 2023 at 17:30:35
    Re: WSDL SERVICE FOR EUROPEAN VAT CHECK - VIES

    I was in contact with the support during the day. First they told me:

    1. If you were attempting to access the VoW service via (REST (API)):
    • The VIES on the WEB (VoW), besides the WEB Interactive service, only offers a SOAP (API) interface. Therefore, the REST (API) service should not be used. Following installation of VoW 7.0.0 into production on 11/08/2022, this is no longer feasible. For your information, as the VoW constantly evolves, the next release of the VoW is also planned to include a REST (API) service that will be accompanied with the corresponding documentation.

    And then they told me:

    As regards the “REST API”, this will be implemented in the next few months and will be accompanied with corresponding documentation. NO specific date for this implementation is known to us as yet.

  • GeraldBonnin Profile Picture
    21 on 26 Apr 2023 at 16:23:40
    Re: WSDL SERVICE FOR EUROPEAN VAT CHECK - VIES

    Capture d’écran 2023-04-26 182049.jpg

    "

    {
        "type""object",
        "properties": {
            "isValid": {
                "type""boolean"
            },
            "requestDate": {
                "type""string"
            },
            "userError": {
                "type""string"
            },
            "name": {
                "type""string"
            },
            "address": {
                "type""string"
            },
            "requestIdentifier": {
                "type""string"
            },
            "vatNumber": {
                "type""string"
            },
            "viesApproximate": {
                "type""object",
                "properties": {
                    "name": {
                        "type""string"
                    },
                    "street": {
                        "type""string"
                    },
                    "postalCode": {
                        "type""string"
                    },
                    "city": {
                        "type""string"
                    },
                    "companyType": {
                        "type""string"
                    },
                    "matchName": {
                        "type""integer"
                    },
                    "matchStreet": {
                        "type""integer"
                    },
                    "matchPostalCode": {
                        "type""integer"
                    },
                    "matchCity": {
                        "type""integer"
                    },
                    "matchCompanyType": {
                        "type""integer"
                    }
                }
            }
        }
    }"
  • GeraldBonnin Profile Picture
    21 on 26 Apr 2023 at 16:11:33
    Re: WSDL SERVICE FOR EUROPEAN VAT CHECK - VIES

    I'am afraid not. I have understood by sniffing real example via the web interface :

    GeraldBonnin_0-1682525411524.png

    GeraldBonnin_1-1682525436715.png

     

  • bearRidge Profile Picture
    7 on 26 Apr 2023 at 11:51:56
    Re: WSDL SERVICE FOR EUROPEAN VAT CHECK - VIES

    @GeraldBonnin that made my day. 😊 Do you have a link to some documentation for that rest api? I could only find information about their soap service.

  • Verified answer
    GeraldBonnin Profile Picture
    21 on 26 Apr 2023 at 09:25:55
    Re: WSDL SERVICE FOR EUROPEAN VAT CHECK - VIES

    Well on my side the solution of @GhitaFjorback1 never worked. Also @bearRidge @thesanjiv , I have found out a way to make it. SOAP is not the best approach finally.

     

    But using the REST API with HTTP Power Flow activity :

     

    GeraldBonnin_0-1682501024090.png

     

    Provide URI as following with GET Methode

    https://ec.europa.eu/taxation_customs/vies/rest-api/ms/{your partner VAT country}/vat/{your parnter VAT number}?requesterMemberStateCode={your country VAT}&requesterNumber={your VAT number}

     

    You will get following output schema easy to parse then :

     

    {
      "isValid",
      "requestDate""",
      "userError""",
      "name""",
      "address""",
      "requestIdentifier""",
      "vatNumber""",
      "viesApproximate": {
        "name""---",
        "street""---",
        "postalCode""---",
        "city""---",
        "companyType""---",
        "matchName"3,
        "matchStreet"3,
        "matchPostalCode"3,
        "matchCity"3,
        "matchCompanyType"3
      }
    }
  • bearRidge Profile Picture
    7 on 26 Apr 2023 at 08:16:10
    Re: WSDL SERVICE FOR EUROPEAN VAT CHECK - VIES

    @GhitaFjorback1 did you really get this to work? I tried it out, both in Power Automat and in Postman but all I get is 500 internal server error

  • GhitaFjorback1 Profile Picture
    69 on 13 Aug 2021 at 20:53:56
    Re: WSDL SERVICE FOR EUROPEAN VAT CHECK - VIES

    I found out how to use the rest api function of Vies. See below.

    GhitaFjorback1_0-1628888026612.png

     

  • thesanjiv Profile Picture
    2 on 12 Aug 2021 at 07:23:41
    Re: WSDL SERVICE FOR EUROPEAN VAT CHECK - VIES

    Hi All, 

    If you know how to call WSDL service in Power Automate(MS Flow) without using Postman collection 

    Regards,

    Sanjeev 

     

  • GhitaFjorback1 Profile Picture
    69 on 01 Jul 2021 at 18:57:06
    Re: WSDL SERVICE FOR EUROPEAN VAT CHECK - VIES

    @GeraldBonnin did you find out how to do this with Power Automate? I am looking for same solution. 🙂

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,743 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,079 Most Valuable Professional

Leaderboard
Loading started
Loading started