Cancel a Credit Balance Adjustment
Overview
You can cancel a CreditBalanceAdjustment.
Zuora does not support deleting CreditBalanceAdjustments.
Enable Credit Balance Adjustments
Cancellation Process
To cancel a CreditBalanceAdjustment:
- Use the update() call on CreditBalanceAdjustment object.
- Specify the ID of the CreditBalanceAdjustment you wish to cancel.
- Set the Status to Canceled.
SOAP Example
The following is an example of SOAP code used to cancel a CreditBalanceAdjustment.
<?xml version="1.0" encoding="http://schemas.xmlsoap.org/soap/envelope/" standalone="no"?> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"> <soapenv:Header> <ns1:SessionHeader xmlns:ns1="http://api.zuora.com/" soapenv:mustUnderstand="0"> <ns1:session>y49XoDT6nkEB8tJI5yoW45FCM</ns1:session> </ns1:SessionHeader> </soapenv:Header> <soapenv:Body> <ns1:update xmlns:ns1="http://api.zuora.com/"> <ns1:zObjects xmlns:ns2="http://object.api.zuora.com/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ns2:CreditBalanceAdjustment"> <ns2:Id>402892df29b11b9f0129b11c75150008</ns2:Id> <ns2:Status>Canceled</ns2:Status> </ns1:zObjects> </ns1:update> </soapenv:Body> </soapenv:Envelope>