No such tax shall be imposed on a nonresident of such municipality or on account of any sale or transaction by or with a nonresident of such municipality, except when imposed without discrimination as between residents and nonresidents on account of tangible property actually located in such municipality, or service actually rendered in such municipality or on account of transfers, retail sales or other transactions actually made or consummated within such municipality by a nonresident while within such municipality.
N.J.S. § 40:48-8.24