Skip to main content

/refund

Request body:

FieldTypeRequiredFormat / constraints
documentIDinteger (int64)NoInternal document id
documentExtIDstringNoExternal document id
docTimestringNoyyyy-MM-dd HH:mm:ss
docNumberstringNoExternal document number
employeeNamestringNoCashier name
employeeFirstNamestringNoUsed when employeeName is empty
employeeLastNamestringNoUsed when employeeName is empty
itemsarray of item objectsYesMust be non-empty
paymentsobjectNoPayment split object
extraPaymentsarray of extra payment objectsNoAdditional payment entries
parentDocIDstringCountry dependantOriginal sale reference
parentDocNumstringCountry dependantOriginal sale number
parentfiscalIDstringCountry dependantOriginal fiscal document ID
parentFiscalNumstringCountry dependantOriginal fiscal document number

[!NOTE] Notes: parentDocID and parentDocNum are 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 as parentfiscalID and parentFiscalNum, insted.

Success response: same field set and value rules as /sale.