2 "/cash_registers/{cash_register_id}/cashups": {
4 "x-mojo-to": "CashRegisters::Cashups#list",
5 "operationId": "listCashups",
7 "summary": "List cashups for the cash register",
8 "produces": ["application/json"],
10 "$ref": "../parameters.json#/cash_register_id_pp"
13 "$ref": "../parameters.json#/match"
16 "$ref": "../parameters.json#/order_by"
19 "$ref": "../parameters.json#/page"
22 "$ref": "../parameters.json#/per_page"
25 "$ref": "../parameters.json#/q_param"
28 "$ref": "../parameters.json#/q_body"
31 "$ref": "../parameters.json#/q_header"
36 "description": "Cashups performed on this register",
40 "$ref": "../definitions.json#/cashup"
45 "description": "Access forbidden",
47 "$ref": "../definitions.json#/error"
51 "description": "Register not found",
53 "$ref": "../definitions.json#/error"
57 "x-koha-authorization": {
59 "cash_management": "cashup"
67 "/cashups/{cashup_id}": {
69 "x-mojo-to": "CashRegisters::Cashups#get",
70 "operationId": "getCashup",
72 "summary": "Get cashup",
74 "$ref": "../parameters.json#/cashup_id_pp"
81 "description": "A cashup",
83 "$ref": "../definitions.json#/cashup"
87 "description": "Access forbidden",
89 "$ref": "../definitions.json#/error"
93 "description": "Patron not found",
95 "$ref": "../definitions.json#/error"
99 "x-koha-authorization": {
101 "cash_management": "cashup"