IDB Invest has granted a USD-25-million (EUR 20.6m) subordinated loan to Peruvian bank BanBif to strengthen the lender's capacity to finance green projects and medium-sized businesses in the country.