SAP Message CA_TTE598 - Tax code &1 of tax code value with country &2 is invalid

Procedure
Go to the Input Document.
Choose the tabscript Tax Code Values.
Enter a tax code in the relevant Tax Code Value.