delivered the opinion of the court.
The York Manufacturing Company, a Pennsylvania corporation, sued for the amount due upon a contract for the purchase-of ice manufacturing machinery and to foreclose a lien upon the same. By answer the defendants alleged that the plaintiff was a foreign corporation, that *22 it maintained an office and transacted business in Texas without having obtained a permit therefor and was hence under Texas statutes not authorized to prosecute the suit in the courts of the State, aád a dismissal was prayed. In reply the plaintiff averred that the contract sued on was interstate commerce and that the state statute if held to apply was repugnant to the commerce clause of the Constitution of the United States. At the trial at was shown without dispute that the contract covered an ice plant guaranteed to produce'threp tons of ice a day, consisting of gas compression pumps, a compressor, ammonia condensers, freezing tank and cans,, evaporating coils, a brine agitator and other machinery and accessories including apparatus for utilizing exhaust steam for making distilled water for filling the ice cans. These parts of machinery, it was provided, were to be shipped from Pennsylvania to the point of delivery in Texas and were there to be erected and connected. This work, it was stipulated, was to be done under the supervision of an engineer to be sent by the York Manufacturing Company for whose services a fixed per diem charge of $6.00 was to be paid by the purchasers and who should have the assistance of mechanics furnished by the purchasers, the supervision to include not only the erection but the submitting of the machinery to a practical test in operation before the obligation to finally receive it would arise. It was moreover undisputed that these provisions were carried out, that about three weeks were consumed in erecting the machinery and about a week in practically testing it, when after a demonstration of its successful oDeration.it was accepted by the purchasers.
The trial court, not doubting that the contract, of sale was interstate commerce, nevertheless concluding that the stipulation as to supervision by an engineer to be sent by the seller was intrastate commerce and wholly separable from the interstate transaction, held that the seller by car *23 rying out that provision had engaged in local business in the State and as the permit required by the state statutes had not been secured, gave effect to the statutes and dismissed the suit. The case is here to review the action of the court below sustaining such conclusion, its judgment being that of the court of last resort of the State in conse-’ quence of the refusal of the Supreme Court of the State to allow a writ of error.
Referring to a previous ruling
(Leschen & Sons Rope Co.
v.
Moser,
But we are of opinion this decision was erroneous whether it be examined from the point of view of what was assumed to be the controlling effect of the ruling in the Waycross Case or whether it be tested by the elementary doctrines as' to what constitutes interstate commerce. In the first place the Waycross Case concerned merely the right of the City of Waycross to collect a charge against a person who was carrying on a business of erecting lightning rods as the agent of one who had sold the rods in another State and shipped them to Waycross' under an *24 agreement after their arrival to erect them. ’The. case turned exclusively upon the nature and character of the business of erecting lightning rods and the relevant-or appropriate. relation to interstate commerce óf a stipulation in an interstate contract of sale of such rods providing for their erection when delivery under the sale was made. As it was determined' that the business of erecting lightning' rods bore m> relevant or appropriate relation to the contract made for the sale of such rods, it was decided that the contract for thé erection of the rods did not lose its . local character simply because it was made a part of an interstate- commerce contract for the sale of the rods any r more than would a contract for materials with which to' build a house cause the building of the house to be a transaction of interstate commerce and not local business. But the broad distinction which is established by the statement just made between, what was decided in the Way--, cross Case and the question here presented does not rest alone upon the implication resulting from what was under consideration in that case but moreover expressly results from the fact that in the Waycross Case through abundance of precaution attention was directed to the fact that the ruling there made was not. controlling as to a casé where-the service tó be done in a. State as the result of an interstate commerce sale was essentially connected with the subject-matter of the sale, that is, might be made to appropriately inhere in the duty of performance.. 233 TJ. S. p. 23.
As, in the second place, since the ruling in
McCulloch
v.
Maryland,
Of course we are concerned only with the. case before
*26
us, that is, with a contract inherently relating to and intrinsically dealing with the thing sold, the machinery and all its parts constituting the ice plant. This view must be borne in mind in order to make it clear that what is here said does not concern the subject passed on in
General Railway Signal Co.
v.
Virginia,
It follows therefore that the judgment must be and it is reversed and the case remanded to the court below for further proceedings not inconsistent with this opinion.
And it is so ordered.
