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.
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). | |
| check_duplicate_invoice | No | Whether to check for duplicate invoices (defaults to true). | |
| __userContext | No | Internal user context for multi-tenant authentication and approval workflow |