Delete estimate
delete_estimatePermanently delete a proforma from the last position in its series, freeing the number for reuse. Use cancel_estimate for earlier proformas.
Instructions
Permanently remove a proforma, freeing its number for reuse. Irreversible — there is no restore.
SmartBill only allows this for the LAST proforma in a series and rejects it for any earlier one; use cancel_estimate for those. Ask the user to confirm, and prefer cancel_estimate when unsure.
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": {
"number": "<number>"
},
"name": "delete_estimate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| number | Yes | Estimate number, without the series prefix. | |
| seriesName | No | Estimate series. Falls back to the configured default. | |
| companyVatCode | No | Issuing company CIF. Falls back to SMARTBILL_VAT_CODE. |