Unapply Credit Memo Line (POST)

Unapply a credit memo line from an invoice line and return the invoice line and the credit memo line to their pre-application states.

Special Access Rules 

You need the Credit Memo Operations User permission set to use this API.

Resource 

1/commerce/invoicing/credit-memo-line-invoice-line/{creditMemoLineInvoiceLineId}/actions/unapply

Resource Example 

1https://{yourInstance}.salesforce.com/services/data/v68.0/commerce/invoicing/credit-memo-line-invoice-line/{4sGSG0000002kQ92AI}/actions/unapply

Available Version 

62.0

HTTP Methods 

POST

Path Parameter for POST 

NameTypeDescriptionRequired or OptionalAvailable Version
creditMemo​LineInvoice​LineIdStringID of the credit memo line invoice line record.Required62.0

Request Body for POST 

JSON Example

1{
2 "description": "Unapply a credit memo line from invoice line 1",
3 "effectiveDate": "2024-07-01"
4}

Properties

NameTypeDescriptionRequired or OptionalAvailable Version
descriptionStringExplanation or reason for unapplying the credit memo line.Optional62.0
effectiveDateStringEffective date for the credit memo line.Optional62.0

Response Body for POST 

Credit Memo Line Unapplied