Validation · API
VAT Validation
Verify an EU VAT number against VIES and return the registered company.
POST /v1/validate/vat
POST /v1/validate/vat
200 OK
{ "vat_number": "DE811907980", "valid": true, "country_code": "DE", "company_name": "Google Germany GmbH" }
Capabilities
Why teams use it
VIES verification
Checked live against the EU VIES registry.
Company details
Returns the registered name and address.
All EU member states
Full coverage for reverse-charge invoicing.
Real-time
Validate at checkout or onboarding.
Request
Call it in your language
curl -X POST https://api.locanium.com/v1/validate/vat \ -H "Authorization: Bearer sk_live_..." \ -H "Content-Type: application/json" \ -d '{"vat_number":"DE811907980"}'
Response
What you get back
- Whether the VAT number is valid
validboolean - ISO country code
country_codestring - Registered company (VIES)
company_namestring - Registered address
addressstring
Use cases
What you can build
B2B invoicing
Verify VAT numbers against VIES for reverse charge.
Onboarding
Auto-fill company name and address.
Tax compliance
Apply the correct VAT treatment.
Validation family
Full parameters, errors and code samples are in the API reference.