Bulk Validation Request

To send a batch of numbers for validation, use a POST operation and the following URL:

POST {service_url}/bulk/api/v1/validate_tax_number

where {service_url} is the URL of the service's environment.

Details

TypeValue
Endpoint/bulk/api/v1/validate_tax_number
MethodPOST
API Reference TopicValidate VAT number

Body Parameters

You can use the following fields in the request body when specifying Tax IDs:

FieldDetailsDescription
tax-numberMax: 32The Tax ID that you want to verify.
country-codeMax: 2The country code representing the country that the ID originates from. See Countries.

Example Request

You can specify the IDs that you want to be validated in the body of the request.

{"items":
  [
    {"input":
      {"tax-number":"0251981133",             
       "country-code":"PL"}              
    },
    {"input":
      {"tax-number":"7251971133",
       "country-code":"PL"}
    }
  ]
}

Example Response

This might trigger a response like the following:

{
    "items": [
        {
            "id": "COz1AxAAMAA="   
        },          
        {
            "id": "COz1AxABMAA="
        }
    ]
}