when it comes to assess the sustainability of fiscal policy and public debt in andean countries, two idiosyncratic facts of fiscal revenues have to be considered. first, fiscal revenues coming from natural resources represent up to 44% of total fiscal revenues, producing a strong correlation between terms of trade and the overall fiscal balance, ranging from 0.79 in ecuador to 0.90 in peru. second, in most of andean countries, it is the sovereign who exploits the natural resource by its own and who extends transfers to the private sector according to the results of that exploitation. under these conditions, terms-of-trade shocks that could threaten the sustainability of a prevailing fiscal policy affect the fiscal balance through both direct and indirect mechanisms. a highly useful tool to discern the final effect of these and other shocks on the sustainability of fiscal policy is a general equilibrium model. this paper offers such a tool which is proven to be an appropriate resourc...