Change the post status to do not post:

1. In Records, open the Credit Memo
2. On the Credit Memo tab, click Application History
3. On the Line Item, select Do Not Post for Application Post status
4. Save and close the Credit Memo