A tax direction must be specified on an operation account when you post tax related transactions in ledger journals, sales, ...