When a bond or interest coupon payable from funds in the custody of the treasurer of a local agency is presented to him for payment and is not paid for want of funds, he shall endorse upon it “Not paid for want of funds,” the date of presentation, and a serial number indicating the order of presentation, and shall sign or stamp his name thereon.