Validate a VAT number against the appropriate upstream service (VIES, HMRC, BFS, BRREG, or ABR) and return the validity status, company details, and an optional consultation number.
Input is normalized automatically - spaces, dots, and casing are handled for you ("nl 123.456.789 b01" -> "NL123456789B01").
Results are cached for 25 days. Cached responses include meta.cached: true and meta.cached_at. Pass cache=false to bypass the cache and force a fresh lookup from the upstream service.
The VAT number to validate (e.g. NL123456789B01, GB123456789, CHE-123.456.789 MWST, NO123456789MVA, AU51824753556). Supports EU, UK, CH, LI, NO, and AU formats. Will be normalized to uppercase with spaces and dots removed.
1"NL123456789B01"
Your own VAT number, to receive a consultation number. For EU targets, provide an EU requester. For UK targets, provide a UK requester.
"DE987654321"
Set to false to bypass the cache and force a fresh lookup from the upstream service. The fresh result is still cached for subsequent requests. Defaults to true.
true, false "true"