Merge pull request #30875 from deepeshgarg007/supply_type_einvoice
fix(India): Supply type for overseas invoices with payment of tax
diff --git a/erpnext/regional/india/e_invoice/utils.py b/erpnext/regional/india/e_invoice/utils.py
index 0f73c5f..0aff495 100644
--- a/erpnext/regional/india/e_invoice/utils.py
+++ b/erpnext/regional/india/e_invoice/utils.py
@@ -127,9 +127,15 @@
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":
- 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"