diff --git a/erpnext/regional/india/utils.py b/erpnext/regional/india/utils.py index 62de7a9897e..0bf1af5cd89 100644 --- a/erpnext/regional/india/utils.py +++ b/erpnext/regional/india/utils.py @@ -17,7 +17,7 @@ def validate_gstin_for_india(doc, method): if doc.state in states: doc.gst_state = doc.state - if doc.gst_state: + if doc.gst_state and doc.gstin != "NA": doc.gst_state_number = state_numbers[doc.gst_state] if doc.gst_state_number != doc.gstin[:2]: frappe.throw(_("First 2 digits of GSTIN should match with State number {0}")