Corporations and nonprofits are a state regulated thing. The IRS only gets involved to approve whether donations are federally tax deductible and things like that, which apply to federal tax laws only.