VAT Number Validations
Highly-secured, real-time EU VAT number validation that allows you to check the VAT number for a business. It's helpful when you sell to business customer and do not need to add VAT.
VatZen is Deprecated since January 2022 and API server will be shut down soon!
We obtain company's informations directly from different official sources, such as EU commissions DB and local countries databases. All subscription plans are allowed to perform real-time VAT ID validations and company information lookups through the validate
and validations
API endpoints.
Hot and Cold Validations
At VatZen we have a concept of 2 validations types: Hot and Cold.
Cold validation works in fire and forget way. Meaning that you simply call our endpoint and we return you the data, which is never stored afterwards.
Hot validation is different from the cold one in the way that all the requests you make has id's assigned and stored in our DB. And you can always fetch this validations (fetch them all of fetch by id).
Cold validations are performed via validate
endpoint, end hot validation use validations
CRUD endpoint. You can get more details below.
Using Requester Data
When validating VAT number, EU commission database can return you reference id, which you can then use in your reports or during the audit process. In order to obtain this reference number, you have to provide requested VAT number, meaning the number of your company.
In order to do that, simply go to VatZen's dashboard and fill the VAT Number option on the settings page: https://dashboard.vatzen.com/settings
Consultation number is used if you want to be able to prove to a Tax Administration of a Member State that you have checked a given VAT number at a given time, and obtained a given validation reply.
Validation Entity
Base of the validations endpoints is the Validation
entity, which is returned from all validations-related endpoint. You can find the description of the Validation
entity below:
Key | Type | Example | Description |
|
|
| Uniq ID of the validation. Only applies to Hot validations. You can use it afterwards to obtain validation information. |
|
|
| Consultation number returned by VIES system. |
|
|
| Represents the validity of VAT number in the query. |
|
|
| Requested date returned from VIES system |
|
|
| Original query from the request. |
|
| --- | Information about the country of the company. |
|
|
| ISO country code |
|
|
| Name of the country |
|
|
| Local name of the country, falls back to English |
|
|
| If the country member state or not |
|
| --- | Information about the company. Sometimes this information is private, so we'll show |
|
|
| Company's name |
|
|
| Company's address |
|
|
| If the government service is down, we return pending request, which we'll fullfill later. You can get the result by fetching validation by id. |
|
|
| If the VAT format from the query valid |
|
| --- | Information about your company - requester |
|
|
| Country code |
|
|
| VAT Number |
Validate VAT Number
GET
https://api.vatzen.com/v1/validate/:number
Path Parameters
Name | Type | Description |
---|---|---|
number | string | VAT Number of business you want to validate |
Response
Validation Entity or API Error will be returned.
Create Validation
POST
https://api.vatzen.com/v1/validations
Creates a new hot validation and stores it in our db. ID is assigned to every validation.
Query Parameters
Name | Type | Description |
---|---|---|
vat_number | string | VAT Number you want to validate |
Get All Validations
GET
https://api.vatzen.com/v1/validations
Returns all the validation you performed with your token, paginated. Can be useful for exporting your activity.
Query Parameters
Name | Type | Description |
---|---|---|
page | integer | Page number. Default to 1. |
limit | integer | Limit used for pagination. Default to 100. |
Get Validation By ID
GET
https://api.vatzen.com/v1/validations/:id
Returns the single validation by id. You can use it to retrieve information about pending validation, of for the validation for the specific transaction.
Path Parameters
Name | Type | Description |
---|---|---|
id | string | Validation ID you want to obtain information about |
Last updated