approveInvoice
approveInvoiceSets an invoice's status to approved with optional email notification and duplicate checking.
Instructions
Approve an invoice; sets status to approved. Host enforces user confirmation via the approval gate; do NOT ask the user to re-confirm before calling.
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": {
"invoiceId": "<invoiceId>"
},
"name": "approveInvoice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| invoiceId | Yes | The unique ID of the invoice to approve (required). | |
| send_email | No | Whether to send email notification (defaults to false). | |
| __userContext | No | Internal user context for multi-tenant authentication and approval workflow | |
| check_duplicate_invoice | No | Whether to check for duplicate invoices (defaults to true). |