Skip to content

Commit 73b13c6

Browse files
Sanket322mergify[bot]
authored andcommitted
fix: exclude purchase_invoice with boe in gstr3b
(cherry picked from commit c2bf053)
1 parent 386ff7b commit 73b13c6

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

india_compliance/gst_india/doctype/gstr_3b_report/gstr_3b_report.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -321,6 +321,7 @@ def get_inward_nil_exempt(self, state):
321321
and (i.gst_treatment != 'Taxable' or p.gst_category = 'Registered Composition') and
322322
month(p.posting_date) = %s and year(p.posting_date) = %s
323323
and p.company = %s and p.company_gstin = %s
324+
and p.gst_category != "Overseas"
324325
""",
325326
(self.month_no, self.year, self.company, self.gst_details.get("gstin")),
326327
as_dict=1,

india_compliance/gst_india/report/gstr_3b_details/gstr_3b_details.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -416,6 +416,7 @@ def get_inward_nil_exempt(self):
416416
purchase_invoice.company_gstin
417417
!= IfNull(purchase_invoice.supplier_gstin, "")
418418
)
419+
& (purchase_invoice.gst_category != "Overseas")
419420
)
420421
.groupby(purchase_invoice.name)
421422
)

0 commit comments

Comments
 (0)