Credit note

Our client has given products back, now i make a credit note.
Then i pay the client on bank the money from the credit note.
How can i set the credit note that its payed.

It isn’t the credit note that is paid. The credit note reduces the Accounts receivable balance (or sends it negative). So if you want to refund the amount to the customer, you post the payment to Accounts receivable.