Merge pull request #30799 from nextchamp-saqib/einv-cess-fix

fix(india): cess value not considered while validating e-invoice totals
This commit is contained in:
Deepesh Garg 2022-04-25 14:39:15 +05:30 committed by GitHub
commit b1158bcb7c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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["RndOffAmt"])
- flt(value_details["Discount"])