Delete a client
client_deleteDelete a stored client by name or ID only if no invoices, quotes, credit notes, purchase orders, deposits, statements or schedules reference it; otherwise list those documents.
Instructions
Delete one stored client that nothing refers to. A client named on any invoice, quote, credit note, purchase order, deposit, statement or schedule is refused with those documents listed.
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": {
"client": "<client>"
},
"name": "client_delete"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| client | Yes | Client name or id, exactly as client_list shows it |