Any person who shall knowingly make any false affidavit or certificate in connection with the ordering or procuring of a license to carry on any business or do anything in this state for which a license is required shall be guilty of a misdemeanor and, upon conviction, when the offense is not otherwise specifically provided for, shall be fined not less than $100 nor more than $1,000 and, at the discretion of the court, may be sentenced to hard labor for the county not to exceed six months as additional punishment.