CreditMemoLineApply Class

Manage credit memo line applications by using the CreditMemoLineApply class.

ConnectApi

These methods are for CreditMemoLineApply. All methods are static.

Adjust or correct already issued invoices by applying an existing credit memo line to an invoice line.

62.0

No

public static ConnectApi.CreditMemoLineAppliedResponse applyCreditMemoLines(ConnectApi.CreditMemoLineApplyInput CreditMemoLineApplyInput, String creditMemoLineId)

CreditMemoLineApplyInput

Type: ConnectApi.CreditMemoLineApplyInput

Input representation of the details of the request to apply a credit memo line to an invoice line.

creditMemoLineId

Type: String

ID of the credit memo line record.

Type: ConnectApi.CreditMemoLineAppliedResponse

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

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

62.0

No

public static ConnectApi.CreditMemoLineUnappliedResponse unapplyCreditMemoLines(ConnectApi.CreditMemoLineUnapplyInput CreditMemoLineUnapplyInput, String creditMemoLineInvoiceLineId)

CreditMemoLineUnapplyInput

Type: ConnectApi.CreditMemoLineUnapplyInput

Input representation of the details of the request to unapply a credit memo line from an invoice line.

creditMemoLineInvoiceLineId

Type: String

ID of the credit memo line invoice line record.

Type: ConnectApi.CreditMemoLineUnappliedResponse

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