mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-26 00:14:50 +00:00
Merge pull request #30876 from frappe/mergify/bp/version-13-hotfix/pr-30875
fix(India): Supply type for overseas invoices with payment of tax (backport #30875)
This commit is contained in:
@@ -131,9 +131,15 @@ def get_transaction_details(invoice):
|
|||||||
):
|
):
|
||||||
supply_type = "B2B"
|
supply_type = "B2B"
|
||||||
elif invoice.gst_category == "SEZ":
|
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":
|
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":
|
elif invoice.gst_category == "Deemed Export":
|
||||||
supply_type = "DEXP"
|
supply_type = "DEXP"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user