GST E Invoice Error


I am trying to set up E Invoicing for an India client and I get the following error when I click on generate IRN:

Traceback (most recent call last):
File “apps/frappe/frappe/”, line 69, in application
response = frappe.api.handle()
File “apps/frappe/frappe/”, line 55, in handle
return frappe.handler.handle()
File “apps/frappe/frappe/”, line 38, in handle
data = execute_cmd(cmd)
File “apps/frappe/frappe/”, line 76, in execute_cmd
return, **frappe.form_dict)
File “apps/frappe/frappe/”, line 1457, in call
return fn(*args, **newargs)
File “apps/erpnext/erpnext/regional/india/e_invoice/”, line 1454, in get_einvoice
return make_einvoice(invoice)
File “apps/erpnext/erpnext/regional/india/e_invoice/”, line 634, in make_einvoice
seller_details = get_party_details(invoice.company_address)
File “apps/erpnext/erpnext/regional/india/e_invoice/”, line 217, in get_party_details
validate_address_fields(addr, skip_gstin_validation)
File “apps/erpnext/erpnext/regional/india/e_invoice/”, line 202, in validate_address_fields
File “apps/frappe/frappe/”, line 504, in throw
File “apps/frappe/frappe/”, line 479, in msgprint
File “apps/frappe/frappe/”, line 434, in _raise_exception
raise raise_exception(msg)
frappe.exceptions.ValidationError: Address Lines, City, Pincode, GSTIN are mandatory for address ABC… Please set them and try again.

Any idea what I am missing?



Check your address ‘ABC’ address lines should have valid state, pin codes and GSTIN. In some cases, the GSP would provide you with test GSTINs as well, make sure they match the respective addresses being used in the transaction.

Try India Compliance for new setups. I think your users will like the experience. :wink:

(requires version 14)