Receipt.GetInfo

Returns information about a fiscal receipt.

Input parameters

Name Data type Required Description
Id string Optional Receipt GUID in the virtual cash register
QRCodeURL string Optional Contains data read from the fiscal receipt. The data contains a URL in a special format: https://ofd.soliq.uz/check?t=TEST000001&r=187&c=20261030120000&s=123456789012. If the URL refers to a different virtual cash register, a receipt not found error is returned. If the URL does not match the format, the software uses the other fields.
ReceiptNo string Optional Receipt number in the fiscal module software
Code string Optional Receipt code in the external system

Important: Each field is optional, but at least one must be filled in.
If multiple fields are filled in, they take priority in the following order:

  • QRCodeURL;
  • ReceiptNo;
  • Id;
  • Code.

Request example

{
    "id": 1,
    "method": "Receipt.GetInfo",
    "params": {
        "QRCodeURL": "https://ofd.soliq.uz/check?t=TEST000001&r=187&c=20261030120000&s=123456789012",
        "ReceiptNo": "187",
        "Id": "59536964-a375-5ce7-bf85-3f64f3a7d474",
        "Code": "externalCodeExaample_1"
    },
    "auth": "a2Fzc2E6a2FzMTIzNDU2",
    "jsonrpc": "2.0"
}

Output parameters

If the receipt is found, result contains a ReceiptInfo object. If the receipt is not found, ok = false is returned with error 705005.

ReceiptInfo

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": 1,
    "ok": true,
    "result": {
        "Id": "59536964-a375-5ce7-bf85-3f64f3a7d474",
        "Amount": 100000,
        "QRCodeURL": "***",
        "TerminalID": "TEST000001",
        "ReceiptNo": "***",
        "DateTime": "2026-10-30T12:00:00",
        "FiscalSign": "***",
        "Code": "externalCodeExample_1"
    },
    "jsonrpc": "2.0"
}

Invalid identifier

If all identifiers are missing, error 701003 is returned. If the QRCodeURL string cannot be parsed as a URL and no other identifiers are provided, 701003 is also returned. If the specified receipt is not found or the URL refers to another fiscal module, 705005 is returned.