delivered the opinion of the court:
After a bench trial, defendant appeals the entry of a judgment against her for $5,700 in this breach of contract action. She contends that the contract was unenforceable because plaintiff failed to obtain a required permit for electrical work from the City of Chicago (City).
The contract, which was for building and electrical work in defendant’s home, required the redecoration of the kitchen, the installation of windows, and the delivery and installation of electrical appliances with a wiring system to support the operation of the appliances. Plaintiff retained a subcontractor to do the electrical work at a cost of $221. Defendant complained to plaintiff that the appliances did not work and that the electrical system had been improperly installed.
Joseph Lavine, president of plaintiff, testified that all the work was completed, including the installation of the electrical system, but that defendant refused to sign a completion certificate for the work. He admitted that an electrical permit required for the work was not obtained.
Defendant’s answer generally denied that plaintiff had performed the contract and, at trial, she argued inter alia that plaintiff could not enforce the contract bécause it was in violation of City ordinance. It appears that at the close of plaintiff’s case and at the close of all the evidence, defendant moved for directed judgments, contending that plaintiff did not meet its burden of proving performance under the contract because of its failure to obtain the electrical permit required for the work. The trial court denied the motions and eventually entered judgment for the contract price of $5,700. This appeal followed:
Opinion
The sole issue before us is whether the contract in question was unenforceable because the necessary electrical permit was not obtained. Defendant relies on various provisions of the City’s electrical regulations (the ordinance), particularly section 27 of chapter 86 (Municipal Code of the City of Chicago, ch. 86, par. 27 (1977)), which provides in pertinent part:
“No electrical equipment shall be installed or altered except upon a permit first issued by the bureau of electrical inspection authorizing the installation, alteration, or repair of electrical equipment.
(a) Where an electrical installation has been started prior to the issuance of a permit for such work, the normal permit fee as required by this code shall be increased by the amount of fifteen dollars ($15.00).
(b) Where a registered electrical contractor is found doing electrical work without a permit on three separate occasions in one calendar year, a hearing shall be held by the Chief Electrical Inspector at which time the permit privileges of said electrical contractor may be suspended for a period of time not to exceed one year.”
In addition, section 28 of chapter 86 (Municipal Code of the City of Chicago, ch. 86, par. 28 (1977)), requiring the registration of electrical contractors, provides in relevant part:
“The bureau of electrical inspection shall issue permits for such installation and alteration of electrical equipment in all cases where application for such permit shall be made ° ” provided, however, that no permit shall be issued for installing or altering by contract, electrical equipment, unless the person applying for such permit is registered as an electrical contractor * °
From our examination of the relevant provisions of the Municipal Code, we believe that none expressly prohibits the enforceability of contracts for failure to secure a required permit. See Municipal Code of the City of Chicago, ch. 86, pars. 27-31 (1977).
Where applicable, a municipal ordinance enters into and forms a part of a contract by operation of law. (Brooks v. Village of Wilmette (1979),
The general rule which guides this conclusion was stated in Meissner v. Caravello (1955),
“ ‘[UJnless a bargain necessarily contemplates an illegal act, it is not unenforceable, and if it is later performed in a way that involves some slight violation of law, not seriously injurious to the public order, the person performing may recover on his bargain. This principle may be stated more broadly: “Where a bargain does not in terms necessarily involve a violation of law, the fact that plaintiff performs it in a way not allowed by law, does not preclude recovery, if not seriously injurious to the public order.”
This rule has been invoked or implicitly applied in a variety of factual settings.
In Meissner v. Caravello, for example, defendants contended that plaintiff’s failure to obtain a building permit as required by Chicago ordinances before beginning masonry work .made the contract for the work illegal and consequently barred plaintiff from enforcing its claim for a mechanic’s lien. The ordinances prohibited work on any building for which a permit was required unless such permit was first obtained and further provided that under such circumstances work would be stopped and penalties imposed. Finding that the ordinance contained no prohibitory language precluding recovery on the contract, the court construed the ordinances not as barring recovery for the failure to obtain a permit but rather as providing penalties for violations. The court noted in addition that the failure to issue a permit was an oversight; that the public welfare which the ordinances were designed to protect was not injured and that the building commissioner appeared satisfied that the improvements were made in compliance with the law.
In Amoco Oil Co. v. Toppert (1978),
Similarly, in South Center Plumbing & Heating Supply Co. v. Charles (1968),
In contrast to the foregoing line of cases are those appearing in a variety of contexts which stand for the proposition that a statute which declares an act to be illegal and imposes a penalty for its violation renders contracts for the performance of such act void and unenforceable. (Broverman v. City of Taylorville (1978),
In American Buyers Club of Mt. Vernon, Illinois, Inc. v. Grayling (1977),
Cases involving the unenforceability of contracts in violation of licensing statutes afford additional guidance. In Lozoff v. Shore Heights, Ltd. (1977),
In Tovar v. Paxton Community Memorial Hospital (1975),
Finally, in Usher v. McGowan (1958),
The ordinance upon which plaintiff relies herein requires that an electrical permit be obtained before the installation or alteration of electrical equipment. It seems clear that the purpose of such requirement is to ensure public safety against the hazards of faulty or improperly performed electrical work. (See Municipal Code of the City of Chicago, ch. 86, pars. 29-31 (1979).) The ordinance does not, however, expressly or implicitly prohibit the enforcement of contracts entered into without such a permit. The penalty provisions contained therein pertain only to the failure to obtain a permit and not to contracts for the performance of any act declared to be illegal or prohibited by statutory language. Furthermore, the registration requirement for electrical contractors does not limit the payment for services only to those who obtain a permit, and we fail to see how such a construction is warranted here.
We note also that plaintiff alleged performance of all its contractual obligations — including compliance with the ordinance — and that defendant denied this in her answer. Thus, the burden of proving such compliance was upon plaintiff. Defendant does not contend here that this burden was not met or that the trial court improperly denied her motions for directed judgment. She testified that, after installation by plaintiff, “none of the electrical set-ups were working”; that certain of the appliances covered by the contract did not work; and that an under-cabinet installed by plaintiff was defective. Defendant did not establish at trial, however, that the electrical work failed to satisfy City standards or that the purportedly inferior quality of the work impermissibly endangered the public welfare. (Cf. Archibald v. Board of Education (1959),
We note, parenthetically, that the cost of the electrical work was only $221 of the $5,700 contract price and that defendant fails to explain why the entire contract should be unenforceable on the basis of an asserted breach for that amount.
For the reasons stated, we hold that the contract before us was enforceable and, therefore, the judgment of the trial court is affirmed.
Affirmed.
LORENZ and WILSON, JJ., concur.
