The Kiser Company brought an action against the Holder Company on promissory notes under seal. The defendant in abatement and also in bar pleaded in effect that the plaintiff company was a foreign corporation that had not complied with Chapter 5717, Acts of 1907, and that under said statute the payment of the *314notes could not be enforced. A demurrer to tbe plea in abatement was sustained and tbe demurrer to tbe plea in bar was overruled. On November 25th, 1913, the plaintiff filed replications alleging that the transaction was interstate commerce and not subject to the statute. In February, 1914, the defendant’s attorney accepted service of notice of the filing of the replications. No rejoinder to the replication was filed and on April 11th, 1914, without notice to the defendant the court rendered a default judgment against the defendant “for failure to file rejoinder to the plaintiff’s replication to defendant’s plea,” and final judgment for the plaintiff, including 10 per cent attorney fees provided for in the notes, was rendered by the court.
On writ of error the defendant below contends that the court erred in sustaining the demurrer to the plea in abatement; in entering- a default judgment and in allowing attorney fees in the final judgment.
The demurrer to the plea of non-compliance by the plaintiff foreign corporation with the statute pleaded in abatement was properly sustained since the plea did not aver that the plaintiff company was not doing business in this State when the pleaded statute was enacted, so as to make the statute applicable. The same defect exists in the plea in bar, but a demurrer to the plea in bar was overruled by the court.
A judgment by default operates to deprive a defendant of substantial rights in contesting the liability alleged against him in the plaintiff’s declaration; and such consequences are lawful only when the defaults are duly authorized. In our law the authority to enter default judgments is regulated by statute, though rules of court may prescribe further regulation to make the statutory pro*315visions effective; but such rules should not be inconsistent with the statutes on the subject. See Section 1740 Gen. Stats. 1906.
The statutes authorize the entry of default judgments in law actions “if the defendant shall fail to appear, * * * or shall fail to plead or demur, at the time heretofore provided” thus showing the word “plead” has reference to the plea required by a previous section. Eules of court relative to the entry of default should be construed with reference to the statutory provisions authoriing judgment by default. Thus construed the Circuit Court Eules on the subject do not authorize the entry of a default without notice for failure to file within the term fixed by the rules a rejoinder to a replication that requires an answer, there being no order of the court with reference to filing the rejoinder.
In this case the defendant failed to file its rejoinder as .required not by an order of the court, but by Circuit Court Bule 20, within twenty days after notice of the filing of the plaintiff’s replication, and the statutes and rules do not authorize the rendering of a default judgment for failure to file a rejoinder, at least in the absence of a failure to comply with an order of the court relative to the filing. See Circuit Court Eule 21.
Under the statute i*hen attorney fees are recoverable in a case like this, the reasonableness thereof should be adjudged by the court. See Cooper Grocery Co. v. Citizen’s Bank & Trust Co., 62 Fla. 142, 56 South. Rep. 435; Chapter 5960, Acts of 1909.
As the judgment by default was not authorized by law . the judgment consequent upon such default is erroneous and is reversed.
*316Si-iacklbford, C. J., añd Taylor, Cockrell and Hocker, J. J., concur.