Sales Invoice can be created as draft but couldn't submitted / posted

Everytime I try to submit sales invoice, Error info occurred: pymysql.err.IntegrityError: (1048, “Column ‘outstanding_amount’ cannot be null”).

I have made sure that the outstanding amount in the draft is right and not amounted to 0.

Is there anything I can do to solve this problem?

Thank you

I was having the same problem and then I tried to remove all of the charges applied to the invoice. Once I did this I was able to submit the invoice. Next step was to find out the problematic charge, for which I added one charge at a time and Save->Submit.

At the last found out one charge which was causing problem. I tried to change associated account head and I was able to submit the invoice along with this charge :slight_smile:


@nilprakash Thanks, I was facing the same problem. Solved it with your solution. Usually this problem occurs if account type is wrong for the account you are using for taxes and charges. For example, you will see this error, if account type is “Receivable”. Change it to something else and problem will resolve automatically.

1 Like