# EU VAT Validation

Validates an EU VAT number through the European Commission VIES service, with explicit unavailable status.

## Endpoint

- Method: `POST`
- URL: `https://api.helpmyagent.com/v1/vat/eu/validate`
- Price: `0.005 USD` / call

## Machine discovery

- llms.txt: https://helpmyagent.com/llms.txt
- OpenAPI 3.1: https://api.helpmyagent.com/openapi.json
- capabilities.json: https://helpmyagent.com/capabilities.json
- MCP: https://helpmyagent.com/mcp
- RFC 9727: https://helpmyagent.com/.well-known/api-catalog
- pricing.json: https://helpmyagent.com/pricing.json
- x402: https://helpmyagent.com/.well-known/x402
- x402-service.json: https://helpmyagent.com/.well-known/x402-service.json
- Health status: https://helpmyagent.com/health

## x402 payment methods

- USDC on `eip155:8453`
- RLUSD on `xrpl:0`

## Coverage

EU

## Use when

- Validate an EU VAT number before invoicing or supplier onboarding.
- You need to validate an EU VAT number through the European Commission VIES service before invoicing or onboarding.
- You have either a complete VAT number or a country code plus national number.

## Avoid when

- You need invoice-level consistency for a French company identifier; use company/fr/invoice-check.
- You need broader supplier identity, compliance or IBAN checks; use company/fr/supplier-verification.

## Limitations

- Validation depends on VIES availability and on the member-state data returned through that service.
- A valid VAT number does not prove bank-account ownership, solvency or absence of fraud.

## Example queries

- Validate an EU VAT number before invoicing or supplier onboarding.

## Freshness

```json
{
    "mode": "source_dependent"
}
```

## Sources

- [European Commission VIES](https://ec.europa.eu/taxation_customs/vies/)

## Input schema

```json
{
    "type": "object",
    "properties": {
        "vat_number": {
            "type": "string",
            "pattern": "^(?:AT|BE|BG|CY|CZ|DE|DK|EE|EL|ES|FI|FR|GR|HR|HU|IE|IT|LT|LU|LV|MT|NL|PL|PT|RO|SE|SI|SK|XI)[A-Za-z0-9]{2,14}$",
            "description": "Complete EU VAT number including the two-letter country prefix; alternatively provide country_code and number separately."
        },
        "country_code": {
            "type": "string",
            "enum": [
                "AT",
                "BE",
                "BG",
                "CY",
                "CZ",
                "DE",
                "DK",
                "EE",
                "EL",
                "ES",
                "FI",
                "FR",
                "GR",
                "HR",
                "HU",
                "IE",
                "IT",
                "LT",
                "LU",
                "LV",
                "MT",
                "NL",
                "PL",
                "PT",
                "RO",
                "SE",
                "SI",
                "SK",
                "XI"
            ],
            "description": "EU/VIES country prefix used when the VAT number is supplied in separate parts."
        },
        "number": {
            "type": "string",
            "pattern": "^[A-Za-z0-9]{2,14}$",
            "description": "National VAT identifier body without the country prefix, used together with country_code."
        }
    },
    "additionalProperties": false,
    "anyOf": [
        {
            "required": [
                "vat_number"
            ]
        },
        {
            "required": [
                "country_code",
                "number"
            ]
        }
    ],
    "description": "Structured input parameters for the vat/eu/validate API."
}
```

## Output schema

```json
{
    "type": "object",
    "properties": {
        "vat_number": {
            "type": "string",
            "description": "Structured value returned for “vat number” as defined by this API contract."
        },
        "country_code": {
            "type": "string",
            "description": "Structured value returned for “country code” as defined by this API contract."
        },
        "number": {
            "type": "string",
            "description": "Structured value returned for “number” as defined by this API contract."
        },
        "status": {
            "type": "string",
            "description": "Normalized endpoint or source status."
        },
        "valid": {
            "type": [
                "boolean",
                "null"
            ],
            "description": "Whether the supplied identifier passed the endpoint’s validation rules."
        },
        "request_date": {
            "type": [
                "string",
                "null"
            ],
            "description": "Structured value returned for “request date” as defined by this API contract."
        },
        "name": {
            "type": [
                "string",
                "null"
            ],
            "description": "Publicly available company, person, buyer or record name for this result."
        },
        "address": {
            "type": [
                "string",
                "null"
            ],
            "description": "Structured value returned for “address” as defined by this API contract."
        },
        "request_identifier": {
            "type": [
                "string",
                "null"
            ],
            "description": "Structured value returned for “request identifier” as defined by this API contract."
        },
        "checked_at": {
            "type": "string",
            "description": "UTC timestamp at which HelpMyAgent performed the check."
        },
        "source": {
            "type": "string",
            "description": "Structured value returned for “source” as defined by this API contract."
        }
    },
    "additionalProperties": false,
    "required": [
        "vat_number",
        "country_code",
        "number",
        "status",
        "valid",
        "request_date",
        "name",
        "address",
        "request_identifier",
        "checked_at",
        "source"
    ],
    "description": "Structured result returned by the vat/eu/validate API."
}
```

## Demonstration snapshot

This example is a database-stored snapshot and does not execute the live API.
- URL: https://api.helpmyagent.com/demo/vat/eu/validate
- Generated at: 2026-09-07T14:50:12+00:00

## Request example

```json
{
    "vat_number": "FR39356000000"
}
```

## Stored response example

```json
{
    "vat_number": "FR39356000000",
    "country_code": "FR",
    "number": "39356000000",
    "status": "unavailable",
    "valid": null,
    "request_date": null,
    "name": null,
    "address": null,
    "request_identifier": null,
    "checked_at": "2026-09-07T16:50:12+02:00",
    "source": "ec.europa.eu:vies"
}
```

## Billing policy

```json
{
    "charge_on": "valid_result",
    "no_charge_on_empty_result": true,
    "no_charge_on_error": true
}
```
