Xero Profit Loss
xero_profit_lossRetrieve Profit & Loss reports for a date range and compare periods by month, quarter, or year to assess financial performance.
Instructions
Get Profit & Loss report for a date range.
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_profit_loss"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| periods | No | Number of comparison periods | |
| to_date | No | End date (YYYY-MM-DD) | |
| from_date | No | Start date (YYYY-MM-DD) | |
| timeframe | No | MONTH, QUARTER, or YEAR |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |