validate vat
This block is part of the banking group and was last modified in core v14.0.1.
validate vat v10.6.2 Updated v14.0.1Request VAT code validation using the ec.europa.eu API, allowing you to validate VAT numbers of your customers
- flow
flow - VAT required
value
- flow
flow - Valid
condition - company
v14.0.1valueThe name of the company this VAT number is registered to, for example "RUAL"
- address
v14.0.1valueFull address format of the company if available: {street} {number}, {zipcode} {city}
- country
v14.0.1valueISO ALPHA 2 Country Code (NL)
- Error
value
Validates a European VAT number against the live VIES SOAP service at ec.europa.eu: spaces, dots and dashes are stripped, the first 2 characters become the country code. valid mirrors the service verdict, with company, address and country filled from the response. valid=false with error VALUE_EMPTY when the pin is unwired, INVALID_FORMAT when the cleaned number is under 3 characters, PARSE_ERROR on an unreadable response, or the network error when the service is unreachable : so valid=false covers both "not a VAT number" and "could not check".
A typical wiring for validate VAT: a function trigger starts the flow; value feeds the vat pin; the flow out pin feeds debug.

Version history
Introduced in v10.6.2.
Last modified in v14.0.1.
Back to
banking Return to the main group to view all sub-groups Back to webhooks Return to the group to view all blocks within this group
