Invoice is linked to wrong account

resolved https://github.com/OCA/banking/issues/62
If I am correct, 'x' is one from the 'move_lines' argument in the call to _match_invoice. These move lines have been selected by accounts that are reconcilable ( ('account_id.reconcile', '=', True) around l.924). This would include clearing accounts, which may not necessarily be payable or receivable. My question to you is, why is your tax account reconcilable?