ms_get_turnover
Retrieve turnover report for products with opening, income, outcome, and closing balances in quantity and monetary value. Specify date range and optionally convert kopecks to rubles.
Instructions
Turnover by product: opening/income/outcome/closing in qty and money (kopecks).
Args: moment_from / moment_to: period bounds "YYYY-MM-DD HH:MM:SS" (required by the report). limit/offset: pagination. rubles: kopecks→rubles (default true). Returns JSON: {"ok": true, "data": {"meta", "rows": [ ... ]}}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| offset | No | ||
| rubles | No | ||
| moment_to | No | ||
| moment_from | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |