The commission shall allow credit to any wholesaler for tax paid under section 53-160 (1) for beer shipped out of this state for sale and consumption outside of the state or (2) for beer returned to the manufacturer for credit, substitution, or replacement, and such credit shall be allowed whether such beer is a part of the original inventory of such wholesaler or returned to such wholesaler by a licensee authorized to purchase beer from a wholesaler.