Handling Partial Refund of Client's Advance Payment in Double-Entry Accounting

Hello everyone,

I am using a double-entry accounting system in Dolibarr, and I have encountered a scenario that I need assistance with.

A client made an advance payment (payment on account), and later they requested a partial refund of that amount. I would like to know the correct way to process this transaction in Dolibarr, ensuring that the credit note or the client’s advance payment balance is reduced by the refunded amount.

What steps should I follow to handle this correctly so that the refund reflects properly in the accounting records?

Thank you in advance for your help!

Best regards,
Sheref