List Xero invoices
xero_list_invoicesRetrieve a paginated list of Xero invoices, newest first, and filter by contact or exact invoice number; include line items to support contact billing lookups in one response.
Instructions
List one page of invoices, newest by invoice date first. Optional contact and exact invoice-number filters combine. Use includeLineItems for a contact billing lookup with full invoice details in one response. Increment page until fewer than limit records are returned.
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": "xero_list_invoices"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page of matching invoices to return | |
| limit | No | Maximum invoices to return | |
| contactId | No | Optional Xero ContactID filter | |
| invoiceNumber | No | Exact invoice number; commas are not supported | |
| includeLineItems | No | Include full line items for compact contact billing lookup |