Rabat- Morocco earned 17.55 billion dirhams from phosphate export in the first half of this year, according to the Foreign Exchange Office (FEO).