A franchise tax is levied on domestic and foreign corporations, associations, joint stock companies, trust, and any other organization which has capital stock represented by shares and enjoys corporate powers, rights, and privileges under the laws of North Carolina.