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