This action was commenced by the respondent as the indorsee of a promissory note made and executed by the appellant-in the following form:
$900.00 No. 0187.
“Cambridge, Idaho, May 8,1903.
“Six months after date, for value received, I, we, or either ■;of us jointly and severally promise to pay to the order of Uinta Hereford Cattle Company the sum of nine hundred dollars, with interest at the rate of ten per centum per annum from date until paid.
“Payable at the office of the People’s Bank, Salubria, .'Idaho.
. “Should this note be collected by suit, ten per cent shall .be allowed holder as attorney fee. The sureties, guarantors, and endorsers of this note severally waive presentation for payment, protest and notice of protest. No extension of time of payment with or without our knowledge by the receipt of interest or otherwise shall release us or either of us from the obligation of payment.
“J. H. BOLAN.”
The plaintiff alleged that it was a bona fide purchaser of this note for value before maturity and received it in the due •and ordinary course of business. Defendant answered, admitting the execution and delivery of the note, but denied that the plaintiff was a bona fide purchaser of the note for -value and in the due course of business. He alleged as a defense to the action, that the note was executed in payment for •certain livestock purchased by him from the payee of the note, the Uinta Hereford Cattle Company, and that the stock -purchased were not up to the guaranty furnished him by the .company at the time of the sale: and he thereupon claimed *91-damages in the sum of $1,000. He also alleged that the Uinta Hereford Cattle Company was a foreign corporation organized and existing under the laws of the state of Nebraska, and that it was on the date of the execution of the note, and had been for a long time previous thereto, doing business in the state of Idaho, and that it had failed and neglected to comply with the laws of this state in filing certified copies of its arti-lles of incorporation and the designation of an agent upon whom process could be served, and that it never at any time made any designation of an agent in any county of this state upon whom process might be served. Other matters were pleaded in defense and as counterclaims to plaintiff’s cause of action.
On motion of the plaintiff, the court struck from defendant’s answer.all the allegations with reference to the Uinta Hereford Cattle Company being a foreign corporation and failing and neglecting to comply with the laws of this state in •designating an agent upon whom service of process might be made and filing a certified copy of its articles of incorporation. Defendant took an exception to the ruling of the court nnd assigns the same as error.
After the plaintiff had submitted its proofs at the trial, the defendant moved for a nonsuit upon the grounds, among -other things, that it appeared from the evidence introduced •by the plaintiff that the Uinta Hereford Cattle Company was -a foreign corporation organized under the laws of the state -of Nebraska, and that the plaintiff'had failed to prove that .such corporation had complied with section 10 of article 11 •of the constitution of the state of Idaho, and the act of the legislature in reference to foreign corporations doing business in this state. The motion was denied by the court, where-mpon the defendant asked leave to file an amended answer •again setting up the facts as to the Uinta Hereford Cattle •Company being a foreign corporation doing business within this state, and having failed and neglected to comply with the constitution and statutes in reference to foreign corpora'tions doing business within the state. Thereupon defendant •offered to pay the actual costs that had been incurred in the vease, in the event it became necessary for a continuance over *92the term on account of such amendment. The motion and application was denied by the court, and the defendant excepted and assigns the action of the court as error on this appeal.
It was clearly error on the part of the court to sustain plaintiff’s motion and strike from defendant’s answer that part of bis defense setting up the failure of the Uinta Hereford Cattle Company to comply with the constitution and statutes of this state in the designation of an agent on whom process could be served and filing its articles of incorporation. He had an undoubted right to interpose such a defense. (Katz v. Herrick, 12 Ida. 1, 86 Pac. 873; Valley Lumber Co. v. Driessel, 13 Ida. 662, 93 Pac. 765; Valley Lumber Co. v. Nickerson, 13 Ida. 682, 93 Pac. 24.) It was also an abuse of discretion on the part of the court, after it had erroneously granted the motion to strike this defense from defendant’s answer, to deny the defendant’s motion and application to amend his answer setting up this defense.
On the trial of this case, the most important and decisive question that arose was that as to whether the plaintiff, Union Stock Yards National Bank of South Omaha, was a bona fide purchaser for value in due course of business, within the meaning of the law so as to preclude the defendant from setting up equities that existed between him and the Uinta Hereford Cattle Company, the payee named in the note. The test to be applied, therefore, in this case is: Was the note sued on a negotiable instrument within the meaning of the statute of this state defining and governing such instruments? (Sess. Laws 1903, p. 380.) We may note in passing that the uniform negotiable instrument law is in substance merely a codification of the law-merchant on the subject. Appellant contends that since the note sued on contained an express waiver on the part of the sureties, guarantors, indorsers and maker of any and all rights of defense on account of extensions of time of payment of the note, it thereby rendered the note nonnegotiable. Subdivision 3 of section 1 of the negotiable instrument law requires that an instrument in order to be negotiable “must be payable on demand or at a fixed or determinable future time.” Section 4 of the act provides as follows:
*93“An instrument is payable at a determinable future time, within the meaning of this act, which is expressed to be payable: First, at a fixed rate period after date or sight; or, second, on or before a fixed or determinable future time specified therein, or third, on or at a fixed period after the occurrence of a specified event, which is certain to happen, though the time of happening be uncertain. An instrument payable upon a- contingency is not negotiable, and the happening of the event does not cure the defect.”
Sec. 184 of the act defines a negotiable promissory note and, among other, requisites, provides that it must engage “to pay on demand or* at a fixed or determinable future time a sum certain in money, to order or to bearer.” The note sued on in this case cannot be said to comply with these provisions of the statute. Its closing sentence provides that “No extension of time of payment, with or without our knowledge, by the receipt of interest or otherwise, shall release us or either of us from the obligation of payment.” This is an express contract to the effect that the time of payment may be extended to any one or all of the sureties, guarantors, indorsers or makers of the note without notice to all or any one of them. This undoubtedly renders the note non-negotiable under all the authorities that have been brought to our attention on the subject. By sec. 52 of the act (Sess. Laws, 1903, 389), in order to establish that-one is “a holder in due course” of commercial paper, the instrument must be “complete and regular upon its face.”
In Matchett v. Anderson Foundry & Machine Works, 29 Ind. App. 207, 94 Am. St. Rep. 272, 64 N. E. 229, the note provided that “The drawers and indorsers severally waive presentment for payment, protest, and notice of protest, and on payment of this note, and all defenses on the ground of any extension of the time of its payment that may be given by the holder or holders to them or either of them.” In that ease, the Indiana court of appeals held that the note was nonnegotiable and was subject to defense on all the equities that the maker held against the payee. It will be noticed by comparison that the stipulation contained in that note is almost *94identical with the stipulation in the note at bar, and was tO' the same effect as the one here.
For other cases in point, see Smith v. Van Blarcom, 45 Mich. 371, 8 N. W. 90; Citizens’ National Bank v. Piollet, 126 Pa. St. 194, 12 Am. St. Rep. 860, 7 Atl. 603, 4 L. R. A. 190; Miller v. Poage, 56 Iowa, 96, 41 Am. Rep. 82, 8 N. W. 799; Woodbury v. Roberts, 59 Iowa, 349, 44 Am. Rep. 685, 13 N. W. 312; Glidden v. Henry, 104 Ind. 278, 54 Am. Rep. 316, 1 N. E. 369; Mitchell v. St. Mary, 148 Ind. 111, 47 N. E. 224; Second Nat. Bank v. Wheeler, 75 Mich. 546, 42 N. W. 963.
The note is non-negotiable and the indorsee holds it subject to all the equities, counterclaims and defenses that existed between the maker, Bolán, and the payee, Uinta Hereford Cattle Company. (Eaton & Gilbert on Commercial Paper, sec. 71, p. 354, and cases cited; 2 Am. & Eng. Ency of Law, 2d ed., 253.) As to the sufficiency or merit of the defense set up on the alleged guaranty of the livestock and damages claimed, we express no opinion, as that question is not properly before us.
The conclusion we have reached on the foregoing questions renders it unnecessary for us to consider or pass upon any of the other assignments of error presented on this appeal. The judgment must be reversed, and it-is so ordered, and the cause is remanded to the district court, with direction to permit the parties to amend their pleadings if they so desire, and to grant them a new trial. Costs awarded in favor of appellant.
Sullivan, J., and Stewart, <7., concur.