The Iraqi federal government in Baghdad has reached an agreement with officials of the Kurdistan Regional Government on the distribution of oil revenues, solving only part of their differences over Iraq's draft oil and gas law, a senior central government official said Thursday.