I'm here to help you add a bank details to the invoice, userphilpratchett.
In QuickBooks Online, you can add a custom field for the bank details that will appear on the invoice. And, I'm glad to provide the steps:
Go to Settings ⚙️, then select Account and Settings.
Proceed to the Sales tab.
Click Sales form content to expand the section.
Enter a name into each dialogue box beneath the heading Custom fields.
Select whether you want the field to be internal (only displayed in QuickBooks), or public (displayed in QuickBooks and displayed/printed on sales forms).