RE: Apply a posted Credit memo to a posted sales invoice
Hi,
1. if the credit memo was posted separately without adding the applies to doc no "PSI-0001"
2. Go to customer ledger entries search for that customer and apply the amount filter for that customer with positive and negative sign.

3. Select the posted sales credit memo and go to process and click on Apply entries action.

4. you would be able to see the entries. select the correct PSI and then set applies to ID.

5. And click on Post application.

6. You would be able to see the Posted sales credit memo and posted sales invoice will be closed when you see the Open field.

If my answer was helpful to you, please verify it so that other users know it worked. Thank you very much