The option "Payment Methods > Zero Subtotal Checkout > Automatically Invoice All Items" (payment/free/payment_action
) was removed in 2.4.0. This module brings back the automatic invoicing of free orders via cron.
composer require yireo/magento2-auto-invoice-zero-subtotal-orders
bin/magento module:enable Yireo_AutoInvoiceZeroSubtotalOrders