Why does the tax code have a g/l account?

Tax codes require a general ledger (g/l) account to specify how taxes should be recorded in the general ledger when invoices or credit memos are posted. This is a liability account. The account will be credited when Invoices are posted and debited when credit memos are posted.