Verify the validity of a VAT registration number for customers within the EU. This is particularly useful when registering new accounts or updating billing information to ensure correct VAT accounting. The endpoint returns a unique ID for subsequent calls related to billing or administration.
Accept Example Content-Type Example countryCode string · enum required AT EE ES FI HU IT NL PL PT RO SE vatNumber string required success boolean timestamp string requestId string data object https://cloud.hostup.se/api/validate-vat curl -X POST "https://cloud.hostup.se/api/validate-vat" \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"countryCode": "AT",
"vatNumber": "string"
}' {
"success": true,
"timestamp": "string",
"requestId": "string",
"data": {
"valid": true,
"vatNumber": "string",
"countryCode": "string",
"name": "string",
"address": "string",
"requestDate": "string",
"error": "string",
"errorCode": "string",
"verifiedByVIES": true,
"viesUnavailable": true
}
} {
"countryCode": "AT",
"vatNumber": "string"
}