This setting can be added from the Legal Entity main screen for the relevant entity. Go to the Bank Accounts tab and then open Defaults.
From there, you can add the bank account you want to use for payments, receipts, and invoices, as shown in the screenshot. Once these defaults are set, the chosen bank details will populate on the corresponding customer documents.