List invoices
lw_invoice_listLists Liquid Web account invoices for MSP resale reconciliation, filtering by status or bill ID and returning totals, due amounts, and key dates without payment method details.
Instructions
List invoices on the Liquid Web account (bleed Billing/Invoice/list) for MSP resale reconciliation. Filter by status (unpaid, partially-paid, paid) or bill_id. Returns id, status, billed and due dates, total, paid and due, plus a sum of amounts due. Never returns payment method details. Use lw_invoice_details for line items by asset (uniq_id).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "lw_invoice_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| extra | No | Advanced: extra API params passed through as-is. Typed params win on conflict. Check lw_api_path_details first. | |
| bill_id | No | Only invoices tied to this bill id. | |
| context | No | Auth context name (like lw-cli contexts). Omit to use the default. lw_contexts lists them. | |
| verbose | No | Return raw API objects instead of the compact summary. | |
| statuses | No | Only invoices with these statuses. | |
| max_items | No | Return at most this many items (default LW_MAX_ITEMS, 500). When more remain, the result says truncated and gives next_page if the cut fell on a 100-item page boundary; otherwise raise max_items. | |
| start_page | No | Resume from this page (use next_page from a previous call). | |
| with_previews | No | Include invoice previews (API default true). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| data | No | ||
| error | No | ||
| status | Yes | ||
| context | No | ||
| preview | No | ||
| summary | Yes | ||
| warnings | No | ||
| next_page | No | ||
| next_step | No | ||
| truncated | No | ||
| expires_at | No | ||
| confirm_token | No |