ERPNext version 14 you need to update the credentials section under GST Settings to generate the e-invoice.