Skip to content

Commit

Permalink
Merge pull request #2223 from vorasmit/float-fields
Browse files Browse the repository at this point in the history
fix: round all value fields for gstr-1 json
  • Loading branch information
vorasmit authored Jun 9, 2024
2 parents d2cb050 + 78f767b commit c191871
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions india_compliance/gst_india/utils/gstr_1/gstr_1_json_map.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,12 @@ class GovDataMapper:
GovDataField.CGST.value,
GovDataField.SGST.value,
GovDataField.CESS.value,
GovDataField.NET_TAXABLE_VALUE.value,
GovDataField.EXEMPTED_AMOUNT.value,
GovDataField.NIL_RATED_AMOUNT.value,
GovDataField.NON_GST_AMOUNT.value,
GovDataField.QUANTITY.value,
GovDataField.ADVANCE_AMOUNT.value,
}

DISCARD_IF_ZERO_FIELDS = {
Expand Down

0 comments on commit c191871

Please sign in to comment.