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.
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. |