[go: up one dir, main page]

Skip to content
/ vat Public

EU VAT Information Exchange System API. Validation of VAT numbers at scale.

License

Notifications You must be signed in to change notification settings

adaptive/vat

Repository files navigation

VAT VIES API

Simple API to validate VAT numbers. Cloudflare Workers and Cloudflare KV to offload the official European Union API. This solution guarantees that within 24 hours, only one request per unique VAT number to EU servers. SOAP conversion to JSON. VAT numbers are format validated before calling VIES API to check deductibility status. Demo Pages Demo API

🛠️ Usage

GET /:country/:number
  • Cloudflare Workers (The App)
  • Cloudflare Workers KV (Storing data for 24 hours)
  • Cloudflare Pages (Documentation)
  • Durable Objects (Rate Limiter)

Cloudflare Workers provides a serverless execution environment that allows you to create entirely new applications or augment existing ones without configuring or maintaining infrastructure.

Cloudflare Workers KV provides access to a secure low latency key-value store at all of the data centers in Cloudflare's global network.

A JAMstack platform for frontend developers to collaborate and deploy websites.

Durable Objects provide low-latency coordination and consistent storage for the Workers platform through two features: global uniqueness and a transactional storage API.