Legal entity identifiers (LEIs) are twenty-character codes that uniquely identify legally distinct entities that engage in financial transactions. First used in derivatives reporting in 2013, regulatory mandates have expanded LEI use to other markets and asset classes.