The commission shall have full power and authority to require any person, firm, company or corporation, whether resident or nonresident of the city, who may engage in, prosecute, or c;rry on, or who is engaged in prosecuting or carrying on any trade, business, calling, vocation or profession in the corporate limits of the city by themselves, or their agents, to register their names, business, calling, vocation or profession annually, and to require the person, company or corporation to pay for the registration and for license to prosecute, engage in or carry on any business, calling or profession, such amount as the commission may provide by ordinance or resolution. The commission may provide by ordinance or resolution for the punishment of all persons firms ' ' companies, or corporations required by ordinance or resolution to pay such taxes or to take out such licenses for the same, who shall engage in such business, profession or occupation, before paying such taxes, or taking out such licenses, who fail to comply in full with all requirements of such ordinances or resolutions made in reference thereto.