Ordered that the order is affirmed insofar as appealed from, with costs.
"On a motion to dismiss pursuant to CPLR 3211, the pleading is to be afforded a liberal construction (see, CPLR 3026). We accept the facts as alleged in the complaint as true, accord plaintiffs the benefit of every possible favorable inference, and determine only whether the facts as alleged fit within any cognizable legal theory * * * Under CPLR 3211 (a) (1), a dismissal is warranted only if the documentary evidence submitted conclusively establishes a defense to the asserted claims as a matter of law * * * In assessing a motion under CPLR 3211 (a) (7), however, a court may freely consider affidavits submitted by the plaintiff to remedy any defects in the complaint * * * `the criterion is whether the proponent of the pleading has a cause of action, not whether he has stated one'" (Leon v Martinez, 84 N.Y.2d 83, 87-88). Applying this standard, the plaintiff's complaint (although inartfully pleaded), together with the documents annexed to it, establish cognizable causes of action. Moreover, the documentary evidence submitted by the defendant does not flatly contradict the complaint's factual claims (see, Smuckler v Mercy Coll., 244 A.D.2d 329) or resolve all factual issues as a matter of law and definitively dispose of the plaintiff's claim (see, Unadilla Silo Co. v Ernst & Young, 234 A.D.2d 754).