A person who, under the provisions of this Act, pays any tax for or on behalf of another person is entitled to recover the amount so paid from the other person as a debt, together with the costs of recovery, or to retain or deduct that amount out of any money in the person's hands belonging or payable to the other person.