Defendant appeals from a judgment on the pleadings in favor of plaintiff.
Question Presented
May a claim barred by the statute of limitations at the time plaintiff’s action is filed, nevertheless be pleaded as a counterclaim ?
Record
Plaintiff filed suit on common counts for the sum of $3,850, for goods, wares and merchandise sold and delivered to defendant. Defendant answered, admitting the allegations of the complaint but setting up a counterclaim for trailer rentals in the sum of $40,450. He also cross-complained for the same amount. The court sustained without leave to amend plaintiff’s demurrer to the cross-complaint, granted plaintiff’s motion to strike the cross-complaint and the counterclaim from the answer, and granted plaintiff’s motion for judgment on the pleadings.
Cross-Complaint
Both the counterclaim and cross-complaint were for trailer rental alleged to have accrued between December 1, 1946, and June 15, 1947. This suit was filed July 6, 1949, or a little over two years from the last date. Defendant concedes that the court was correct in striking the cross-complaint for the reason that the matters set up therein are completely foreign to the transaction pleaded in the complaint and hence do not meet the requirements of section 442 of the Code of Civil Procedure which limits cross-complaints to the “contract, *522 transaction, matter, happening or accident upon which the action is brought ’ ’ etc.
Mat Outlawed Claim Be Pleaded in Counterclaim?
Prior to the year 1946 and the case of
Jones
v.
Mortimer,
“There is the matter of the statute of limitation having run on the assessment. Assuming that to be true the assessment is still a proper setoff. It has been held generally or assumed without discussion that a counterclaim in its setoff aspects may be defeated by the defense of the statute of limitation. [Citations.] On the other hand it has been intimated that where claims are compensated under section 440 of the Code of Civil Procedure the statute of limitations is not a bar. [Citation.] But none of these cases, holding the statute to be' a bar, except
Lyon
v.
Petty, supra,
[
This is a fair rule as it provides in effect that plaintiff’s and defendant’s claims, having coexisted in point of time, are deemed compensated to the extent that they equal each other, and the statutes of limitation should not bar the defendant’s right to show that compensation.
*524 Plaintiff attempts to distinguish our case from the Jones ease upon three grounds. The first is that in the Jones case the defendant’s counterclaim did not arise until after the commencement of the action and hence the statute of limitations was not available to plaintiff. While there is that distinction between' the two cases, the reasoning of f^e court, extracts of which are herein set forth, shows that the rule it adopted is not limited as claimed by plaintiff.
The second alleged distinction is that the counterclaim in the Jones ease was a liquidated one while that here is an unliquidated one. We can see no logical difference in applying the rule to the two situations. There is language in 23 Cal.Jur. 254 which seems to support plaintiff’s contention. It is based
solely on.
dicta in the case of
Iowa & C. Land Co.
v.
Temescal Water Co.,
This reasoning is not only artificial but also destructive of the legislative purpose. The language of section 440 is explicit. “AYhen cross-demands have existed between persons under such circumstances that, if one had brought an action against the other, a counterclaim could have been set up, the two demands shall be compensated, so far as they equal each other ...” Section 438 specifies that a counterclaim “must tend to diminish or defeat the plaintiff’s recovery and must exist in favor of a defendant and against a plaintiff between whom a several judgment might be had ...” There
*525
is nothing in either of these sections that requires the cross-demand to be a liquidated one. It is a little difficult to understand the reasoning in the Iowa case where the court in its illustration of A. suing B. on a promissory note, says that B. may counterclaim for unliquidated damages and yet goes on to say that under section 440 such a counterclaim cannot be set up. In
Terry Trading Corp.
v.
Barsky,
Moreover, defendant alleged not only that the amount he was suing for was the reasonable rental" value of the trailers, but also the agreed value. So on the face of the counterclaim it appears that it was a liquidated claim.
Account Stated
The third attempted distinction of plaintiff of the Jones case is that here the plaintiff alleged in one of its causes of action that on June 11, 1948, an account was stated between plaintiff and defendant by which it was determined that defendant was indebted to plaintiff in the sum of $3,850. Defendant’s answer admitted all of the allegations of plaintiff’s complaint including this. Therefore, contends plaintiff, whatever demands defendant had against plaintiff were settled, superseded, and eliminated as cross-demands. But the admission of an account stated does not necessarily mean that cross-demands are included in the statement of the account. Demands arising out of the same transaction are; but here, two separate and distinct transactions are involved. Whether the statement of the account between the parties actually included the cross-demands or another transaction depends upon the circumstances, and is a matter for proof at the trial. It may very well be that the acknowledgment by defendant of the account for goods, wares and merchandise in this ease, in nowise included the transaction concerning the rental of trailers, apparently an entirely different and independent matter. Plaintiff has cited a number of cases to support its contention that an account stated settles all transactions between the parties. An examination of the cases shows that the courts were passing on the effect of the accounts stated after hearing the evidence and determining what transactions were included. In none of them was there a situation where the court was *526 called on to hold that the fact that there was an account stated, as here, for one transaction, included, as a matter of law, and in the absence of proof, a settlement of the cross-demands on a separate, independent transaction.
The court correctly sustained the demurrer to the crbsscomplaint and struck out the cross-complaint, but incorrectly struck out the counterclaim and granted the motion for judgment on the pleadings.
The judgment is reversed.
Peters, P. J., and Wood (Fred B.), J., concurred.
Respondent’s petition for a hearing by the Supreme Court was denied February 26, 1951.
