validate_tva_fr
Validate French TVA intracom numbers by checking format and checksum. Returns valid status, key, SIREN, and TVA number.
Instructions
Validates a French TVA intracom (VAT) number — format 'FR' + 2 alphanumeric key characters + 9-digit SIREN. Returns { valid: boolean, key: string, siren: string, tva: string }. When the key is numeric, validates using the official formula: key = (12 + 3 × (SIREN mod 97)) mod 97.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"tva": "<tva>"
},
"name": "validate_tva_fr"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tva | Yes | French TVA intracom number. Example: 'FR40303265045' |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| valid | Yes | ||
| key | No | ||
| siren | No | ||
| tva | No | ||
| reason | No | ||
| note | No |