diff --git a/erpnext/regional/india/e_invoice/utils.py b/erpnext/regional/india/e_invoice/utils.py index 251404a46a1a..27e3da720366 100644 --- a/erpnext/regional/india/e_invoice/utils.py +++ b/erpnext/regional/india/e_invoice/utils.py @@ -1378,7 +1378,7 @@ def raise_error(self, raise_exception=False, errors=None): def set_einvoice_data(self, res): enc_signed_invoice = res.get("SignedInvoice") - dec_signed_invoice = jwt.decode(enc_signed_invoice, verify=False)["data"] + dec_signed_invoice = jwt.decode(enc_signed_invoice, options={"verify_signature": False})["data"] self.invoice.irn = res.get("Irn") self.invoice.ewaybill = res.get("EwbNo")