Probably because
you are marking the
invoice as paid
before the bank feed pulls
the relevant transaction
in
Should really have some lock on bank accounts with active feeds. Glenn thought it was a good idea a few years ago and that seems to have been the end of that.