merit_get_profit_report
Generate a profit and loss report for a chosen end date and months back, with an optional department filter to isolate performance.
Instructions
Income statement / P&L (POST /api/v1/getprofitrep). endDate is ISO YYYY-MM-DD; periodCount is the number of months back. Optional departmentFilter.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| endDate | Yes | Period end date (YYYY-MM-DD, required) | |
| periodCount | Yes | Number of months back (required) | |
| departmentFilter | No | Department code filter (DepFilter) |