---
canonical_url: "https://docs.composio.dev/toolkits/vies_api"
markdown_url: "https://docs.composio.dev/toolkits/vies_api.md"
product: "platform"
version: null
last_updated: null
---

# Vies Api

VAT Information and Exchange System for validating European VAT numbers

- **Category:** developer tools
- **Auth:** BASIC
- **Composio-managed OAuth available?** N/A
- **Tools:** 5
- **Triggers:** 0
- **Slug:** `VIES_API`
- **Version:** 00000000_00

## Tools

### Get Account Status

**Slug:** `VIES_API_GET_ACCOUNT_STATUS`

Tool to retrieve current VIES API account status information. Returns billing plan details, feature availability, request counts, and account validity. Calling this function does not increase the query count.

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Get VAT Batch Result

**Slug:** `VIES_API_GET_VAT_BATCH_RESULT`

Retrieve a submitted VAT batch. Wait 2-3 minutes after submission and poll no faster than every 20-30 seconds. A still-processing batch returns a clear retryable error.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `token` | string | Yes | Batch token returned by SUBMIT_VAT_BATCH. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Get VAT Data

**Slug:** `VIES_API_GET_VAT_DATA`

Validate one EU VAT number and retrieve official VIES trader data. Each call consumes one query. Use format="ai_parsed" for AI-parsed name and address components; parsing may be inaccurate and may have separate plan pricing. Use VIES_API_GET_ACCOUNT_STATUS to inspect per-query prices and remaining usage.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `format` | string ("standard" | "ai_parsed") | No | Response format: "standard" returns official VIES trader data; "ai_parsed" also adds AI-parsed trader name and address components. |
| `number` | string | Yes | EU VAT number to validate (e.g., PL7171642051, DE123456789). Must include country code prefix. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Get VIES System Status

**Slug:** `VIES_API_GET_VIES_STATUS`

Tool to retrieve current EU VIES system status. Returns overall VIES availability and individual EU member country system statuses. This call does not increase your query count.

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Submit VAT Batch

**Slug:** `VIES_API_SUBMIT_VAT_BATCH`

Submit three to 99 unique EU VAT numbers for asynchronous VIES validation. Each number is billed as one query, so a batch of 99 numbers is billed as 99 queries. Submit batches sequentially, then wait 2-3 minutes before requesting the result.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `numbers` | array | Yes | Three to 99 unique EU VAT numbers, each including its country code prefix. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |
