Skip to main content

Getting started

Validate VAT endpoint

Verify VAT number authenticity and retrieve comprehensive company information including country, business name, address, and registration details.

Calculate VAT endpoint

Compute VAT-compliant pricing based on country-specific regulations, purchase type, and transaction value for accurate financial calculations.

VAT Categories endpoint

Access current VAT rates and tax categories for specific countries to ensure compliance with local tax regulations.

REST Architecture

The VAT Validation API follows REST principles, utilizing predictable resource-oriented URLs and standard HTTP status codes for seamless integration and error handling. All API endpoints must end with a trailing slash (/) and support only GET requests.

HTTPS Security

All API communications are secured using TLS 1.2 or higher encryption protocols to ensure data integrity and privacy.

API Versioning

The VAT Validation API maintains backward compatibility through versioning, currently operating on Version 1 with planned future enhancements.

Authentication

Your API key serves as the exclusive credential for accessing the VAT Validation API. Each Cleariflow service requires a unique key, ensuring secure and isolated access across different APIs. The API implements rate limiting to ensure fair usage across all users.

Response and error codes

When requests fail, the API returns structured JSON error responses with specific codes and descriptions for effective troubleshooting.
CodeTypeDetails
200OKEverything worked as expected.
400Bad requestBad request.
401UnauthorizedThe request was unacceptable. Typically due to the API key missing or incorrect.
422Quota reachedThe request was aborted due to insufficient API credits. (Free plans)
429Too many requestsThe request was aborted due to the number of allowed requests per second being reached. This happens on free plans as requests are limited to 1 per second.
500Internal server errorThe request could not be completed due to an error on the server side.
503Service unavailableThe server was unavailable.

Country codes

Below are the list of countries supported by the VAT endpoints
Country codeCountry name
ATAustria
BEBelgium
BGBulgaria
CYCyprus
CZCzech Republic
DEGermany
DKDenmark
EEEstonia
FIFinland
FRFrance
GBUnited Kingdom
GRGreece
HRCroatia
HUHungary
IEIreland
ITItaly
LTLithuania
LULuxembourg
LVLatvia
MTMalta
NLThe Netherlands
PLPoland
PTPortugal
RORomania
SESweden
SISlovenia
SKSlovakia