How to create E-way bill using E-Invoice details?

If you first create an E-invoice and later generate the E-way bill for the same transaction, the system will automatically fetch the E-Invoice details and reflect both E-way bill and E-invoice details in the invoice PDF.

For more information, when you are trying to generate an E-Way Bill for an E-Invoice document, you can view and enable the Create E-Way Bill using E-Invoice details option.