VAT Number Validation API - Free EU VAT Check
Submit a VAT number and receive back whether it matches the expected format for its country. Supports all EU member states. Useful for B2B invoicing, tax-exempt checkout flows, and compliance checks. The VAT number is processed server-side and never stored.
Code examples
curl -X POST https://api.botoi.com/v1/validate/vat \
-H "Content-Type: application/json" \
-d '{"vat_number":"DE123456789"}'When to use this API
Verify customer VAT IDs during B2B checkout
Before applying a zero-rate VAT exemption at checkout, validate the buyer's VAT ID. This protects you from issuing incorrect invoices and from potential penalties during tax audits.
Auto-populate country and tax rules from a VAT number
Extract the country code from the VAT ID to automatically apply the correct VAT rate, invoice language, and reporting requirements for each EU member state.
Batch-validate VAT numbers in your CRM
Run your customer database through the endpoint periodically. Flag accounts with invalid or expired VAT IDs so your finance team can request updated documents before the next invoice cycle.
Frequently asked questions
Which countries are supported?
Does this API check the VAT number against the VIES database?
Is the VAT number stored after validation?
Can I validate UK VAT numbers?
What happens if I send a number without the country prefix?
Get your API key
Free tier includes 5 requests per minute with no credit card required. Upgrade for higher limits.