Subject to the provisions of § 6A-8-317, whenever any banking association or incorporated company shall be served with a copy of a writ attaching its stock or shares, if a bank, its cashier, if an insurance company, its president or secretary, and if any other corporation, its treasurer or the person executing the duties of treasurer, shall render an account upon oath to the court to which the writ shall be returnable, of what stock or shares the defendant had in the company at the time of the serving of the writ, except as provided in § 6A-4-303. The account shall be filed, in any district court, within ten (10) days after the service of the writ. The account shall be filed, in any other court, within twenty (20) days after the service of the writ.
R.I. Gen. Laws § 10-5-20