GET
/
trn
/
validate
/
batch
/
{batchId}
curl --request GET \
  --url https://rest.taxes.provider.com/api/v1/trn/validate/batch/{batchId} \
  --header 'Authorization: Bearer <token>'
{
  "batchId": "qwerty12345",
  "batchName": "x-trn-batch",
  "status": "COMPLETED",
  "limit": 100,
  "offset": 0,
  "completionPercentage": 100,
  "trns": [
    {
      "trn": 40303265045,
      "trnStatus": "VALID",
      "country": {
        "name": "France",
        "code": "FR"
      }
    },
    {
      "trn": 50303265045,
      "trnStatus": "VALID",
      "country": {
        "name": "The united kingdom",
        "code": "UK"
      }
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

batchId
string
required

The unique batch request identifier.

Query Parameters

offset
integer
default:0
required

The starting index of records to be returned.

limit
integer
default:100
required

The limit number of records to be returned.

Response

200
application/json

Response of the batch of tax registration numbers validation.

Contains the required properties for batch of tax registration numbers validation response Contains the required properties for response of batch request.