as hereinafter set forth, be credited to and allowed as a deduction from the liability of such person for any other tax on salaries, wages, commissions, other compensation or net profits of businesses, professions or other activities imposed by any political subdivision of this Commonwealth under the authority of this chapter.