The status of the credit note will automatically get changed to Closed, either when the entire credit amount is applied to open invoices of the customer or if a refund is recorded for the credit note.
Books
Online accounting software
for small businesses.