Loading
Loading
https://api.apifreaks.com/v1.0/vat/validation
$ pip install requestsimport requests
url = "https://api.apifreaks.com/v1.0/vat/validation"
payload = {}
headers = {
'X-apiKey': ''
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
Click Test it to start the request and see the response here!
| Field | Type | Requirement | Description |
|---|---|---|---|
| country_code | string | Mandatory | VAT country prefix from the validated VAT number (e.g. DE, GB). |
| vat_number | string | number | Mandatory | VAT number without country prefix. |
| requester_country_code | string | Optional | Requester VAT country prefix (if requesterVatNumber was provided). |
| requester_vat_number | string | Optional | Requester VAT number without country prefix. |
| requested_at | string (ISO datetime) | Mandatory | Timestamp of validation request/processing. |
| validation | object | Mandatory | Validation result block. |
| validation.is_valid | boolean | Mandatory | Whether the VAT number is active and registered |
| validation.consultation_number | string | Optional | VIES/HMRC consultation number. Only present when requesterVatNumber is provided. |
| validation.consultation_authority | string | Mandatory | Upstream authority used for validation. |
| company | object | Mandatory | Company details block. |
| company.company_name | string | Mandatory | Company/trader name (may be empty string when unavailable). |
| company.company_address | string | Mandatory | Formatted address (may be empty string when unavailable). |