Merge pull request #22946 from deepeshgarg007/gst_export_wopay

fix: GSTR 1 report for exports without payment of Tax
This commit is contained in:
Deepesh Garg 2020-08-10 09:56:12 +05:30 committed by GitHub
commit 097d89f550
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -131,6 +131,9 @@ class Gstr1Report(object):
taxable_value += abs(net_amount)
elif tax_rate:
taxable_value += abs(net_amount)
elif not tax_rate and self.filters.get('type_of_business') == 'EXPORT' \
and invoice_details.get('export_type') == "Without Payment of Tax":
taxable_value += abs(net_amount)
row += [tax_rate or 0, taxable_value]