2 "/cash_registers/{cash_register_id}/cashups": {
4 "x-mojo-to": "CashRegisters::Cashups#list",
5 "operationId": "listCashups",
6 "tags": ["cash_registers", "cashups"],
7 "produces": ["application/json"],
9 "$ref": "../parameters.json#/cash_register_id_pp"
12 "$ref": "../parameters.json#/match"
15 "$ref": "../parameters.json#/order_by"
18 "$ref": "../parameters.json#/page"
21 "$ref": "../parameters.json#/per_page"
24 "$ref": "../parameters.json#/q_param"
27 "$ref": "../parameters.json#/q_body"
30 "$ref": "../parameters.json#/q_header"
35 "description": "Cashups performed on this register",
39 "$ref": "../definitions.json#/cashup"
44 "description": "Access forbidden",
46 "$ref": "../definitions.json#/error"
50 "description": "Register not found",
52 "$ref": "../definitions.json#/error"
56 "x-koha-authorization": {
58 "cash_management": "cashup"
63 "/cashups/{cashup_id}": {
65 "x-mojo-to": "CashRegisters::Cashups#get",
66 "operationId": "getCashup",
67 "tags": ["cash_registers", "cashups"],
69 "$ref": "../parameters.json#/cashup_id_pp"
76 "description": "A cashup",
78 "$ref": "../definitions.json#/cashup"
82 "description": "Access forbidden",
84 "$ref": "../definitions.json#/error"
88 "description": "Patron not found",
90 "$ref": "../definitions.json#/error"
94 "x-koha-authorization": {
96 "cash_management": "cashup"