invoices_restore
Restore an accidentally cancelled invoice to draft status so it can be edited and reissued; fails if it was submitted to ANAF, has credit notes, or recorded payments.
Instructions
Restore a cancelled invoice back to "draft" status. Only for accidental cancellations. Cannot restore if the invoice was submitted to ANAF, has credit notes, or has recorded payments. The invoice can then be edited and reissued.
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": {
"uuid": "<uuid>"
},
"name": "invoices_restore"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uuid | Yes | Invoice UUID to restore from cancelled status | |
| companyId | No | Company UUID override (uses active company if not set) |