BAGHDAD — The Iraqi federal government and the Kurdish regional government in northern Iraq have reached an agreement Thursday over longstanding oil and budget disputes that for months have created a rift between the two sides. The government in Irbil, the capital of the semi-autonomous Kurdish region, agreed to sell 150,000 barrels of oil per day to the federal government in return for a one-time payment of $500 million, the Kurdish government said in a statement on its official website. Earlier this year, Baghdad cut the 17 percent of the state budget that is supposed to go to the Kurdish region — which in 2013 totaled about $12 billion, according to Minister of Finance Hoshyar Zebari. The central government withheld the funds after the Kurds began transporting oil from fields inside the autonomous zone to Turkey against Baghdad’s wishes. — AP