Settle open invoices with security deposit received
I have received security deposit amount from my customer. When the deal is over he asks me to adjust the invoices with the security deposit. What should i do to make the liability account zero and open invoices zero. Please help. Thanks in advance.