generate_report
Generate a financial report: P&L, Balance Sheet, Cash Flow (indirect method from balance sheet deltas), or VAT Summary with Portuguese SAF-T filing hints.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"report_type": "<report_type>",
"api_key_hash": "<api_key_hash>"
},
"name": "generate_report"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to_date | No | End date (YYYY-MM-DD, defaults to today) | |
| from_date | No | Start date (YYYY-MM-DD, defaults to 1st of current month) | |
| report_type | Yes | Report type to generate | |
| api_key_hash | Yes | Customer API key hash identifying Xero token |