The two leaders also signed an accord that calls for Spain 's Repsol oil company to invest in Venezuela .