Magento 2 procedure to automatically invoice orders in a given status.
Automatically invoice all complete orders in Magento