fix: Supply type for overseas invoices with payment of tax

(cherry picked from commit d7cb269e0c)
This commit is contained in:
Deepesh Garg
2022-05-02 19:23:43 +05:30
committed by Mergify
parent 6aab9ca427
commit fdcc591a5e

View File

@@ -130,7 +130,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"