Skip to content

Commit

Permalink
Merge pull request resilient-tech#2108 from ljain112/fix-gstr-data
Browse files Browse the repository at this point in the history
fix: condition for b2cl in gstr-1 data
  • Loading branch information
vorasmit authored May 11, 2024
2 parents ddc8d14 + 3df5eef commit 6ba2195
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion india_compliance/gst_india/utils/gstr_1/gstr_1_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ def is_b2cl_cn_dn(self, invoice):

@cache_invoice_condition
def is_b2cl_inv(self, invoice):
return abs(invoice.total_amount) > B2C_LIMIT and self.is_inter_state(invoice)
return abs(invoice.invoice_total) > B2C_LIMIT and self.is_inter_state(invoice)


class GSTR1CategoryConditions(GSTR1Conditions):
Expand Down

0 comments on commit 6ba2195

Please sign in to comment.