Skip to content

Commit

Permalink
Merge pull request #30876 from frappe/mergify/bp/version-13-hotfix/pr…
Browse files Browse the repository at this point in the history
…-30875

fix(India): Supply type for overseas invoices with payment of tax (backport #30875)
  • Loading branch information
nextchamp-saqib authored May 2, 2022
2 parents 246869d + cf08710 commit 4db588e
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions erpnext/regional/india/e_invoice/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,9 +131,15 @@ def get_transaction_details(invoice):
):
supply_type = "B2B"
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":
supply_type = "EXPWOP"
if invoice.export_type == "Without Payment of Tax":
supply_type = "EXPWOP"
else:
supply_type = "EXPWP"
elif invoice.gst_category == "Deemed Export":
supply_type = "DEXP"

Expand Down

0 comments on commit 4db588e

Please sign in to comment.