In a suit for any debt, the defendant may at the trial prove and have allowed against such debt any payment or setoff which is so described in his plea, or in an account filed therewith, as to give the plaintiff notice of its nature, but not otherwise. Although the claim of the plaintiff be jointly against several persons, and the setoff be of a debt, not to all, but only to a part of them, this section shall extend to such setoff, if it appear that the persons against whom such claim is, stand in the relation of principal and surety, and that the person entitled to the setoff is the principal. And when the defendant is allowed to file and prove an account of setoff to the plaintiff's demand, the plaintiff shall be allowed to file and prove an account of counter setoff, and make such other defense as he might have made had an original action been brought upon such setoff, and, in the issue, the jury or judge shall ascertain the true state of indebtedness between the parties, and judgment shall be rendered accordingly.
Structure West Virginia Code
Chapter 56. Pleading and Practice
§56-5-1. Payment Before Action Is Brought May Be Pleaded
§56-5-2. Payment Into Court After Action Is Brought
§56-5-3. Acceptance of Payment Into Court; Trial of Issue as to Residue
§56-5-4. Setoff Generally; Plea or Account of Setoff; Counter Setoff; Trial
§56-5-5. Special Pleas in the Nature of Pleas of Setoff; Verification
§56-5-6. When Special Plea Bar to Relief in Equity; Nature of Replication
§56-5-7. Application of Article to Voluntary Bonds or Deeds
§56-5-8. Setoff as to Part of Demand; Continuance
§56-5-9. Status of Defendant With Reference to Setoff; Verdict and Judgment