A little trick I learned from here on BOL:
Purpose codes:
1 = Home Purchase
2 = Home Improvement
3 = Refinancing
For multiple purpose loans, whatever purpose is first in the order is how the the loan is reported. Therefore a purpose of home purchase is always the #1 reporting purpose, HI #2, and refinancing #3. Hope this helps.
_________________________
The opinions expressed are mine and they are not to be taken as legal advice.