Skip to content

Commit

Permalink
fix: json for CDNR-REG & CDNR-UNREG
Browse files Browse the repository at this point in the history
  • Loading branch information
divyam-mistry committed Feb 29, 2024
1 parent 8b075bf commit 2da748c
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions india_compliance/gst_india/report/gstr_1/gstr_1.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,12 +128,7 @@ def get_data(self):
) == "CDNR-UNREG" and not self.is_b2cl_cdn(invoice_details):
continue

row["is_reverse_charge"] = (
"Y"
if invoice_details.posting_date <= date(2017, 7, 1)
else "N"
)
row["export_type"] = "C" if invoice_details.is_return else "D"
row["document_type"] = "C" if invoice_details.is_return else "D"

Check warning on line 131 in india_compliance/gst_india/report/gstr_1/gstr_1.py

View check run for this annotation

Codecov / codecov/patch

india_compliance/gst_india/report/gstr_1/gstr_1.py#L131

Added line #L131 was not covered by tests

if taxable_value:
self.data.append(row)
Expand Down

0 comments on commit 2da748c

Please sign in to comment.