get https://app1.compliancely.com/api/v1/kyb/spain/vat/
Get list and detail information of VAT number searched
- ID is the unique entity/submission id.
- Status can be ('Pending', 'Ready To Pick', 'Processing', 'Completed', 'Error').
- Status is the current state of an entity.
{
"success_message": "Total 1 record(s) found",
"pagination": {
"total_records": 1,
"count": 1,
"page_size": 10,
"total_pages": 1,
"current_page": 1,
"order": "desc",
"search_query": ""
},
"data": [
{
"id": 528,
"vat": "A50025287",
"data": {
"entity_name": "---",
"status": "VALID",
"address": "---",
"message": "Yes, Valid VAT number"
},
"status": "Completed",
"created_at": "2022-11-11T05:44:32.354421",
"created_by": "compliancely"
}
],
"success": true
}
{
"success_message": "Total 1 record(s) found",
"pagination": {
"total_records": 1,
"count": 1,
"page_size": 15,
"total_pages": 1,
"current_page": 1,
"order": "asc",
"search_query": ""
},
"data": [
{
"vat": "A50025287",
"data": {
"kyb": {
"name": "---",
"status": "VALID",
"address": "---",
"message": "Yes, Valid VAT number",
"VAT Number": "ES A50025287",
"Member State": "ES",
"Date when request received": "2022-11-11 05:49:00"
}
},
"created_at": "2022-11-11T05:49:00.386308",
"created_by": "compliancely"
}
],
"success": true
}
{
"success_message": "Total 4 record(s) found",
"pagination": {
"total_records": 4,
"count": 4,
"page_size": 10,
"total_pages": 1,
"current_page": 1,
"order": "desc",
"search_query": ""
},
"data": [
{
"id": 6324,
"vat": "5678876556",
"data": "NA",
"status": "Pending",
"created_at": "2023-09-20T07:39:20.517598Z",
"created_by": "compliancely"
},
{
"id": 6323,
"vat": "5678876556",
"data": "NA",
"status": "Pending",
"created_at": "2023-09-20T07:39:16.379052Z",
"created_by": "compliancely"
},
{
"id": 6322,
"vat": "5678876556",
"data": "NA",
"status": "Pending",
"created_at": "2023-09-20T07:39:14.147902Z",
"created_by": "compliancely"
},
{
"id": 6321,
"vat": "5678876556",
"data": "NA",
"status": "Pending",
"created_at": "2023-09-20T07:39:10.270473Z",
"created_by": "compliancely"
}
],
"success": true
}
{
"detail": "Invalid token header. No credentials provided."
}
{
"detail": "Invalid token."
}
{
"detail": "Authentication credentials were not provided."
}
{
"detail": "You don't have access to this feature. Please contact the support"
}