validate_vat
Validate EU VAT numbers with a free local format check, then optionally verify authenticity via the official VIES API. Returns structured results for compliance workflows.
Instructions
校验 VAT / 税务识别号:先做免费本地格式校验,再按需调用欧盟官方 VIES 接口核验真实性。Validate a VAT number: free local format check, then optional live VIES verification.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vat | No | 完整 VAT 号,可含国家前缀,如 FR123456789 / Full VAT incl. country prefix | |
| live | No | 是否在格式合规后调用 VIES 实查 / call live VIES after format check | |
| useCache | No | 是否使用免费 TTL 缓存(默认 24h)/ use free TTL cache | |
| vatNumber | No | 不含国家前缀的税号 / VAT number without country prefix | |
| countryCode | No | ISO 国家代码,如 FR / 2-letter country code |