list_xero_invoices
list_xero_invoicesList invoices from Xero for the current organisation - sales invoices (ACCREC) or bills (ACCPAY), optionally filtered by status, by issue date range (fromDate/toDate, both inclusive), and by reference (exact match with reference, or a partial case-insensitive match with referenceContains - use exactly one, never both). Read-only; nothing is created, sent or changed. Each invoice carries its OWN currency straight from Xero - never assume it matches this user's Invio business currency. Returns up to 100 invoices for the requested page; if pageCount shows more pages than were returned, say so rather than implying this is the full list. The result always echoes back exactly which filters were applied (appliedFilters) - relay that, not just your own memory of what you asked for. Use get_xero_invoice for full line-item detail on one invoice.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | 1-based page number - Xero returns up to 100 invoices per page. Omit for page 1. | |
| type | No | ACCREC = sales invoices (money owed TO this business). ACCPAY = bills (money this business owes). Omit for both. | |
| status | No | Filter to one Xero invoice status (e.g. AUTHORISED for approved-and-unpaid, PAID for settled). Omit for every status. | |
| toDate | No | Only include records dated ON OR BEFORE this issue date, YYYY-MM-DD (inclusive - this IS the last date included, not the day after). | |
| fromDate | No | Only include records dated ON OR AFTER this issue date, YYYY-MM-DD (inclusive). Filters on the issue Date, never the due date. | |
| reference | No | Exact match on the Reference field. Use this when you know the reference verbatim - cannot be combined with referenceContains. | |
| organisation | No | The Xero organisation to use, by its display name. Only needed if this connection reaches more than one organisation - omit it when there is only one. | |
| referenceContains | No | Case-insensitive PARTIAL match on the Reference field (e.g. "1234" matches a reference containing "PO-1234"). Use this when you only know part of the reference. Cannot be combined with reference - if you know the exact text, use reference instead. |