Create an invoice
setell_create_invoiceCreate an invoice for an accepted job in QuickBooks or Xero. Requires explicit confirmation from operator.
Instructions
Create an invoice for an accepted/signed job in the operator's connected accounting system (QuickBooks precedence over Xero). Safe to retry — a job only ever gets one invoice. May return CONTRACT_REQUIRED, NO_ACCOUNTING_CONNECTED, or a QuickBooks reconnect/duplicate-customer error — relay plainly with the fix. State the job and amount, get an explicit yes, then call with confirmed: true.
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": {
"jobId": "<jobId>",
"confirmed": "<confirmed>"
},
"name": "setell_create_invoice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jobId | Yes | The accepted/signed job to invoice. | |
| confirmed | Yes | Must be true, only after the operator explicitly confirmed. |