Close

[POST] .../v1/pos/doccheque/close

Closes a cash register cheque by setting status Closed Use this method to close a fully paid POS cheque after all required payment and fiscalization steps are complete. The request requires uuid, locks the cheque by uuid, checks the current request user and accepted cashier context and returns row_affected after the cheque is marked Closed. The method may also trigger cheque-close side effects in the persistent workflow; missing uuid, not fully paid cheques, empty cheques, invalid cheque state, fiscalization errors and storage errors are returned as HTTP 200 ErrorResult business errors.

Request Parameters

Name Type Required Description
uuid String Required Cheque UUID.

Request Example

{
  "uuid": "00000000-0000-0000-0000-000000000000"
}

Response Parameters

Name Type Description
ok Boolean Indicates whether the request completed successfully.
result Update Update operation result.

Response Example

{
  "ok": true,
  "result": {
    "ids": [
      null
    ],
    "row_affected": 1
  }
}