Void a ledger line
void_ledger_itemVoid a ledger line so it no longer counts toward the gig totals or settlement. The line stays on the gig marked VOIDED for the audit trail; it is not deleted. Use it for a mistaken or cancelled payout or receivable. Only UNPAID lines with no payment recorded can be voided: a PAID line (including INCOME and EXPENSE lines, which are created PAID) is refused, and a partly paid line is refused until reverse_ledger_payment removes its payments. A line that belongs to an invoice or an overtime entry is refused; void the invoice or overtime entry in the Soundcheck app instead. A void cannot be undone, so the user is asked to confirm first. No money moves and nobody is notified. Owner, Admin or Finance only. When the organization has QuickBooks Online connected, the change is also sent to QuickBooks.
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>",
"ledger_item_id": "<ledger_item_id>"
},
"name": "void_ledger_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| event_id | Yes | the gig the line belongs to, an id from list_events, open_gigs or my_agenda | |
| ledger_item_id | Yes | ledger item id from get_event_ledger | |
| organization_id | No | defaults to caller's active org; must be the event's org | |
| confirmation_token | No | leave empty on the first call; the server returns confirmation_required + a token, then resend the SAME args with that token to proceed |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | true on success (including confirmation_required prompts) | |
| data | No | when the tool asks first: { status: "confirmation_required", confirmation_token, summary, expires_in_seconds, instructions } and nothing is changed; once confirmed, the API response { status (HTTP status), data: { crew_invoice, receipts [{ id, filename, content_type, size_bytes, url, uploaded_at, can_delete }], can_upload_receipts, account { external_id, external_provider, id, is_system, name, type }, account_id, amount, assigned_to_user_id, budget_category, can_mark_received, can_undo_received, counterparty_name, counterparty_user_id, created_by, crew_offer_id, currency, date, description, event_id, and 14 more fields } } | |
| error | No | when ok is false |