The selectmen in a town or in a city such board or officer as may be designated by ordinance, may, under such conditions as they may deem proper, grant to any organization engaged in charitable work or to a post of any incorporated organization of veterans who served in the military or naval service of the United States in time of war or insurrection a special license authorizing it, for a particular time period not to exceed a total of four days to be stated in such license, and for a charitable purpose stated in such license, to conduct under their control a temporary or transient business in which transient vendors participating in such sales shall not be subject to the provisions of sections three to twelve, inclusive. Cities and towns may regulate such sales by ordinance, by-law or by local rules and regulations as may be made in a city by the mayor and city council and in a town by the selectmen. The exercise of the licenses hereby provided for shall be subject to the provisions of all statutes, ordinances, by-laws, rules and regulations not inconsistent herewith.
Mass. Gen. Laws ch. 101, § 12A