Skip to content

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/check

Deprecated: Use POST /transaction-type/check instead. This endpoint is kept for backward compatibility.

Body parameters

issuerobjectrequired

Issuer (seller) information

customerobjectrequired

Customer (buyer) information

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"
    }
  }'

Returns

transaction_typestring
reverse_charge_appliesboolean
issuer_country_codestring
customer_country_codestring
vies_validboolean
warningstring
is_tax_subjectboolean
json
{
  "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
}