XML 65 R53.htm IDEA: XBRL DOCUMENT v3.7.0.1
Contingent Liabilities, Commitments and Legal Matters - Additional Information (Detail) - USD ($)
$ in Thousands
6 Months Ended
Jan. 31, 2017
Jul. 31, 2016
Commitments and Contingencies Disclosure [Abstract]    
Standby Repurchase Obligations Amount $ 2,378,641 $ 1,898,307
Term of Commitments Up to eighteen months  
Repurchase and guarantee reserve balances $ 7,120 $ 6,068