Total Customer Outstanding

Hi ERP Team,

Do we have any function or table to get to know the total customer outstanding for the given date?
example, If i enter today date, output should be amount like 20,000 like that. Just Total Value in one variable.

thanks
Jahir

1 Like

I think such a customer report is essential to have in any accounting solution. It should support to filter by customer/supplier on a period basis as well well on a project basis (project here might be defined by a project, a Sales order, or a Sales Invoice)

Actually I kind off assumed such must exist somewhere. Without having really tried it out so far, could you get such a report though applying a mix of filters to the general ledger maybe?

@pajahir Its available in General Ledger report, where you can also print Customer Account Statement

Please see general ledger report in Account module

Hi, Customer Statement will be individual customer with details of invoice and receipt. But what i was asking entire outstanding amount for the company.
I can sum outstanding column in sales invoice tableā€¦ not sure this is right solution.

1 Like

You can get this into general ledger, just need to add correct filter
Also there is account recivable and payble report present in account module

I think you might get that through

Accounts > Main Reports > Accounts Receivable

in case you donā€™t apply any filter per customer you should get the entire sum owed to your company

Hi, let me explain what i wanted as output.
CustomerName Amount
Customer1 2000
Customer2 3000
Customer3 500
Total 5500

Account Receivables report (donā€™t apply filter) will give output invoice wise outstanding (detail). I am asking for summary in customer level.
If we apply filter filter for customer then one customer OS will come.

I think if we sum outstanding amount in sales invoice table with group by customer above output will come.

thanks
Jahir

You can make such reports on your own

https://frappe.github.io/erpnext/user/manual/en/customize-erpnext/articles/making-custom-reports-in-erpnext.html

Yes I did. worked fine. thanks.

@pajahir can you share the custom report you designed?

Hi, Please find the attached screen. There is no filter screen, Intention is to know the company outstanding as on date. Also this will not consider Customer Advances.
Regards
Jahir

@pajahir thanks for the screenshot but thatā€™s not what I meant. What I meant with ā€˜sharingā€™ is providing the code or settings, so anybody who might want to have the same thing can rebuild what you have done.

When I say ā€˜codeā€™ I have to admint that I wouldnā€™t know what that actually means in terms of a report. Maybe itā€™s just a bunch of Settings?

Hi, It is not setting. It is query report. Just make select statement from sales invoice table for outstanding amount field and group by customer.

select customer as ā€œCustomer Code:Data:200ā€, customer_name as ā€œCustomer Name:Data:200ā€, sum(tabSales Invoice.outstanding_amount) as ā€œOutstanding Amount:Currency:150ā€ from tabSales Invoice where tabSales Invoice.docstatus= ā€œ1ā€ and tabSales Invoice.outstanding_amount > 0 group by customer, customer_name order by customer_name

2 Likes