Merge pull request #30876 from frappe/mergify/bp/version-13-hotfix/pr-30875

fix(India): Supply type for overseas invoices with payment of tax (backport #30875)
This commit is contained in:
Saqib Ansari
2022-05-02 22:17:56 +05:30
committed by GitHub

View File

@@ -131,9 +131,15 @@ def get_transaction_details(invoice):
):
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":
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"