This paper investigates how external shocks (such as sudden-stops and shocks in terms of trade) affected the Brazilian economy. Therefore we propose a simple theoretical model of cash-in-advance with financial frictions. The model is estimated for the Brazilian economy and the implications for monetary policy are analyzed.