ms_get_turnover
Retrieve product turnover report with opening, income, outcome, and closing balances in quantity and monetary value (kopecks or rubles). Specify period bounds and pagination.
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 |