fix(regional): set proper state code in ewaybill JSON when gst_category is SEZ
This commit is contained in:
parent
67ba0462e9
commit
bbe4933a52
@ -516,6 +516,9 @@ def get_address_details(data, doc, company_address, billing_address):
|
||||
data.transType = 1
|
||||
data.actualToStateCode = data.toStateCode
|
||||
shipping_address = billing_address
|
||||
|
||||
if doc.gst_category == 'SEZ':
|
||||
data.toStateCode = 99
|
||||
|
||||
return data
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user