merit_list_inventory_movements
Retrieve inventory movements within a date range, filtering by movement type (in, out, between stocks) and date type, with optional lines. Tracks stock changes over periods up to 3 months.
Instructions
List Merit Aktiva inventory movements (POST /api/v2/getinvmovements). periodStart/periodEnd are ISO YYYY-MM-DD, max 3 months apart. dateType: 0 = document date, 1 = changed date. Type: 1 = in, 2 = out, 3 = between stocks.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dateType | No | 0 = document date, 1 = changed date | |
| periodEnd | Yes | Period end (YYYY-MM-DD, required; max 3 months after periodStart) | |
| withLines | No | Include movement rows | |
| periodStart | Yes | Period start (YYYY-MM-DD, required) |