Get the response of tax registration number validate request
curl --request GET \
--url https://rest.taxes.provider.com/api/v1/trn/validate/{requestId} \
--header 'Authorization: <api-key>'{
"requestId": "qwerty12345",
"trn": 40303265045,
"country": {
"name": "France",
"code": "FR"
},
"trnStatus": "VALID"
}{
"message": "Unexpected error during processing the request."
}{
"status": "DOWN",
"version": "1.0.0",
"description": "The service is unhealthy. Several components are down.",
"components": [
{
"id": "app-db-memory",
"name": "Application Database Memory Usage",
"type": "DATABASE",
"status": "UP"
},
{
"id": "adapter-server",
"name": "Adapter API Server",
"type": "ADAPTER",
"status": "DOWN"
},
{
"id": "service-server",
"name": "API Server",
"type": "API",
"status": "DOWN"
}
],
"time": "2022-11-01T05:12:08.131Z"
}Tax Registration Number Validation
Get the response of tax registration number validate request
This endpoint takes the request id and returns the response of the tax registration number
GET
/
trn
/
validate
/
{requestId}
Get the response of tax registration number validate request
curl --request GET \
--url https://rest.taxes.provider.com/api/v1/trn/validate/{requestId} \
--header 'Authorization: <api-key>'{
"requestId": "qwerty12345",
"trn": 40303265045,
"country": {
"name": "France",
"code": "FR"
},
"trnStatus": "VALID"
}{
"message": "Unexpected error during processing the request."
}{
"status": "DOWN",
"version": "1.0.0",
"description": "The service is unhealthy. Several components are down.",
"components": [
{
"id": "app-db-memory",
"name": "Application Database Memory Usage",
"type": "DATABASE",
"status": "UP"
},
{
"id": "adapter-server",
"name": "Adapter API Server",
"type": "ADAPTER",
"status": "DOWN"
},
{
"id": "service-server",
"name": "API Server",
"type": "API",
"status": "DOWN"
}
],
"time": "2022-11-01T05:12:08.131Z"
}Authorizations
Response
Response of tax registration number validation.
Contains the required properties for tax registration number validation response