On this page

VAT Checker API

Post check user’s VAT number.
Authorization is required to call this API.
API is designed for collecting of customer’s VAT numbers and checking for correctness.

POST

Request

POST /returns/declarations/check_users_vat_number/{access_token}

Parameters

Parameter Type Description
input_vat_numbers JSON JSON object contains information about
access_token String User’s website token

API returns a summary rates JSON object with an array of summarized rates for each region/state.

Input VAT numbers example

Command Line


{
"vat_numbers": [
{
"country": "CZE",
"number": "685345797"
},
{
"country": "EST",
"number": "101977100"
},
{      "country": "CZE",
"number": "685"}
]
}

Response Example

Summary response shortened for brevity

Command Line


{
"correct": [
"685345797",
"101977100"
],
"incorrect": [
"685"
],
"pending": []
}
"incorrect": [
"685"
]  "pending": []
}