¶1Appellees, as resident taxpayers, instituted this suit to enjoin appellant Campbell from drawing from appellant hank, and to enjoin appellant bank from paying to Campbell, the sum of $400, which appellees averred had been wrongfully allowed and paid to appellant Campbell by the 1own of Rochester, and by him deposited in appellant hank. *294Appellant Campbell demurred to the complaint. This demurrer was overruled. Campbell then filed an answer, to which appellees demurred, which demurrer was sustained. Appellant bank answered that it had the money which had been received and deposited to Campbell’s credit on December 13, 1905, by a cheek drawn by the town treasurer on December 12, 1905, in favor of Campbell. Appellant Campbell refused to plead further, and a decree was entered enjoining him from drawing or receiving, and the bank from paying to him, said money, and ordering said bank to return the money to the town.
¶2
¶3The complaint is grounded upon the alleged void action of the town board in allowing the claim upon which the money was paid. The bases of this charge are twofold: (1) That the claim was founded upon a void contract, having been made with an officer of the town; (2) that the claim was allowed without its being itemized, verified and filed five days prior to its allowance.
¶4
“Corporation of Rochester, Indiana. To C. C. Campbell, Dr. To legal services in the case of Town of Rochester v. The Rochester Electric Light Company and two cases of Rochester Electric Light, Heat and Power Company v. Town, $400. ’ ’
¶5That thereupon the clerk issued to him a warrant of said town to the treasurer thereof, who in turn gave Campbell a check on appellant bank for the same in said amount; that said money is now on deposit in said bank, subject to the cheek of said Campbell; 'that Campbell has no property subject to execution out of which any judgment for said money can be satisfied, and unless the withdrawal or payment of said sum by or to said Campbell be enjoined the money will be lost to said town. Prayer for injunction and return of the money.
¶6Section 237 of an act concerning municipal corporations (Acts 1905, p. 219, §8891 Burns 1908) reads as follows: “It shall be unlawful for the common council of any city or the board of trustees of any town, or any officer or board of either of such corporations, to allow any claim against such city or town, or to order the issue of any warrant for the payment of money by any such corporation, except at a session of such common council or board, unless expressly authorized by law so to do; and no clerk or other officer of any city or town shall draw any warrant in favor of any person until so ordered and allowed, unless authority so to do is given in this act. No such claim shall be allowed until duly itemized and verified, and filed in the office of the clerk and placed upon the claim docket at least five days before the session at which the claim is to be allowed. It shall be the duty of such clerk to enter such claim upon such docket, when filed, stating the name of the claimant, the amount claimed and for what, and the date of filing. When the *296claim has been acted upon the clerk shall note upon the docket the action taken, and the docket shall at all times be open to any taxpayer for inspection. The clerics of cities and towns shall administer all oaths required by this section free of charge. Any city or town officer who shall violate any of the provisions of this section, and any clerk, city or town attorney, or other officer of any city or town, who shall, directly or indirectly, aid or assist in seeking to recover any claim, or in the prosecution of any action against such city or town, shall, on conviction, be fined not less than $50, and shall be removed from office. ’ ’
¶73. The board of trustees of an incorporated town has only statutory power, and can perform its functions only in the statutory way. Zorn v. Warren-Scharf, etc., Paving Co. (1908), 42 Ind. App. 213, and cases cited; Moss v. Sugar Ridge Tp. (1903), 161 Ind. 417.
¶8
¶9
¶10*297
¶11What we have here said in reference to the complaint disposes of the question raised on the ruling on the demurrer to appellants’ answer, since the answer specifically admitted that the claim was presented and allowed, as averred in the complaint. This being true, the averments of good faith and other extrinsic matters are no defense to the action. The statute we are here considering is a salutary one, enacted for the protection of the public against scheming and unscrupulous officers, as well as a protection to honest officers and employes of a town, by affording means and opportunity for investigating each claim before it is allowed. It was enacted to prevent such hasty action as is here shown. Whether the town owed appellant Campbell the money does not affect the question. He was not entitled to have his claim paid in this way, and, as town attorney, he violated the express provisions of the statute in thus receiving it. Under such circumstances, he has no title to the money thus received, or right to retain it.
¶12Judgment affirmed.