XML 78 R64.htm IDEA: XBRL DOCUMENT v3.24.0.1
Contingent Liabilities, Commitments and Legal Matters (Details) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Jan. 31, 2024
Jan. 31, 2023
Jan. 31, 2024
Jan. 31, 2023
Jul. 31, 2023
Loss Contingencies [Line Items]          
Standby repurchase obligations amount $ 3,949,915   $ 3,949,915   $ 3,893,048
Term of commitments     18 months    
Repurchase and guarantee reserve balances 15,621   $ 15,621   $ 12,114
Losses on repurchase agreements 2,892 $ 0 6,060 $ 0  
Selling, General and Administrative Expenses          
Loss Contingencies [Line Items]          
Gain (loss) related to litigation settlement $ 4,200 $ 0 $ 14,200 $ 0