VIES
VIES
Deprecated: Use the Transaction Type endpoint instead.
VIES (VAT Information Exchange System) validation for EU tax numbers.
Check VIES status (deprecated)
POST
/vies/checkDeprecated: Use POST /transaction-type/check instead. This endpoint is kept for backward compatibility.
Request
Body parameters
curl -X POST "https://eu.spaceinvoices.com/vies/check" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "x-entity-id: YOUR_ENTITY_ID" \
-H "Content-Type: application/json" \
-d '{
"issuer": {
"country_code": "SI",
"is_tax_subject": true
},
"customer": {
"country_code": "DE",
"tax_number": "DE123456789"
}
}'Response
Returns
transaction_typestring
reverse_charge_appliesboolean
issuer_country_codestring
customer_country_codestring
vies_validboolean
warningstring
is_tax_subjectboolean
{
"transaction_type": "intra_eu_b2b",
"reverse_charge_applies": true,
"issuer_country_code": "SI",
"customer_country_code": "DE",
"vies_valid": true,
"warning": null,
"is_tax_subject": true
}