tax legality