The Islamic Development Bank IDB has agreed to extend a loan worth US$40 million to finance the operation of state paper firm PT Kertas Kraft Aceh.