GET /api/caja/actual
Returns the register that is currently open. If no register is open, returns null.
Authentication: Bearer JWT requiredRequired role:
admin or cajero
Request
No parameters or body required.Response
Success (200)
Returns the opencaja_turno object, or null if no register is open.
Auto-incremented register ID
Opening date (
YYYY-MM-DD)Opening timestamp (ISO 8601 with timezone)
Closing timestamp —
null while the register is openID of the user who opened the register
Cash amount at opening (BOB)
Count of 200 BOB bills at opening
Count of 100 BOB bills at opening
Count of 50 BOB bills at opening
Count of 20 BOB bills at opening
Count of 10 BOB bills at opening
Count of 5 BOB bills at opening
Count of 2 BOB coins at opening
Count of 1 BOB coins at opening
Count of 0.50 BOB coins at opening
Count of 0.20 BOB coins at opening
Count of 0.10 BOB coins at opening
Total cash sales accumulated in this shift (BOB)
Total QR sales accumulated in this shift (BOB)
Total expenses recorded against this register (BOB)
false — the register is openClosing observations —
null while openError responses
| Status | Description |
|---|---|
| 401 | Unauthorized — missing or invalid JWT |
| 403 | Forbidden — role is not admin or cajero |