list_inventories
List inventory check documents with filters for status, warehouse, date range, and SKU. Supports pagination to view matched, discrepancy, excess, or shortage results.
Instructions
List inventory check (kiểm kho) documents. Paginated.
IMPORTANT for AI:
Status: 1=pending, 10=awaiting confirmation, 200=completed
Done status: 1=matched, 2=discrepancy, 3=excess, 4=shortage
Use date filters + warehouse_id to narrow results.
Include: location,confirmer,creator,processer,sku
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | No | Search by inventory code | |
| warehouse_id | No | Filter by warehouse | |
| status | No | 1=pending, 10=awaiting confirmation, 200=completed | |
| done_status | No | 1=matched, 2=discrepancy, 3=excess, 4=shortage | |
| sku_sku | No | Filter by SKU | |
| include | No | Relations: location,confirmer,creator,processer,sku | |
| start_create_date | No | Creation date start (YYYY-MM-DD) | |
| end_create_date | No | Creation date end (YYYY-MM-DD) | |
| start_done_date | No | Completion date start (YYYY-MM-DD) | |
| end_done_date | No | Completion date end (YYYY-MM-DD) | |
| sort | No | Sort order (default id:-1) | id:-1 |
| limit | No | Page size | |
| page | No | Page number |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||