Receipt.FullRefund
Issues a full refund for a sales receipt.
Refund receipt payment restrictions apply, including the prohibition of any cash amount in the entire receipt when restricted products are present or the cash payment threshold for an ICPS code is exceeded. A violation returns 701003.
Input parameters
| Name | Data type | Required | Description |
|---|---|---|---|
| QRCodeURL | string | Required | String containing the URL from the fiscal receipt's QR code |
If the sales receipt being refunded contained payments through electronic payment systems ({"params":{"payments":[{"type":2,"payment_id": "2"}}}), those payments are treated as terminal payments.
Request example
{
"auth": "a2Fzc2E6a2FzMTIzNDU2",
"id": 4,
"jsonrpc": "2.0",
"method": "Receipt.FullRefund",
"params": {
"QRCodeURL": "https://ofd.soliq.uz/check?t=TEST000001&r=187&c=20261030120000&s=123456789012"
}
}
Output parameters
| Name | Data type | Description |
|---|---|---|
| Id | string | ID of the receipt created or found in REGOS: VCR |
| Code | string | Receipt code in the external system |
| Amount | int64 | Receipt amount in tiyin |
| QRCodeURL | string | Mask ***; the URL from the QR code is not returned |
| TerminalID | string | Fiscal module ID |
| ReceiptNo | string | Mask ***; the fiscal receipt number is not returned |
| DateTime | string | Receipt date and time in ISO 8601 format |
| FiscalSign | string | Mask ***; the fiscal sign is not returned |
The QRCodeURL, ReceiptNo, and FiscalSign fields always contain the string ***. Complete fiscal details and a working QR code are printed on the paper receipt. Use Id for subsequent requests involving the receipt.
Response example
{
"id": 4,
"ok": true,
"result": {
"Id": "33b04cd2-64aa-4a01-ad23-9bc9819d6e55",
"Code": "res-000782",
"Amount": 10000,
"QRCodeURL": "***",
"TerminalID": "TEST000001",
"ReceiptNo": "***",
"DateTime": "2026-10-30T12:00:00",
"FiscalSign": "***"
},
"jsonrpc": "2.0"
}
Local marking code control during refunds
After a refund is successfully registered, only the marking codes of the returned items from the corresponding sale are released on this REGOS: VCR installation. A refund against an old receipt does not release a unit that has already been sold again in another receipt.
If a marking code is assigned to another sale or the supplied details do not identify the corresponding original sale, 704045 is returned. If the marking code is absent from the local records of sold units, this restriction does not apply; all other refund checks are performed.
If the result of the previous operation is unconfirmed, 704044 is returned. In Fiscal Drive Service mode, repeating the same request may resume the saved unfinished operation. Do not change the receipt contents or its code to bypass the restriction. If the operation cannot be recovered, check the result of the previous receipt and contact a TSC. Restarting the cash register alone does not remove the restriction.
Invalid identifier
The QRCodeURL field is required. If it is missing, empty, or contains only whitespace, error 701003 is returned.
Local marking records accumulate only for sales registered after upgrading to version 2026-10-30. Earlier receipts are not used to initialize these records.