Skip to main content
POST
/
v1
/
validate
/
async
Validate a VAT number asynchronously
curl --request POST \
  --url https://api.vatly.dev/v1/validate/async \
  --header 'Content-Type: application/json' \
  --data '
{
  "vat_number": "DE123456789",
  "requester_vat_number": "NL987654321B01",
  "cache": true
}
'
{
  "data": {
    "request_id": "550e8400-e29b-41d4-a716-446655440000",
    "status": "pending",
    "vat_number": "DE123456789"
  },
  "meta": {
    "request_id": "550e8400-e29b-41d4-a716-446655440000",
    "cached": true,
    "cached_at": "<string>",
    "stale": true,
    "source_status": "live",
    "mode": "test",
    "request_duration_ms": 120
  }
}

Body

application/json
vat_number
string
required

The VAT number to validate asynchronously

Minimum string length: 1
Example:

"DE123456789"

requester_vat_number
string

Your own VAT number (for consultation numbers)

Example:

"NL987654321B01"

cache
boolean
default:true

Whether to use cached results

Response

Validation request accepted for processing

data
object
required
meta
object
required