A common reason for your recipe failing at this step is:
Company does not exist in QuickBooks Online
Invoices must be created under a certain company, and if the company you have pinpointed out in your recipe does not exist in QuickBooks Online, your recipe will fail at this step. You can either create the company manually in QuickBooks Online and then rerun the failed job, or you can create a recipe to keep your companies synced across the different apps you have.
Additional Notes
Do take note that "create invoice" methods usually include input fields for 1 line item (first line item) by default. You can fill this up with a placeholder such as "Transferred from external system XXX" to keep track of the source of the invoice, and subsequently use a for loop to sync the array of line items to the new invoice.