Scope
Error ‘This operation is not supported when a credit note is applied on an invoice’ while deleting the invoice.
Error ‘This operation is not supported when allocations are present.’ while deleting credit note.
Summary
These errors typically occur when there is an Adjustment credit note created for that invoice or Refund and Allocation is available for that credit note. Hence, you need to delete the credit note allocated to this invoice first before deleting the invoice & delete the Refunds and Allocations with this invoice before deleting the credit note.
Note: This applies to invoices at ‘Posted, Payment due & Not paid’ status.
Solution:
To overcome the error, follow the steps below before deleting an invoice that has a Credit Note:
Step1: Navigate to Invoices & Credit Notes > Invoices > Specific invoice > Adjusted Credits > … > Remove
Step 2: Once the credit not is removed, you can navigate to the invoice, click on ‘three ellipses’ and click on `Delete this invoice’. This will let you delete it without an error.
For more information, Invoice Operation
To overcome the error, follow the steps below before deleting a Credit Note that has Refunds and Allocations:
Step 1: Navigate to Invoices & Credit Notes > Credit Notes > Specific Credit Note > Refunds and Allocations > … > Remove
Step 2: Once the refund or allocation is removed, you can navigate back to the credit note, click on ‘three ellipses’ and click on `Delete this credit note’
For more information, Credit Notes
Related Links:
What is the difference between deleting and voiding an invoice?