Use case: Reversing an invoice with discount charges
Learn how to reverse invoices with discount charges.
When an invoice contains a discount charge, reversing the invoice can generate both a credit memo for the invoice and a debit memo for the discount charge. The debit memo requires an active Debit Memo reason code named Credit memo reversal.
Before submitting the reversal:
Navigate to .
Select Debit Memo from the transaction-type list.
Confirm that Credit memo reversal exists and is active.
Submit the reversal from the Zuora UI or REST API.
The reason code supplied in the reversal request applies to the credit memo generated for the invoice. It does not replace the Debit Memo reason code used for the automatically generated debit memo.
If the reversal fails with error code 59990020 and the message Unable to get the Reason Code by name: Credit memo reversal, add or activate the required Debit Memo reason code and retry the reversal.