anaf_validate_cif
Validate whether an ANAF token can access e-Factura for a specific CIF by checking organization ownership, ANAF registry status, and e-Factura permissions.
Instructions
Validate that an ANAF token has proper access to e-Factura for a specific CIF. Checks organization ownership, ANAF registry, and e-Factura access permissions. Returns validation result with any error messages.
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": {
"id": "<id>",
"cif": "<cif>"
},
"name": "anaf_validate_cif"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The ANAF token ID to validate (UUID from anaf_tokens) | |
| cif | Yes | CIF of a company in your organization to check the token against |