fix: e-Invoicing for SEZ Customer(v13) (#33796)
This commit is contained in:
@@ -71,7 +71,11 @@ def validate_eligibility(doc):
|
||||
|
||||
# if export invoice, then taxes can be empty
|
||||
# invoice can only be ineligible if no taxes applied and is not an export invoice
|
||||
no_taxes_applied = not doc.get("taxes") and not doc.get("gst_category") == "Overseas"
|
||||
no_taxes_applied = (
|
||||
not doc.get("taxes")
|
||||
and not doc.get("gst_category") == "Overseas"
|
||||
and not doc.get("gst_category") == "SEZ"
|
||||
)
|
||||
has_non_gst_item = any(d for d in doc.get("items", []) if d.get("is_non_gst"))
|
||||
|
||||
if (
|
||||
|
||||
Reference in New Issue
Block a user