We hace created a PO with amount as below
while making payment entry it says
I can’t say how Rounded Total applies here.
The message makes sense - indeed the payment advance exceeds the (Grand Total) amount due - it seems reasonable to prevent overpayment?
if self.doctype == "Purchase Invoice":
def apply_pricing_rule_on_items(self, item, pricing_rule_args):
if not pricing_rule_args.get("validate_applied_rule", 0):
# if user changed the discount percentage then set user's discount percentage ?
if pricing_rule_args.get("price_or_product_discount") == "Price":
other_items = json.loads(pricing_rule_args.get("apply_rule_on_other_items"))
if other_items and item.item_code not in other_items:
if pricing_rule_args.get("pricing_rule_for") == "Rate":
It depends on what the purpose of the rounding is, I think. As I interpret it,
Rounded Total indicates the amount that should be paid, so it’s confusing when paying that amount throws up errors. There’s space in the invoice form to write off a rounding difference, but it looks like it’s not getting thrown in automatically.
The other alternative for OP would be to disable rounding.
Thanks Peter - yes these exchanges support your interpretation that Rounded Total represents the payment amount due, at least in the case of Sales Invoice and Sales Order.
So why a PO does not seem to follow that covention, unless as you say rounding must be disabled in that case.
The issue is that outstanding amount is being calculated with Grand Total as reference. Shouldn’t the Rounded Total be used as reference ? This is creating an issue where even after payment entry being submitted, the invoice is overdue because there has been no payment allocation for that fraction amount.
In this example, outstanding amount before the payment was Rs. 11,649.20. Now we get a cheque of Rs. 11649 and we create a payment entry and submit it with the sales i…
If case is
In Sales Invoice as Include payment checked,
Grand total 10.31
Rounded Total is 10.00
So, it shows Outstanding amount 10.31
But if Payment received as rounded total 10.00,
shows in outstanding 0.31 !
How to set that 0.31 in round off account and not as outstanding amount? Preferably automatically?
How to make Rounded total same as outstanding total ,so the customer will pay only the rounded amount and change and other entries will be calculated on rounded amount.
i want the customer to pay rounded amount i.e 9 in above case but currently if he pays 9 , it shows change 0.1 which should not happen.
Its pretty simple and basic, so i think it should be already in system?
Can anyone guide me how to set this up?