The ledger is not mandatory in the account model. Therefore, a ledger type is only used if it points to a ledger code.
For a general and analytical ledger, and for tracked accounts on one or several dimension types, it is possible to dissociate the analytical balance update from the general balance.