A sales invoice is not a transaction. Receipts need to be assigned to settle the accounts receivable of the sales invoice. Also receipts should be used for direct sales. Receipts require entry (selection) of a Bank account.
As for not wanting to add customers if their details are not important create a “walk-in” customer in Customers and make that customer a form default.