ms_get_turnover
Retrieve per-product turnover for a date range, showing opening, income, outcome, and closing balances in quantity and money to analyze stock movement.
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 |