An occupation tax shall not apply to the gross receipts of any part of a business where such levy is prohibited or exempted by federal or state law.