recover_document
Restores a deleted document from the trash by ID, with optional document kind and company context, so you can recover issued or received invoices.
Instructions
Ripristina un documento dal cestino.
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": "recover_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| kind | No | issued | |
| company_id | No | Azienda su cui operare. Default: FIC_COMPANY_ID o l'unica azienda del token |