This appeal requires us to consider the relation between two statutes of Illinois. One, the Uniform Commercial Code, adopted in Illinois as in all states, provides that the rights of an assignee of an account debtor “are subject to (a) all the terms of the contract between the account debtor and the assignor ... and (b) any other defense or claim of the account debtor against the assignor which accrues before the account debtor receives notification of the assignment.” UCC § 9-818(1), 810 ILCS 5/9-318(1). (Effective 2001 — too late to affect this case — section 318 was amended and renumbered, becoming UCC § 9-404, 810 ILCS 5/9-404. The language we have quoted was not materially changed, however.) An “account debtor” is basically someone who owes money as a result of a contractual undertaking. UCC 9-105(l)(a), 810 ILCS 5/9-105(l)(a); see
Newcombe v. Sundara,
The other statute, the Illinois Comptroller Act, provides, so far as bears on this case, that whenever the state owes money to someone who owes the state money “the Comptroller may deduct the entire amount due and payable to the State.” 15 ILCS 405/10.05. In other words, the state has a right of setoff. Furthermore, “no sale, transfer or assignment of any claim or demand against the state, or right to a warrant on the treasurer, shall prevent or affect the right of the comptroller to make the deduction and off-set provided in the foregoing section.” 15 ILCS 405/10.06. The potential tension between the Comptroller Act and the UCC lies in the fact that the former purports to create an unqualified right in the state to a setoff against an assignee while the latter makes assignees subject only to the terms of the original contract plus those defenses of the account debtor against the assignor that while they do not arise from the contract do at least accrue before the account debt- or (the assignor’s debtor, the state in this case) learns of the assignment. The state’s defense in this case, namely a tax claim that it seeks to set off against a claim of payment for services to Medicaid recipients, arose after the state received notice of the assignment. But if the right of setoff constituted a term of the assigned contract, the state can enforce the Comptroller Act without violating the UCC. Set-offs — statutory, common law, and explicitly contractual, and whether in favor of government entities or private ones — are com *954 monplace. But Illinois’s statute is unusual in providing that a class of setoffs is not to be affected by assignment.
The facts, at any rate, are simple. (The law is complex and uncertain, as we shall see.) Doctors Hospital assigned its accounts receivables to Daiwa, and the receivables included money owed the hospital by the state under a contract whereby the state had agreed to reimburse the hospital for expenses incurred by the hospital in providing services to Medicaid patients. The contract did not contain a clause authorizing the state to offset, against any amount it owed the hospital, tax or other obligations that the hospital might owe it; had the contract contained such a clause, Daiwa would have no ground for an appeal. See
Commerce Bank, N.A. v. Chrysler Realty Corp.,
Doctors Hospital went broke, and the state moved to lift the automatic stay against creditors’ enforcement actions to the extent necessary to enable the state to set off against the money it owed Daiwa, as the hospital’s assignee, taxes that the hospital owed the state plus a small amount of Medicaid overpayments that the state had made to the hospital. Daiwa acknowledged that the latter setoff (actually “recoupment,” as we’ll see in a moment) was proper, but not the former. The bankruptcy court agreed with Daiwa and denied the state’s motion to lift the automatic stay, but the district court disagreed and allowed the setoff of the state taxes as well,
The state persuaded the district court that the Comptroller Act created an implied term in the contract between the state (an account debtor by virtue of its Medicaid contract with the hospital) and the hospital (the assignor of the accounts receivable arising from the contract) that bound the assignee (Daiwa). If this is right, then there is no inconsistency between the two statutes and we would not have to consider which prevails if they do clash — the UCC because it was adopted in Illinois before the latest version of the Comptroller Act and repeals by implication are said to be disfavored, e.g.,
Posadas v. National City Bank,
Daiwa has, as we have indicated, no quarrel with the state’s deducting from what Daiwa is owed the overpayments that the state made to the hospital. The state never owed the hospital the full amount of the accounts receivables because it had overpaid, and so the full amount was not the hospital’s to assign to Daiwa. Recoupment of that amount merely conformed the assignee’s debt to the express terms of the contract between the account debtor and the assignor.
In re TLC Hospitals, Inc.,
*955
The state does not rely on a common law right of setoff; we’re not sure why. Although we said in another case that common law setoffs “are permitted only when the debts are ‘mutual’, and debts arising at different times out of different circumstances are not mutual,”
Soo Line R.R. v. Escanaba & Lake Superior R.R.,
There is disagreement, however, over whether different agencies of the same state government are one party or more than one party for mutuality purposes; if the latter, the “held by the same parties” requirement of mutuality is not satisfied. Compare
In re Lakeside Community Hospital,
Because the state is not invoking a common law right of setoff and there is no express setoff provision in the Medicaid contract, the state needs the Comptroller Act to have any right to deduct the taxes that the hospital owes it from the money that it owes Daiwa by virtue of the hospital’s assignment of its accounts receivables to the latter.
The district court ruled, as we said, that the Act created an implied term in the contract between Doctors Hospital and the state, binding Daiwa as the assignee of Doctors Hospital’s rights under the contract. “[Statutes are a source of implied contractual terms — the Uniform Commercial Code being the most common such source — -just like common law doctrines, such as the duty of good faith, which in Illinois is read into all contracts.”
Selcke v. New England Ins. Co.,
Still, bearing in mind the objective of the policy against antiassignment clauses, namely the objective of facilitating assignment by protecting assignees against unsuspected obligations of their assignors, one might want to distinguish between a duty (giving rise to a defense) stated in the contract itself, and therefore obvious to the assignee at the time of the assignment, and a duty that could be discovered only by searching the statute books. An analogy might be drawn to the distinction in property law between covenants that do and covenants that do not run with the land. The former are effective against subsequent purchasers but the latter are not unless expressed in the subsequent sale contract.
Spencer’s Case,
77 Eng. Rep. 72, 74 (K.B.1583); see also
U.S. Fidelity & Guarantee Co. v. Old Orchard Plaza Limited Partnership,
These arguments prove too much; they imply that no implied contractual terms are enforceable against assignees, which is false.
Hasse Contracting Co. v. KBK Financial, Inc.,
We are mindful that
Bank of Kansas v. Hutchinson Health Services, Inc.,
Bringing implied terms within the reach of section 318(1)(a) does not make subsection (b) superfluous. A contract party might have a defense that did not arise out of the contract itself and therefore was not subject to subsection (a). Suppose that A and B have two contracts, the first is silent on setoff, there is no applicable statute entitling either party to an offset, and the contracts are not related closely enough for common law setoff to be available. The second contract, however, contains a provision entitling A to set off any debt to B arising from that contract against any debt of B to A arising from the first contract. If B had assigned the first contract to C before making the second one, A which let’s assume is owed money by B on the second contract, could not defend against C on the basis of the setoff clause in the second contract, because C when it took the assignment had no notice of A’s setoff right. A more common example (for we cannot find any cases corresponding to our hypothetical) would be where the second contract modified the first; but that example is the subject of a separate provision of section 318, section 318(2). Perhaps, then, we should have said that bringing implied terms within the reach of *958 section 318(1)(a) does not make subsection (l)(b) completely superfluous.
The state wants to be able to set off taxes and other money owed it against any state debts, and this policy would be compromised if the right of setoff could be defeated by assignment — hence section 10.06 of the Comptroller Act. Without a right of setoff it is unlikely that the state will be able to collect any of the taxes owed it by Doctors Hospital. According to its Chapter 11 petition, Doctor’s Hospital when it declared bankruptcy had total assets of some $24 million and total liabilities of $81 million of which $60 million was secured debt, an amount greatly in excess of the hospital’s assets. So if there is no right of setoff, the state will get nothing. Assignments of accounts receivables are common and would on Daiwa’s approach render state taxes uncollectible in many cases in which an assignor owed money by the state assigns his right to collect the money and then becomes insolvent owing secured debt. The principal effect of ruling for Daiwa might be to induce the state to include explicit setoff rights in its contracts, in which event such a ruling would merely have increased the costs of transacting.
The problem of notice that we mentioned earlier is not a compelling objection to deeming the Comptroller Act to have created an implied term in the contract between the state and the hospital. Daiwa when it took the assignment of that contract knew that it was getting rights against the state, and in the exercise of the normal due diligence for a substantial transaction would have looked up any state laws that might limit those rights — for it is well known that government entities are subject to all sorts of legal restrictions that private contracting parties are not. (One must “turn square corners” in dealing with the government, it used to be said.) A responsible search would have discovered sections 10.05 and 10.06 of the Illinois Comptroller Act and so Daiwa would have learned that the state reserved a right to set off debts against money that it owed to providers of services to the state, such as Doctors Hospital. There are an enormous number of state laws, and it might be unreasonable to expect a person taking an assignment of a contract with the state to determine in advance the possible bearing of all of them. Not that ignorance of law is a defense (usually; there are of course exceptions, such as the one discussed in
Cheek v. United States,
The last case we cited,
Seiche,
concerned an Illinois statute that created a mutual right of setoff between insurance companies. We held, citing Illinois cases, that the statute created an implied term in contracts between such companies. The effect was to give each company what amounted to a secured interest, and that effect is particularly pronounced in the present case, where, assuming as we have held that the Comptroller Act creates an implied term, the account debtor (the state) trumps a secured creditor (the as-signee of the account creditor’s accounts receivables). We do not have the situation in which a statute is so far afield of matters of normal interest to contracting parties that they would not have thought it
*959
would affect the terms of their contract. Cf.
Bank of America, N.A. v. Moglia, supra,
This case is even stronger for reading the statute into the contract than Selcke was, because a decision against the state might precipitate an effort to amend the UCC to create a new defense assertible by the state account debtor against the as-signee. Illinois wants its taxes; but under the approach espoused by Daiwa the only way it can get them from an assignee when the taxpayer-assignor is insolvent is to amend the UCC. Granted, this is something of an overstatement, since the state can include an express setoff clause in all its contracts. But it would be likely to fear slippage — a state enters into thousands of contracts every year and cannot guarantee that its contract officers will always include a particular term. (This is why estoppel rights are so much more limited against public than against private entities.) Any state can amend its statute adopting the UCC, but such amendments are to be discouraged because they undermine the UCC’s goal of nationwide uniformity.
Against this Daiwa argues that if the Comptroller Act is held inapplicable to assignments governed by the UCC, assignees will have the same rights whether their debtor is the state or a private individual. But the uniformity that the UCC seeks to foster is uniformity in the rules governing commercial transactions, not uniformity in the transactions themselves. The parties are free to make their own contract — and the state is free is to tell them that contracts to which it is a party must contain a provision allowing the state to offset taxes or other money due it against any money it owes under the contract. The State of Illinois told its contract parties this by enacting sections 10.05 and 10.06; it is as if every contract with the state contained the setoff provision as part of the contract’s boilerplate.
All this said, we cannot feel utterly confident of the soundness of our ruling when we consider the number of cases that have treated statutory setoff rights in favor of the state under section 318(l)(b) and the fact that very little “work” is left for that subsection to do if such rights are deemed implied terms of every contract made by the state. Prudence therefore moves us to consider whether, if we are wrong in the
*960
analysis to this point, the state might nevertheless prevail, on the theory that the Comptroller Act, to the extent inconsistent with the UCC (as it would be if the Act creates an absolute right of setoff in favor of the state against assignees and the UCC a right only if the obligation giving rise to the setoff arises before notice of the assignment), takes precedence. The parties ground their arguments on which statute takes precedence on the principle of statutory interpretation that repeals by implication are disfavored. Like so many of the familiar “canons” of statutory interpretation, however, this one is shaky. If two statutes conflict, why would the legislature that enacted the second want the first— the handiwork of an earlier legislature with doubtless many different members from the later legislature — to take precedence? Criticizing the canon in
Edwards v. United States,
But maybe the real justification for the canon has nothing to do with trying to reconstruct legislators’ intentions. Maybe it is just intended to limit judicial discretion.
Friedrich v. City of Chicago,
Deprived of that crutch, we nevertheless think it reasonably clear that the Illinois legislature did mean the Comptroller Act to trump the UCC in a case such as this. The main significance of setoff is found in cases of insolvency; if the obligor is solvent, it usually will not make a critical difference whether the obligee recovers from him by way of setoff or in an independent suit. Setoff rights mainly operate to create priorities in bankruptcy. It is apparent from the emphatic language of section 10.06 (“no sale, transfer or assignment of any claim or demand against the state, or right to a warrant on the treasurer, shall prevent or affect the right of the comptroller to make the deduction and offset provided in the foregoing section”) that the Illinois legislature meant to give the state priority over assignees of state contracts in the event of bankruptcy. That specific intention overrides the provisions of the UCC, which give no special weight to the interests of the state.
Knolls Condominium Ass’n v. Harms,
AFFIRMED.
