Get Closing Balance in email notifications

On submission of payment entry, how can i get closing balance of the party and Cash account through notification.

I tried using this in Message section of new notification:

{{ erpnext.accounts.utils.get_balance_on(date= frappe.datetime.nowdate(), party_type= doc.customer, party= doc.customer) }}

But its not working. Kindly guide me.

Is there any way to do it?