Get the Checkbox shift
checkbox_get_shiftReturns the cashier's current Checkbox shift: status, opening time and hours open, cash register fiscal number, cashier, number of receipts, and sales and returns totals.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "checkbox_get_shift"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| connection_id | No | Checkbox connection id |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| demo | No | ||
| note | No | ||
| serial | No | ||
| status | Yes | CREATED | OPENING | OPENED | CLOSING | CLOSED | |
| cashier | No | ||
| receipts | No | ||
| shift_id | No | ||
| closed_at | No | ||
| opened_at | No | ||
| connection | Yes | ||
| hours_open | No | ||
| sales_total | No | ||
| cash_register | No | ||
| returns_total | No | ||
| z_report_fiscal_code | No |