The Legal Entity Identifier (LEI) code is conceived as a key measure to improve the quality and accuracy of financial data systems for better risk management post the Global Financial Crisis. LEI is a 20-digit unique code to identify parties to financial transactions worldwide.