Validate a VAT ID.
POST/business/validate/vat
Checks whether the provided VAT (Valued Added Tax) ID is valid using a service provided by VIES, If available, this also returns the associated name and address
Request
Header Parameters
ipaas string
- application/json
Bodyrequired
vatIdstring
The VAT ID. Must start with a two-digit country code.
Example:
DE123456789
countryCodestring
The country code of the VAT ID.
Possible values: [AT
, BE
, BG
, HR
, CY
, CZ
, DK
, EE
, FI
, FR
, DE
, EL
, HU
, IE
, IT
, LV
, LT
, LU
, MT
, NL
, PL
, PT
, RO
, SK
, SI
, ES
, SE
, XI
]
Example:
IT
idstring
The number part of the VAT ID.
Example:
07643520567
Responses
- 200
- 400
Success
- application/json
- Schema
- Example (auto)
Schema
countryCodestringrequired
The country code.
vatNumberstringrequired
The VAT number.
requestDatestringrequired
The exact date and time the request was made.
validbooleanrequired
Whether the ID is valid.
namestring
The name. Only provided if the ID is valid.
addressstring
The address. Only provided if the address is valid.
{
"countryCode": "string",
"vatNumber": "string",
"requestDate": "string",
"valid": true,
"name": "string",
"address": "string"
}
Bad Request
- application/json
- Schema
- Example (auto)
Schema
statusnumber
errorMessagestring
{
"status": 0,
"errorMessage": "string"
}