fix: Supply type for overseas invoices with payment of tax

This commit is contained in:
Deepesh Garg 2022-05-02 19:23:43 +05:30
parent 15237fd747
commit d7cb269e0c

View File

@ -129,7 +129,10 @@ def get_transaction_details(invoice):
elif invoice.gst_category == "SEZ":
supply_type = "SEZWOP"
elif invoice.gst_category == "Overseas":
supply_type = "EXPWOP"
if invoice.export_type == "Without Payment of Tax":
supply_type = "EXPWOP"
else:
supply_type = "EXPWP"
elif invoice.gst_category == "Deemed Export":
supply_type = "DEXP"