Starting 2022.1, You can exclude any invoice and credit memo from electronic payments processing by checking the Exclude from Electronic Bank Payments Processing box. This box is available on invoices, credit memos, and sales order records.
Invoice:

Sales order:

Credit memo :
