If the bank does not receive full payment of the car loan and credit card (or any other outstanding pending payment) you won't be able to leave the country.

So as said before PAY and things will flow.

Regards!!