Advance Adjustment and Remaining Balance Refund Requirement

Hello everyone,

I am facing an issue related to advance allocation in my Healthcare workflow.
In some cases, the patient’s collected advance amount is more than the invoice outstanding.
Because of this, ERPNext throws the validation “Advance amount cannot be greater than …” and stops the transaction.

My expected requirement:

  • I want to allow using the full advance instead of blocking the transaction

  • The remaining advance balance should be available to refund to the patient

So in ERPNext normal workflow its allowing me but not sure about healthcare so if no one responds here better you post in