RefundInfo
The model describing sale receipt details required for a refund.
Note: All fields are optional individually, but a refund receipt must include either QRCodeURL or all the other fields.
| Name | Data type | Required | Parameter description |
|---|---|---|---|
| QRCodeURL | string | Optional | String containing the URL from the receipt's QR code |
| DateTime | string | Optional | Receipt closing date and time. A string in YYYY-MM-DD HH:MM:SS format, where YYYY is the year, MM the month, DD the day, HH the hours, MM the minutes, and SS the seconds. Example: "2022-06-02 10:01:00". |
| FiscalSign | string | Optional | Fiscal sign |
| ReceiptNo | string | Optional | Receipt number in the fiscal module |
| TerminalID | string | Optional | Fiscal module ID |
Note: Fill the refund_info model with data from the sale receipt. Use Receipt.GetInfo to retrieve sale receipt data.
The RefundInfo model is used in Receipt.Refund.
The request requires actual details from the original fiscal receipt. The *** string from a masked API response cannot be used for a refund. The details can be read from the paper receipt.