An occupation tax shall not apply to employees of any part of a business when such levy is prohibited or exempted by the laws of the state or of the United States.