Hi,
Please go to FTXP and enter the reporting country and enter teh Tax code .
Here make sure that one of the entry either in Input or Output tax code is highlighted in BLUE and you have have maintain Tax rate .
if line is not hihlighted in BLUE that's means tax code is not active and system gives you this error even you have define .