Skip to content

Commit c0b3916

Browse files
committed
fix: round total value to two decimal places
1 parent f98524b commit c0b3916

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

india_compliance/gst_india/utils/e_invoice.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -685,7 +685,7 @@ def update_item_details(self, item_details, item):
685685
)
686686

687687
if self.doc.is_reverse_charge:
688-
item_details["total_value"] = abs(self.rounded(item.taxable_value, 3))
688+
item_details["total_value"] = abs(self.rounded(item.taxable_value, 2))
689689

690690
if batch_no := self.sanitize_value(
691691
item.batch_no, max_length=20, truncate=False

0 commit comments

Comments
 (0)