Skip to content

Commit

Permalink
fix(india): cess value not considered while validating e-invoice tota…
Browse files Browse the repository at this point in the history
…ls (frappe#30800)

(cherry picked from commit 8e6c7a6)

Co-authored-by: Saqib Ansari <nextchamp.saqib@gmail.com>
  • Loading branch information
mergify[bot] and nextchamp-saqib authored Apr 25, 2022
1 parent 30bf48e commit f70fca1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions erpnext/regional/india/e_invoice/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -553,6 +553,7 @@ def validate_totals(einvoice):
+ flt(value_details["CgstVal"])
+ flt(value_details["SgstVal"])
+ flt(value_details["IgstVal"])
+ flt(value_details["CesVal"])
+ flt(value_details["OthChrg"])
- flt(value_details["Discount"])
)
Expand Down

0 comments on commit f70fca1

Please sign in to comment.