The Department of Revenue shall exercise the following powers and perform the following duties, heretofore exercised and performed by the Auditor General, in connection with the collection of transfer inheritance taxes on transfers from estates of nonresident decedents:
Any person not satisfied with such appraisement shall have the right, at any time thereafter, to pay the full amount of the tax assessed thereon or any part thereof, without prejudice to his right to file and prosecute an appeal therefrom: Provided, That such payment shall be accompanied with a protest that the whole or any designated part thereof is not justly and legally due, and with the payment of such interest, if any, as may then be due upon the principal sum paid. Whenever the whole or any part of such tax shall have been so paid under protest before the filing of an appeal, the appellant shall be required to give security only for the payment of all costs, and such additional tax as shall be fixed by the court.
Whenever the amount of tax, determined by the final judgment entered upon any such appeal, shall be less than the principal sum paid under protest, the Department of Revenue shall enter a credit in the amount of such difference to the account of the appellant. Such credit may be used by the appellant in payment of any other tax claim or charge which may be due or become due from him to the Commonwealth, and if all such charges have been fully paid, any remaining credit may be assigned to any other person, association, or corporation; and such assignee may use it in payment of any such obligation to the Commonwealth;
72 P.S. § 1202