The prothonotaries of the courts of common pleas and of the district courts, and the court of nisi prius of this Commonwealth, shall demand and receive on every original writ issued out of said courts (except the writ of habeas corpus,) on the filing of every complaint by which an action is started, and on the entry of every amicable action, the sum of fifty cents; on every writ of certiorari issued to remove the proceedings of a justice or justices of the peace or aldermen, the sum of fifty cents; on every entry of a judgment by confession or otherwise, where suit has not been previously commenced, the sum of fifty cents; and on every transcript of a judgment of a justice of the peace or alderman, the sum of twenty-five cents.
72 P.S. § 3172