Unapplies a payment that’s already been applied to an invoice or invoice line by crediting the amount back to the payment and the invoice or invoice line.
If the Apply Payments to Invoices setting is enabled, payments can be applied to invoices, which creates the PaymentLineInvoice records of type Applied. If the Apply Payments to Invoices feature setting is disabled, payments can be applied to invoice lines, which creates the PaymentLineInvoiceLine records of type Applied.
When payments are unapplied, the PaymentLineInvoice or PaymentLineInvoiceLine records of type Applied has the associated PaymentLineInvoice or PaymentLineInvoiceLine records of type Unapplied.
This action is available in API version 64.0 and later.
Special Access Rules
This action is available in Enterprise, Unlimited, and Developer Editions where Billing is enabled. To use this action, you need the Payment Ops permission set.