{"uid":"cap_-0hzdk3HSHS1a089qXK7g","slug":"toll402-french-vat-number-validator-3cdaa6da","name":"Toll402 French VAT Number Validator","description":"Offline validator for a French VAT number (TVA intracommunautaire, e.g. FR32123456789). Extracts the 9-digit SIREN and 2-digit key, recomputes key = (12 + 3*(SIREN mod 97)) mod 97, and compares it to the given key.","url":"https://toll402.dev/v1/t/vat_fr_validate","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","required":["vat"],"properties":{"vat":{"type":"string","description":"French VAT number, e.g. 'FR32123456789' or 'FR 32 123456789'"}},"additionalProperties":false},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_LgGTD31CgqcNdBYxSuoUJ","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Offline validates a French VAT number (TVA intracommunautaire) by extracting and recomputing the 2-digit checksum key from the 9-digit SIREN using the official modulo-97 algorithm.","exampleAgentPrompt":"Can you check whether this French VAT number is valid: FR32123456789?","exampleUseCases":[{"title":"Pre-invoice supplier VAT check","prompt":"Before I send this invoice to my French supplier, can you verify their TVA number is valid — it's FR61532485479?"},{"title":"Onboarding EU customer validation","prompt":"We're onboarding a new French B2B customer and they gave us TVA number FR76498761234 — can you confirm it's a legitimate, correctly formed French VAT number?"},{"title":"Bulk data cleanup flagging","prompt":"I have a French company record with VAT number FR83404833048 in our CRM — can you check whether that number is mathematically valid so I know if it needs correction?"}],"resultDescription":"Returns whether the French VAT number is valid, along with the extracted 9-digit SIREN, the declared 2-digit key from the input, and the recomputed expected key based on the formula (12 + 3*(SIREN mod 97)) mod 97 — allowing the caller to see exactly why a number passes or fails.","failureModes":["Malformed input (wrong length, missing FR prefix, non-numeric characters) returns a validation error","Numbers that are syntactically valid but fail the checksum return invalid with key mismatch details","Non-French EU VAT numbers passed in will be rejected or return incorrect results"],"whenToPreferThis":"Use this endpoint when you need to mathematically validate a French TVA intracommunautaire number without making an external government API call — it works offline, is deterministic, and costs only $0.001 per check. Prefer this over live VIES lookups when you need fast, cheap, batch-friendly format validation rather than active registration status.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:52:02.229Z","isFirstParty":false}