I need to prevent customers paying invoices if they don't have deposit. How to check the deposits of customer when they pay their invoices? Total receivable will be (-) if the customer have deposit otherwise it will be (+)
Can you show me an example code?