The city may obtain shortterm loans and must repay such loans not later than December 31 of each year, unless otherwise provided by law.