About this endpoint
What it does
Validates a batch of VAT numbers sent in the request body and returns a result item for each VAT number in the input list. Each result includes the VAT number and whether it is valid; an error field is included only when lookup fails for that item.
Request Body
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| vat_numbers | String Array | Yes | A list of VAT numbers to validate. Minimum 1 item, maximum 10 items. |
Response
Returns a JSON object with a data array field. Each array item is an object containing a vat string field, a valid boolean field, and an optional error string field that is present only when lookup failed for that item.
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| data | Object Array | No | Array of validation results, one per input VAT number. |
| data[].vat | String | No | The VAT number being validated. |
| data[].valid | Boolean | No | Whether the VAT number is valid. |
| data[].error | String | No | Present only when lookup failed for this item. |