Method
POST /v1/verify/vat
Body Parameters
Headers
Bearer token (e.g.
Authorization: Bearer YOUR_API_KEY)application/jsoncurl -X POST https://api.voyantcloud.com/v1/verify/vat \
-H "Authorization: Bearer $VOYANT_API_KEY" \
-H "content-type: application/json" \
-d '{ "vat": "RO12345678" }'
{
"ok": true,
"vat": "GB999999973",
"isFormatValid": true,
"viesChecked": false,
"isRegistered": null
}
Normalize and validate business VAT numbers (format + optional VIES check).
POST /v1/verify/vat
Authorization: Bearer YOUR_API_KEY)application/jsoncurl -X POST https://api.voyantcloud.com/v1/verify/vat \
-H "Authorization: Bearer $VOYANT_API_KEY" \
-H "content-type: application/json" \
-d '{ "vat": "RO12345678" }'
{
"ok": true,
"vat": "GB999999973",
"isFormatValid": true,
"viesChecked": false,
"isRegistered": null
}
ENABLE_VIES_CHECK=1 and extend the logic to call VIES, returning isRegistered when authoritative validation is required.