Unlinks a customer credit from a sales invoice. If the customer credit has already been applied (CLEARED or PARTIALLY_CLEARED status), this will reverse the clearing entries in the ledger.
curl --request POST \
--url https://api.light.inc/v1/customer-credits/{customerCreditId}/invoice-receivables/{invoiceReceivableId}/unlink \
--header 'Authorization: <api-key>'Basic authentication header of the form Basic <api_key>, where <api_key> is your api key.
default response
curl --request POST \
--url https://api.light.inc/v1/customer-credits/{customerCreditId}/invoice-receivables/{invoiceReceivableId}/unlink \
--header 'Authorization: <api-key>'