Home / VAT API / France

France VAT Validation API

Validate France N° TVA numbers via REST API. Backed by EU VIES (real-time) — returns registration status, company name, and address in a single call.

GET /api/v1/validate/FR/{vat_number} VIES-backed Sub-100ms cached Free plan available

Quick start

CURL

curl -H "Authorization: Bearer YOUR_API_KEY" \
  http://localhost:3000/api/v1/validate/FR/FRXX123456789

Single validation

Validate one France VAT number. Returns full company details for valid numbers.

const res = await fetch(
  'http://localhost:3000/api/v1/validate/FR/FRXX123456789',
  { headers: { 'Authorization': 'Bearer YOUR_API_KEY' } }
);
const data = await res.json();
/*
{
  "valid": true,
  "status": "active",
  "company_name": "Example GmbH",
  "address": "Musterstraße 1, France",
  "country_code": "FR",
  "vat_number": "FRXX123456789",
  "cached": false,
  "request_id": "req_01abc..."
}
*/

Response format

200 OK — valid number
{
  "valid": true,
  "status": "active",
  "company_name": "Example France Ltd",
  "address": "Musterstraße 1, France",
  "country_code": "FR",
  "vat_number": "FRXX123456789",
  "cached": false,
  "request_id": "req_01abc..."
}
FieldTypeDescription
validbooleantrue if the number is registered and active
statusstring"active", "inactive", "not_found", or "invalid_format"
company_namestring | nullRegistered company name (where available from authority)
addressstring | nullRegistered address (where available from authority)
country_codestringISO 2-letter code — always "FR" for this endpoint
vat_numberstringThe VAT number as sent in the request
cachedbooleantrue if result served from cache (valid: 24h, invalid: 1h)
request_idstringUnique request ID for support and audit logs

Batch validation

Validate up to 25 numbers in a single POST request. Numbers are processed in parallel — ideal for onboarding flows and nightly reconciliation.

POST /api/v1/validate
curl -s -X POST http://localhost:3000/api/v1/validate \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "numbers": [
      { "country": "FR", "vat": "FRXX123456789" },
      { "country": "FR", "vat": "FRXX123456789" }
    ]
  }'
Response array
[
  {
    "vat": "FRXX123456789",
    "valid": true,
    "status": "active",
    "company_name": "Example Ltd",
    "country_code": "FR",
    "cached": false
  },
  {
    "vat": "FRXX123456789",
    "valid": false,
    "status": "not_found",
    "country_code": "FR",
    "cached": false
  }
]

Error codes

HTTP statusMeaningAction
400Bad request — malformed VAT formatCheck the VAT format against the pattern below
401Missing or invalid API keyPass a valid Bearer token in the Authorization header
404Country not supportedCheck /vat-api for the full list of supported countries
422Validation failed — invalid formatThe number does not match the expected format
429Rate limit exceededBack off and retry after the Retry-After header value
503Upstream authority unavailableVIES/authority is temporarily down — retry with exponential backoff

France VAT format reference

PropertyValue
Country code (ISO)FR
Local nameN° TVA (Numéro de TVA intracommunautaire)
FormatFR + 2 alphanumeric chars + 9 digits
Regex^FR[A-Z0-9]{2}[0-9]{9}$
ExampleFRXX123456789
Standard rate20%
Validation sourceEU VIES (real-time)
VIES supportedYes

French VAT numbers have a unique format: the first two alphanumeric characters after FR are computed from the SIREN number and can include letters O and I (unlike most EU countries). France has one of the most complex reduced rate structures with four different rates.

Frequently asked questions

What does the TaxID API return for a France VAT validation?

For a valid France VAT number the API returns: `valid: true`, `status: "active"`, plus `company_name` and `address` where available from EU VIES (real-time). For invalid numbers it returns `valid: false` with a reason code. All fields are documented in the API reference.

How fast is the France VAT validation API?

Cached results (valid numbers are cached 24h, invalid 1h) respond in under 10ms. Uncached requests that require a live lookup via EU VIES (real-time) typically complete in 100–400ms. The `cached` field in the response tells you whether the result came from cache.

What is the France VAT number format?

France VAT numbers (N° TVA (Numéro de TVA intracommunautaire)) follow the pattern: FR + 2 alphanumeric chars + 9 digits. A valid example is `FRXX123456789`. The TaxID API validates the format locally before making any live request, so malformed numbers fail instantly without consuming your quota.

Can I validate multiple France VAT numbers in one request?

Yes. The batch endpoint (POST /api/v1/validate) accepts up to 25 VAT numbers in a single request, processed in parallel. This is ideal for bulk onboarding flows, nightly reconciliation jobs, or importing customer lists. Each item in the response array maps 1-to-1 with your input array.

Start validating France VAT numbers

Free plan — 100 validations/month. No credit card required.

Integrate with your stack:

More France resources:

Validate VAT in other countries: