Merge pull request #31294 from deepeshgarg007/gstr_3b_taxable_value
fix(India): Incorrect taxable in GSTR-3B report
This commit is contained in:
commit
8008653082
@ -244,11 +244,10 @@ class GSTR3BReport(Document):
|
||||
)
|
||||
|
||||
for d in item_details:
|
||||
if d.item_code not in self.invoice_items.get(d.parent, {}):
|
||||
self.invoice_items.setdefault(d.parent, {}).setdefault(d.item_code, 0.0)
|
||||
self.invoice_items[d.parent][d.item_code] += d.get("taxable_value", 0) or d.get(
|
||||
"base_net_amount", 0
|
||||
)
|
||||
self.invoice_items.setdefault(d.parent, {}).setdefault(d.item_code, 0.0)
|
||||
self.invoice_items[d.parent][d.item_code] += d.get("taxable_value", 0) or d.get(
|
||||
"base_net_amount", 0
|
||||
)
|
||||
|
||||
if d.is_nil_exempt and d.item_code not in self.is_nil_exempt:
|
||||
self.is_nil_exempt.append(d.item_code)
|
||||
@ -335,7 +334,6 @@ class GSTR3BReport(Document):
|
||||
|
||||
def set_outward_taxable_supplies(self):
|
||||
inter_state_supply_details = {}
|
||||
|
||||
for inv, items_based_on_rate in self.items_based_on_tax_rate.items():
|
||||
gst_category = self.invoice_detail_map.get(inv, {}).get("gst_category")
|
||||
place_of_supply = (
|
||||
@ -361,7 +359,6 @@ class GSTR3BReport(Document):
|
||||
else:
|
||||
self.report_dict["sup_details"]["osup_det"]["iamt"] += taxable_value * rate / 100
|
||||
self.report_dict["sup_details"]["osup_det"]["txval"] += taxable_value
|
||||
|
||||
if (
|
||||
gst_category in ["Unregistered", "Registered Composition", "UIN Holders"]
|
||||
and self.gst_details.get("gst_state") != place_of_supply.split("-")[1]
|
||||
|
Loading…
x
Reference in New Issue
Block a user