Skip to content

Commit

Permalink
fix: update place of supply for sandbox mode (#912)
Browse files Browse the repository at this point in the history
  • Loading branch information
ljain112 authored Jul 31, 2023
1 parent e0aba2c commit 89a6f3d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions india_compliance/gst_india/data/test_e_invoice.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"LglNm": "_Test Registered Customer",
"Loc": "Test City",
"Pin": 500055,
"Pos": "01",
"Pos": "02",
"Stcd": "36",
"TrdNm": "_Test Registered Customer"
},
Expand Down Expand Up @@ -116,7 +116,7 @@
"LglNm": "_Test Registered Customer",
"Loc": "Test City",
"Pin": 500055,
"Pos": "01",
"Pos": "02",
"Stcd": "36",
"TrdNm": "_Test Registered Customer"
},
Expand Down Expand Up @@ -221,7 +221,7 @@
"LglNm": "_Test Registered Customer",
"Loc": "Test City",
"Pin": 500055,
"Pos": "01",
"Pos": "02",
"Stcd": "36",
"TrdNm": "_Test Registered Customer"
},
Expand Down Expand Up @@ -354,7 +354,7 @@
"LglNm": "_Test Registered Customer",
"Loc": "Test City",
"Pin": 500055,
"Pos": "01",
"Pos": "02",
"Stcd": "36",
"TrdNm": "_Test Registered Customer"
},
Expand Down
2 changes: 1 addition & 1 deletion india_compliance/gst_india/utils/e_invoice.py
Original file line number Diff line number Diff line change
Expand Up @@ -545,7 +545,7 @@ def get_invoice_data(self):
if self.transaction_details.total_igst_amount > 0:
self.transaction_details.place_of_supply = "36"
else:
self.transaction_details.place_of_supply = "01"
self.transaction_details.place_of_supply = "02"

if self.doc.is_return:
self.dispatch_address, self.shipping_address = (
Expand Down

0 comments on commit 89a6f3d

Please sign in to comment.