Please edit the sales invoice >> Click on more options >> Click on edit >> Scroll down >> Select the bank as CASH>>Click on save.