Close the Checkbox shift (Z-report)
checkbox_close_shiftCloses the open Checkbox shift, which creates the fiscal Z-report (irreversible). Returns the closed shift with the Z-report fiscal code, receipt counts, 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_close_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 |