No action can be maintained against any board of trustees upon any bill not presented for payment to the board of trustees within 6 months of the time when the bill was incurred.