POST
/
trn
/
validate
curl --request POST \
  --url https://rest.taxes.provider.com/api/v1/trn/validate \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "trn": 40303265045,
  "country": {
    "code": "FR"
  }
}'
{
  "requestId": "qwerty12345",
  "trn": 40303265045,
  "country": {
    "name": "France",
    "code": "FR"
  },
  "trnStatus": "VALID"
}

Authorizations

Authorization
string
header
required

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

Body

application/json

Contains the required properties for tax registration number validation request

Response

200
application/json

Request to validate the tax registration number submitted successfully.

Contains the required properties for tax registration number validation response