In addition, through Administration -> Ledger links, different ledgers can be chosen for each cash register group, sales type, and possibly VAT rate.
When determining the ledger codes, the system first looks in the ledger links. If no link is specified for a certain combination, the system falls back on the specified ledgers for the cash register group itself.