Gig invoices
list_invoicesList a gig's invoices, drafts included, newest first, with their lines and totals, or pass invoice_id to read just that invoice with its send or void status. Creating, sending, voiding and recording payments stay in the web app, because sending emails the client and posts receivables. Needs permission to see the gig's money. Money fields are decimals.
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": {
"event_id": "<event_id>"
},
"name": "list_invoices"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| event_id | Yes | the gig (event) id, from list_events, open_gigs or my_agenda | |
| invoice_id | No | read this one invoice instead of listing (id from a previous list) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | true on success (including confirmation_required prompts) | |
| data | No | the API response { status (HTTP status), data: { invoices: [{ id, event_id, number, status (DRAFT, SENT, VOID), customer_name, customer_email, billing_address, po_reference, collection_method, currency, issue_date, due_date, payment_terms, discount_amount, subtotal, tax_total, total, notes, sent_at, sent_to_email, voided_at, lines [{ id, description, quantity, unit_amount, tax_rate, amount, ledger_item_id, ledger_status }], created_at, updated_at }] }, or { invoice } with invoice_id } | |
| error | No | when ok is false |