GST E Invoice Error

Hi,

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/app.py”, line 69, in application
response = frappe.api.handle()
File “apps/frappe/frappe/api.py”, line 55, in handle
return frappe.handler.handle()
File “apps/frappe/frappe/handler.py”, line 38, in handle
data = execute_cmd(cmd)
File “apps/frappe/frappe/handler.py”, line 76, in execute_cmd
return frappe.call(method, **frappe.form_dict)
File “apps/frappe/frappe/init.py”, line 1457, in call
return fn(*args, **newargs)
File “apps/erpnext/erpnext/regional/india/e_invoice/utils.py”, line 1454, in get_einvoice
return make_einvoice(invoice)
File “apps/erpnext/erpnext/regional/india/e_invoice/utils.py”, line 634, in make_einvoice
seller_details = get_party_details(invoice.company_address)
File “apps/erpnext/erpnext/regional/india/e_invoice/utils.py”, line 217, in get_party_details
validate_address_fields(addr, skip_gstin_validation)
File “apps/erpnext/erpnext/regional/india/e_invoice/utils.py”, line 202, in validate_address_fields
frappe.throw(
File “apps/frappe/frappe/init.py”, line 504, in throw
msgprint(
File “apps/frappe/frappe/init.py”, line 479, in msgprint
_raise_exception()
File “apps/frappe/frappe/init.py”, 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?

Thanks

Jay

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)