Unapply Credit Action

Unapply a credit memo or credit memo line from an invoice or invoice line, respectively.

This action unapplies the credit from an invoice or invoice line. This process involves crediting the applied amount of the credit memo invoice application or credit memo line invoice line record to the related credit memo or credit memo line and invoice or invoice line.

This action is available in API version 62.0 and later.

The Apply Credit action is available in Enterprise, Developer, and Unlimited Editions where Billing is enabled. To use this action, you need the Credit Memo Operations User permission set.

URI: /services/data/v68.0/actions/standard/unapplyCredit

Formats: JSON, XML

HTTP Methods: POST

Authentication: Authorization: Bearer TOKEN

Where TOKEN is a placeholder for your OAuth access token.

InputTypeDescription
effectiveDatestringDate when the credit is unapplied from an invoice or invoice line.
descriptionstringAdditional details about the credit memo invoice application or credit memo line invoice line record of type Applied that’s processed.
recordIdstringRequired. ID of the credit memo invoice application or credit memo line invoice line record of type Applied that’s processed to unapply the credit.
OutputTypeDescription
recordIdstringID of the credit memo invoice application or credit memo line invoice line record of type Unapplied that the action created.

POST

This example shows a sample request for the Unapply Credit action.

This example shows a sample response for the Unapply Credit action.