Skip to content

Commit

Permalink
fix: rounding of other charges for e-Invoice (#1980)
Browse files Browse the repository at this point in the history
(cherry picked from commit 8166d3a)
  • Loading branch information
vorasmit authored and mergify[bot] committed Apr 5, 2024
1 parent 8c8d03f commit 7728426
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions india_compliance/gst_india/utils/e_invoice.py
Original file line number Diff line number Diff line change
Expand Up @@ -511,8 +511,9 @@ def update_other_charges(self):
"""
Non Taxable Value should be added to other charges.
"""
self.transaction_details.other_charges += self.rounded(
self.transaction_details.total_non_taxable_value
self.transaction_details.other_charges = self.rounded(
self.transaction_details.other_charges
+ self.transaction_details.total_non_taxable_value
)

def validate_transaction(self):
Expand Down

0 comments on commit 7728426

Please sign in to comment.