Error trying to apply a debit memo in AP Apply Debit Memo

I have an accounting user trying to apply a AP debit memo using the Apply Debit Memo/Prepayment and is getting an error “This invoice was not cancelled by this Debit Memo”.

Her explanation of what happened:

20260354 = original invoice
20260354CM = Debit
20260354-1 = invoice to apply it to

20260354 ended up being a voided check because we made an ACH payment for that invoice. That invoice and dollar amount need to appear on the ledger somehow.
20260354CM is a credit memo I created in error thinking that I had to negate the invoice, and then I created 20260354-1 to apply the credit memo to. Controller says it all looks good on her end if we can do the apply debit memo function to the CM and the -1 I created.

20260354 shows a blue “Cancelled” in AP Invoice Tracker
20260354 -1 shows a grey “Cancellation” in AP Invoice Tracker

Any thought on how to clean this up?