Skip to content

Commit

Permalink
fix: supply type for sez invoices with payment of tax
Browse files Browse the repository at this point in the history
  • Loading branch information
nextchamp-saqib committed May 2, 2022
1 parent d7cb269 commit c8aa772
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion erpnext/regional/india/e_invoice/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,10 @@ def get_transaction_details(invoice):
if invoice.gst_category == "Registered Regular":
supply_type = "B2B"
elif invoice.gst_category == "SEZ":
supply_type = "SEZWOP"
if invoice.export_type == "Without Payment of Tax":
supply_type = "SEZWOP"
else:
supply_type = "SEZWP"
elif invoice.gst_category == "Overseas":
if invoice.export_type == "Without Payment of Tax":
supply_type = "EXPWOP"
Expand Down

0 comments on commit c8aa772

Please sign in to comment.