/refund
Request body:
| Field | Type | Required | Format / constraints |
|---|---|---|---|
documentID | integer (int64) | No | Internal document id |
documentExtID | string | No | External document id |
docTime | string | No | yyyy-MM-dd HH:mm:ss |
docNumber | string | No | External document number |
employeeName | string | No | Cashier name |
employeeFirstName | string | No | Used when employeeName is empty |
employeeLastName | string | No | Used when employeeName is empty |
items | array of item objects | Yes | Must be non-empty |
payments | object | No | Payment split object |
extraPayments | array of extra payment objects | No | Additional payment entries |
parentDocID | |||
parentDocNum | |||
parentfiscalID | string | Country dependant | Original fiscal document ID |
parentFiscalNum | string | Country dependant | Original fiscal document number |
[!NOTE] Notes:
parentDocIDandparentDocNumare currently supported and remain fully functional. However, these methods are considered legacy and are planned for deprecation in a future release. New integrations should avoid relying on them and use the recommended alternatives, such asparentfiscalIDandparentFiscalNum, insted.
Success response: same field set and value rules as /sale.