Delete Invoice
delete_invoiceUse this when working with RetailHardHat invoices records in the connected organization. Delete an invoice record and its normal associations. No change occurs until a human approves the exact request in Settings > MCP and execute_approved_action is called. MCP approval requirements are configurable by the organization administrator; business workflow approvals always apply.
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": {
"bidId": "<bidId>",
"invoiceId": "<invoiceId>"
},
"name": "delete_invoice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bidId | Yes | ||
| invoiceId | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes |