30.0.1. The council of a municipality may, by by-law, provide for the cases in which it shall pay an advance to a member of the council and establish the rules and the terms and conditions applicable to payment of the advance, as well as the terms and conditions of repayment to the municipality of the portion of the advance that exceeds the reimbursement to which the member is entitled under section 26 or 27.