POST
/
trn
/
validate
/
batch
curl --request POST \
  --url https://rest.taxes.provider.com/api/v1/trn/validate/batch \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "batchName": "x-trn-batch",
  "trns": [
    {
      "trn": 40303265045,
      "country": {
        "code": "FR"
      }
    },
    {
      "trn": 50303265045,
      "country": {
        "code": "UK"
      }
    }
  ]
}'
{
  "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.

Body

application/json

Contains required properties for batch of tax registration numbers validation request Contains required properties for batch request

Response

200
application/json

Request to validate the batch of tax registration numbers being processed.

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