list_invoices

Pack: xero · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)

No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/list_invoices for the schema, then POST the same URL with its arguments for the data.

List invoices and bills from a Xero accounting organisation. Returns compact invoice summaries (number, type, status, contact, dates, total, amount due, currency) for bookkeeping, accounts-receivable, and accounts-payable review. Supports Xero filter expressions and pagination.

Parameters

NameTypeRequiredDescription
tenant_idstringnoOptional Xero tenant (organisation) id to target. If omitted, the first connected organisation is used. Get ids from list_organisations.
wherestringnoOptional Xero filter expression (e.g. ‘Status==“AUTHORISED”’ or ‘Type==“ACCREC”’). Applied as the Xero where query parameter.
pagenumbernoPage number for pagination (default 1). Xero returns up to 100 invoices per page.

Example call

Arguments

{
  "tenant_id": "12345678-1234-1234-1234-123456789012",
  "where": "Status==\"AUTHORISED\"",
  "page": 1
}

curl

curl -X POST https://gateway.pipeworx.io/xero/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"list_invoices","arguments":{"tenant_id":"12345678-1234-1234-1234-123456789012","where":"Status==\"AUTHORISED\"","page":1}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('list_invoices', {
  "tenant_id": "12345678-1234-1234-1234-123456789012",
  "where": "Status==\"AUTHORISED\"",
  "page": 1
});

More examples

{
  "where": "Type==\"ACCREC\""
}

Connect

Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:

{
  "mcpServers": {
    "pipeworx": {
      "url": "https://pipeworx.io/mcp"
    }
  }
}
Connect to just the xero pack
{
  "mcpServers": {
    "xero": {
      "url": "https://gateway.pipeworx.io/xero/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build October 17, 2026