How to Auto Generate E-invoice for transactions which are in pending status?

Please go to Sales>>E invoices>>Pending>>Click on “Auto Generate Now”>>Check.

Note: This will generate E-Invoices for all the transactions that are in pending status if the portal is not down.