If the period is closed, (with non-GL changes allowed) you can still unapply a CM, so you could unapply it from the invoice and then maybe apply the CM to a JE to close it out, and now the invoice is open for payment again. If you don’t allow non-GL changes for some reason, I think you’d just have to re-invoice which can be a pain depending on how your invoices are generated.