declarations_delete
Soft-deletes a tax declaration by UUID, with an optional company ID override. Use it to remove declarations that are no longer needed; accepted declarations cannot be deleted.
Instructions
Soft-delete a tax declaration. Cannot delete accepted declarations.
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>"
},
"name": "declarations_delete"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Declaration UUID to delete | |
| companyId | No | Company UUID (overrides STORNO_COMPANY_ID env var) |