A person doing business in this state and residing outside the state may be summoned upon trustee process by serving the writ upon his clerk or agent having charge of such business, and he may be charged as trustee, as if he were an inhabitant of this state, upon the deposition of such clerk or agent, for any money, goods or chattels of the defendant in his hands or possession in this state or for any rights or credits of the defendant by reason of contracts made or performed within the state.
RSA 512:5
1881, 70:1. 1883, 114:1. PS 245:5. PL 356 :5. RL 412:5.