How to process credit note for paid sales invoice

Hi Team,

I am processing credit note against a paid sales invoice but once the credit note created the outstanding goes to negative balance and it doesn’t come in the payment reconciliation to reconcile with another invoice against the customer.

How to fix it please guide.