Please follow the steps mentioned below to create E-way bill for a purchase invoice:
Step 1: Go to Purchases >> Click on 3 dots for the purchase invoice for which you want to create the E-way bill >> Click on Create E-way bill
Step 2: Enter the details >> Click on Create E-way bill

