Skip to content

Commit

Permalink
fix: Taxable value for operating state in GSTR-1 report
Browse files Browse the repository at this point in the history
(cherry picked from commit 608fe2a)
  • Loading branch information
deepeshgarg007 authored and mergify[bot] committed Nov 16, 2022
1 parent 71f6970 commit 31a9e64
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions india_compliance/gst_india/report/gstr_1/gstr_1.py
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ def get_b2c_data(self):
row["rate"] = rate
row["taxable_value"] += sum(
[
abs(net_amount)
net_amount
for item_code, net_amount in self.invoice_items.get(
inv
).items()
Expand Down Expand Up @@ -342,7 +342,7 @@ def get_conditions(self):
elif self.filters.get("type_of_business") == "B2C Small":
conditions += """ AND (
SUBSTR(place_of_supply, 1, 2) = SUBSTR(company_gstin, 1, 2)
OR grand_total <= {0}) and is_return != 1 AND gst_category ='Unregistered' """.format(
OR grand_total <= {0} OR is_return != 1) AND gst_category ='Unregistered' """.format(
B2C_LIMIT
)

Expand Down

0 comments on commit 31a9e64

Please sign in to comment.