Create

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

Creates a new cash register cheque. Use this method to create or continue an open cash register cheque for the current accepted cashier during the POS sale workflow. The method does not require a request body, checks the current request user, accepted cashier binding and retail session-open permission, then returns result with the created or already open Cheque array for the current shift. Business errors such as denied access, missing accepted cash register, no open shift, multiple open or unpaid cheques, lock failures and persistent storage errors are returned as HTTP 200 ErrorResult business errors.

Request Parameters

No request body.

Request Example

{}

Response Parameters

Name Type Description
ok Boolean Indicates whether the request completed successfully.
result Insert_uuid Created UUID record result.

Response Example

{
  "ok": true,
  "result": {
    "new_uuid": "00000000-0000-0000-0000-000000000000"
  }
}