CONTINGENT LIABILITIES AND COMMITMENTS (Details) $ in Thousands |
12 Months Ended | ||
|---|---|---|---|
|
Jul. 31, 2026
USD ($)
matter
|
Jul. 31, 2025
USD ($)
matter
|
Jul. 31, 2024
USD ($)
matter
|
|
| Commitments and Contingencies Disclosure [Abstract] | |||
| Standby repurchase obligations amount | $ 3,315,731 | $ 3,484,235 | |
| Terms of commitments (in months) | 18 months | ||
| Repurchase and guarantee reserve balances | $ 15,938 | 17,508 | |
| Losses on repurchase agreements | 0 | 0 | $ 7,107 |
| Expenses recorded related to product recall costs | $ 0 | $ 0 | $ 17,979 |
| Loss contingency, number of matters | matter | 2 | 2 | 2 |