The tax code legislation must be consistent with the legislation entered in the Company legislation field. It must either be empty or identical.