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
Type | Value |
---|---|
Endpoint | /bulk/api/v1/validate_tax_number |
Method | POST |
API Reference Topic | Validate VAT number |
Body Parameters
You can use the following fields in the request body when specifying Tax IDs:
Field | Details | Description |
---|---|---|
tax-number | Max: 32 | The Tax ID that you want to verify. |
country-code | Max: 2 | The 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="
}
]
}
Updated 9 months ago