SetRefundInfo

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

Adds return data to a cheque. Update a return cheque with fiscal refund data after the external fiscalization step has produced either a QR code URL or receipt details. The request requires uuid and either qrcode_url or the receipt_no, terminal_id, fiscal_sign and datetime fields, then returns row_affected when the cheque is updated. The method checks the current request user, that the cheque is opened and that it is a return cheque; validation failures and storage errors are returned as HTTP 200 ErrorResult.

Request Parameters

Name Type Required Description
datetime String Optional Cheque date and time.
fiscal_sign String Optional Fiscal sign.
qrcode_url String Optional Fiscal QR code URL.
receipt_no String Optional Cheque number in POFM.
terminal_id String Optional Fiscal module ID.
uuid String Optional Cheque UUID.

Request Example

{
  "datetime": "2026-01-01T00:00:00Z",
  "fiscal_sign": "string",
  "qrcode_url": "string",
  "receipt_no": "string",
  "terminal_id": "string",
  "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
  }
}