pospal_list_tickets
List paginated sales tickets by date range, with optional filters for ticket type (valid, void, return, member, wholesale) and serial number.
Instructions
分页查销售单据。ticket_type: 0=有效, 1=作废, 4=退货, 2=会员, 3=批发。
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"begin_time": "<begin_time>",
"end_time": "<end_time>"
},
"name": "pospal_list_tickets"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sn | No | ||
| end_time | Yes | ||
| page_size | No | ||
| begin_time | Yes | ||
| page_index | No | ||
| ticket_type | No | 0 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||