Add

[POST] .../v1/pos/chequepaymentoperation/add

Adds a payment operation to a POS cheque. Add a payment line to a POS cheque that is already in Paying status. Requires an accepted cashier context for the current request user, document_uuid, type_id and positive value; returns new_uuid. Payment type, cheque balance, cash change, debt and bonus rules apply. Optional data stores a VCR payment ID (up to 100 characters) on the payment, not its change row. External processing is handled by VCR; this method does not check payment-system settings or verify external payment success. Business errors return HTTP 200 ErrorResult.

Request Parameters

Name Type Required Description
data String Optional Optional VCR payment ID, up to 100 characters. Stored on the payment, not its change row; surrounding whitespace is trimmed.
document_uuid String Required Cash register cheque UUID.
type_id Int64 Required Payment method ID.
value Decimal Required Payment amount.

Request Example

{
  "data": "string",
  "document_uuid": "00000000-0000-0000-0000-000000000000",
  "type_id": 1,
  "value": 1.0
}

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"
  }
}