About this endpoint
What it does
Validates up to 10 VAT numbers in a single request and returns a result entry for each submitted VAT number. The response includes the VAT number and whether it is valid, with an error message only for items where the lookup failed.
Request Body
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| vat_numbers | String Array | Yes | VAT numbers to validate. Minimum 1 item, maximum 10 items. |
Response
Returns a JSON object with a data array field. Each item in data is an object with 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. Each item includes vat and valid; error is present only when lookup failed for that item. |
| data[].vat | String | No | The VAT number that was validated. |
| data[].valid | Boolean | No | Whether the VAT number is valid. |
| data[].error | String | No | Present only when lookup failed for this item. |