Iran and credit insurance company Euler Hermes have agreed on opening a credit line worth $5 billion which will be paid in two or three years, Iranian Deputy Minister of Economy Mohammad Khazaei said.