Balance from chart of accounts

Hello all,

can anyone tell me if I want to get the balance from the chart of accounts so how can archive that, for example, if I want to get the balance of current assets and current liability in my script? so how can I do that? Thanks

@riddhi1

If you are looking for a report with all the account balance, you may check Account Balance Report

for the script, you can use this whitelist function https://github.com/frappe/erpnext/blob/5530a5b303fa2779e46481a180169749942640b3/erpnext/accounts/utils.py#L173 with frappe.call from your client script to get account balance you want from account you have passed in arg.

Thank you so much!!

@riddhi1 Please mark this as solution if you find it helpful

1 Like