issueInvoice
Issue (finalize) a draft invoice. Issuing gives the invoice its number, applies the customer's balance, emails the invoice to the customer, and the invoice can no longer be edited or deleted. Returns the issued invoice. Always pass skipAutoCharge: false charges the customer's saved payment method right away when the location charges invoices automatically, and so does leaving it out; true leaves the invoice for the customer to pay. Only a draft can be issued; an invoice issued already is rejected, so a retry is safe. Get invoiceId from getInvoices. Never invent UUIDs; only use values from prior tool responses.
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": "issueInvoice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| invoiceId | Yes | The id of the invoice. | |
| skipAutoCharge | No | If true, skip automatic charge after issuing the invoice. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| invoice | Yes |