XML 77 R65.htm IDEA: XBRL DOCUMENT v3.24.1.1.u2
Contingent Liabilities, Commitments and Legal Matters (Details) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
Apr. 30, 2024
Apr. 30, 2023
Apr. 30, 2024
Apr. 30, 2023
Jul. 31, 2023
Loss Contingencies [Line Items]          
Standby repurchase obligations amount $ 3,904,068   $ 3,904,068   $ 3,893,048
Term of commitments     18 months    
Repurchase and guarantee reserve balances 14,865   $ 14,865   $ 12,114
Losses on repurchase agreements 0 $ 0 6,487 $ 0  
Selling, General and Administrative Expenses          
Loss Contingencies [Line Items]          
Gain (loss) related to litigation settlement $ 0 $ 0 $ 16,900 $ 0