(CNN) -- Negotiating teams from Sudan and South Sudan have agreed to end a dispute on oil payments to allow the resumption of southern oil exports through Sudan's territories, Sudan's state-run Ashorooq TV reported early Saturday, citing official sources.
The negotiating teams met in Addis Ababa, Ethiopia, with the head of the African Union, the state-run TV station said. Both countries still have to discuss when to resume southern oil exports through the north.
Sudan's economy has suffered since the separation of South Sudan last year, which took with it nearly 75% of the country's oil wealth. While most of the oil wells are in the south, the pipelines and port to export the oil are in the north.
The agreement covers how much the landlocked South Sudan will pay to use those facilities.
South Sudan halted oil production in late January after accusing Sudan of stealing $815 million worth of its crude. Sudan said it had confiscated the oil to make up for unpaid fees.
The negotiating teams agreed that Sudan will receive $25.80 per barrel that passes through pipelines from the south to the north as an export tax and refining cost, Ashorooq TV reported. The teams are expected to meet later Saturday to discuss territorial disputes.
Border clashes have brought the countries to the brink of war and left South Sudan coping with a massive humanitarian crisis as people flee the fighting.
The South Sudan state of Upper Nile has been flooded with refugees crossing the border from Sudan. In total, aid agencies estimate that at least 150,000 refugees from Sudan are currently in South Sudan.
Regarding two areas in the Blue Nile and Nubia, the government of Sudan and the Sudan People's Liberation Movement-North, a rebel force in the border region, agreed to a partial cease-fire so humanitarian aid could reach victims of hostilities, the state-run TV station said.