It shall be the duty of the treasurer of each county, incorporated city, district and borough of this commonwealth, on the payment of any dividend or interest, to any holder or agent claiming the same, on any scrip, bond or certificate of indebtedness issued by said incorporated city, district and borough aforesaid, to assess the tax herein made and provided for state purposes, upon the nominal value of each and every said evidence of debt; said tax to be deducted by the said treasurer, on the payment of any interest or dividend aforesaid, and the same shall be held by him, until paid over to the state treasurer; and the said treasurers shall be subject to the same penalties and liabilities now prescribed by existing laws in relation to taxes on bank dividends.
72 P.S. § 2144