Hello John,
When you say that the Invoice is Closed, that means that the Invoice is applied right?
So the Invoice in the Customer Ledger Entry is "Remaining Amount = 0,00" and "Open = No"

If yes, if you try to select the Invoice in the Customer Ledger Entry and Click in Unapply Entries, with that the Invoice will be Open again.
This way it will be possible to apply the Credit Memo.

Hopefully, the information will help you move forward.
Laeticia Cunha