list-profit-and-loss
Generate a profit and loss report in Xero to analyze revenue, expenses, and profitability for a specified time period.
Instructions
Lists profit and loss report in Xero. This provides a summary of revenue, expenses, and profit or loss over a specified period of time.
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": "list-profit-and-loss"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| toDate | No | Optional end date in YYYY-MM-DD format | |
| periods | No | Optional number of periods to compare | |
| fromDate | No | Optional start date in YYYY-MM-DD format | |
| timeframe | No | Optional timeframe for the report (MONTH, QUARTER, YEAR) | |
| paymentsOnly | No | Optional flag to include only accounts with payments | |
| standardLayout | No | Optional flag to use standard layout |