get_profit_and_loss

Pack: xero · Endpoint: https://gateway.pipeworx.io/xero/mcp

Get the Profit and Loss (income statement) financial report from a Xero accounting organisation for an optional date range. Returns the structured Xero report (report name, date, and row sections covering revenue, expenses, and net profit). Use for financial reporting and bookkeeping analysis.

Parameters

NameTypeRequiredDescription
tenant_idstringnoOptional Xero tenant (organisation) id to target. If omitted, the first connected organisation is used. Get ids from list_organisations.
from_datestringnoOptional start date of the reporting period in YYYY-MM-DD format.
to_datestringnoOptional end date of the reporting period in YYYY-MM-DD format.

Example call

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":"get_profit_and_loss","arguments":{}}}'

Connect

Add this to your MCP client config, or use one-click install buttons:

{
  "mcpServers": {
    "xero": {
      "url": "https://gateway.pipeworx.io/xero/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build June 3, 2026