To create an E-way bill for Purchase Invoice, Please go to Bills>> Purchases > Select the Invoice > More > Create E-way Bill.