Run with Postman

European Vat

This service provides REST calls to extract information on european companies from simple parameters such as country code and VAT number

Company Information

Starting from data of a company such as VAT number basic information on the company itself is extracted

This service returns basic information of a company such as company name and address

Authorizations:
path Parameters
country_code
required
string
Default: "<string>"
Example: IT

company country code

vat
required
string
Default: "<string>"
Example: 11xxxxx1009

VAT number of the company

Responses

Response Schema: application/json
object (Company)
success
boolean
message
string
error
integer

Request samples

CURL *hnd = curl_easy_init();

curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "https://test.europeanvat.altravia.com/companies/%7Bcountry_code%7D/%7Bvat%7D");

struct curl_slist *headers = NULL;
headers = curl_slist_append(headers, "Authorization: Bearer REPLACE_BEARER_TOKEN");
curl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);

CURLcode ret = curl_easy_perform(hnd);

Response samples

Content type
application/json
{
  • "data": {
    },
  • "success": true,
  • "message": "",
  • "error": null
}