In the #9 PR, we are checking the bank record's availability from the purchase invoice/order.
If the user makes a record manually, the check isn't there. A validation in the validate of the Outward Bank Payment seems necessary.
What do you think, @l0gesh29 ?