fix(india): e-way bill json for unregistered gst category

This commit is contained in:
Dany Robert
2022-07-15 11:17:41 +05:30
committed by GitHub
parent 8c7b836de8
commit 01d6df45d0

View File

@@ -580,7 +580,7 @@ def get_ewb_data(dt, dn):
if dt == "Delivery Note":
data.subSupplyType = 1
elif doc.gst_category in ["Registered Regular", "SEZ"]:
elif doc.gst_category in ["Unregistered", "Registered Regular", "SEZ"]:
data.subSupplyType = 1
elif doc.gst_category in ["Overseas", "Deemed Export"]:
data.subSupplyType = 3