Payment journal issue

When we generate payment journal what is the best way to deduct credit note amount.

Is it through payment journal or settlement?

If we deduct credit note amount within payment journal it is generating negative amount in the text file. How to fix this issue.

Are you looking for a DEV help? Your question doesn’t say anything about it.

Development or Configuration. If by configuring can solve the problem please say how to do

Is there a balance on invoice after doing the credit note?

If so, you may settle the actual invoice and credit note and do the payment for remaining amount.