A general ledger (GL) is a set of master records and transactions recorded and a sub-ledger(SL) is the intermediary set of accounts connected to the general ledger.