Skip to content

Commit

Permalink
test: set taxables values to ensure it creates e-Waybills
Browse files Browse the repository at this point in the history
(cherry picked from commit 5c96e50)
  • Loading branch information
vorasmit authored and mergify[bot] committed Aug 20, 2024
1 parent e4d5c58 commit 03708f1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
6 changes: 4 additions & 2 deletions india_compliance/gst_india/data/test_e_waybill.json
Original file line number Diff line number Diff line change
Expand Up @@ -1090,9 +1090,11 @@
"gst_hsn_code": "61149090",
"s_warehouse": "Finished Goods - _TIRC",
"t_warehouse": "Goods In Transit - _TIRC",
"amount": 100
"amount": 100,
"taxable_value": 100
}],
"company": "_Test Indian Registered Company"
"company": "_Test Indian Registered Company",
"base_grand_total": 100
},
"values": {
"distance": 0.0,
Expand Down
1 change: 1 addition & 0 deletions india_compliance/gst_india/utils/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ def append_item(transaction, data=None, company_abbr="_TIRC"):
"gst_hsn_code": data.gst_hsn_code,
"warehouse": f"Stores - {company_abbr}",
"expense_account": f"Cost of Goods Sold - {company_abbr}",
"taxable_value": data.taxable_value or 0,
},
)

Expand Down

0 comments on commit 03708f1

Please sign in to comment.