ch_validate_uid
Validate a Swiss UID or VAT number by checking its check digit and optionally verifying registration status and VAT eligibility in the official UID register.
Instructions
Check a Swiss UID or VAT number: the check digit locally, then (unless lookup=false) whether the UID register knows it, its status, and whether the company is currently VAT registered.
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": {
"uid": "<uid>"
},
"name": "ch_validate_uid"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uid | Yes | A UID or VAT number in any common form, e.g. "CHE-123.456.789" or "CHE123456789 MWST". | |
| lookup | No | true (default): also look the UID up in the UID register. false: check digit only, no request. |