Three Indonesian companies intend to invest US$500 million in the construction of a phosphate acid factory in Morocco under an investment cooperation agreement with the Middle Eastern country, Indonesia's special envoy to the Middle East Alwi Shihab said.