get_profit_and_loss
Generate a simplified Profit & Loss statement for a date range, grouping income and expense ledgers by standard Tally primary groups.
Instructions
Get a simplified Profit & Loss statement, grouping income and expense ledgers by their standard Tally primary group.
Args: company: Company name. If omitted, uses the configured default. from_date: Start date, ISO format YYYY-MM-DD. to_date: End date, ISO format YYYY-MM-DD.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| company | No | ||
| to_date | No | ||
| from_date | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||