/uli

Universal Loan Identifier (ULI) validation and check digit generation

Primary LanguageRustMIT LicenseMIT

uli

Universal Loan Identifier (ULI) validation and check digit generation for the Home Mortgage Disclosure Act (HMDA). Procedure for generating and validating described here

Installing

If you have a rust development environment, from the root directory of the project:

cargo build --release
cargo install --path .

If you are on Mac OS X:

brew tap jmarin/uli
brew install jmarin/uli/uli

Using

To validate a ULI:

uli --validate 10Bx939c5543TqA1144M999143X38

The output of this command should be ULI 10Bx939c5543TqA1144M999143X38 is valid

To generate a check digit (COMING SOON):

uli --check-digit <loan_id>