Bolivia has agreed to pay 31.7 million dollars to British electric utility Rurelec as compensation for the 2010 nationalization of its controlling stake in power producer Empresa Electrica Guaracachi, 10 million less than the amount determined by an arbitration tribunal, the Attorney General's Office said.