getTaxArrears

post
getTaxArrears

https://in.bisnode.ee/rest/getTaxArrears
This endpoint allows you to get company tax arrears for two last years such as: * Current tax arrears * Tax arrears history Example request: { "token": "0c725874e737c8195de547f67692d8b976726561", "reg_code": "10117826", "country": "EST", }
Request
Response
Request
Query Parameters
token
required
string
Your 'access token' (API key).
reg_code
required
string
Company registration number.
country
optional
string
3-letter country code "EST". Default is "EST".
Response
200: OK
{
"tax_arrears_current": [
{
"amount": "1111.83",
"scheduled": "1111.83",
"disputed": true,
"intress": "0.00",
"total": 1111.83,
"from": "2015-05-20",
"num_of_declarations": null
}
],
"tax_arrears_history": [
{
"label": "Jun 2019",
"year": "2019",
"month": "6",
"amount": 11111,
"scheduled": 11111,
"disputed": 0,
"intress": 0,
"total": 11111,
"from": "2015-05-20",
"num_of_declarations": 0,
"num_of_cases": 1
},
{
"label": "May 2019",
"year": "2019",
"month": "5",
"amount": 2222,
"scheduled": 2222,
"disputed": 0,
"intress": 0,
"total": 2222,
"from": "2015-05-20",
"num_of_declarations": 0,
"num_of_cases": 1
}
]
}
400: Bad Request
Invalid country code
{
"error": "error",
"code": 400,
"message": "Only EST country supported in this request"
}
401: Unauthorized
Invalid token
{
"error": "error",
"code": 401,
"message": "Token is wrong"
}
402: Payment Required
Not enough credit
{
"error": "error",
"code": 402,
"message": "Monthly requests limit exceeded"
}
403: Forbidden
{
"error": "error",
"code": 403,
"message": "This request is not allowed for you"
}
404: Not Found
Could not find a company matching this query
{
"error": "error",
"code": 404,
"message": "No such company"
}
409: Conflict
{
"error": "error",
"code": 409,
"message": "Something went wrong"
}
422: Unprocessable Entity
Validation failed
{
"error": "error",
"code": 422,
"message": "Schema validation error"
}
423: Locked
{
"error": "error",
"code": 423,
"message": "Locked. Wait for previous request to complete"
}
500: Internal Server Error
{
"error": "error",
"code": 500,
"message": "Internal Server Error"
}