INCOME TAXES - Schedule of Differences between Income Tax Expense at Federal Statutory Rate and Actual Income Taxes (Details) - USD ($) $ in Thousands |
12 Months Ended | ||
|---|---|---|---|
Jul. 31, 2024 |
Jul. 31, 2023 |
Jul. 31, 2022 |
|
| Income Tax Disclosure [Abstract] | |||
| Provision at federal statutory rate | $ 73,257 | $ 104,864 | $ 306,571 |
| Differences between U.S. Federal statutory and foreign tax rates | 3,821 | (41,300) | 58,573 |
| Foreign currency remeasurement (gains) losses | (7,621) | 33,737 | (73,914) |
| U.S. state and local income taxes, net of federal benefit | 4,840 | 9,524 | 38,919 |
| Nondeductible compensation | 3,976 | 4,413 | 5,438 |
| Contingent liability accrual and settlement | (7,456) | 0 | 6,300 |
| Global Intangible Low-Taxed Income | 12,068 | 10,936 | 2,000 |
| Other | 559 | 2,939 | (22,266) |
| Total income tax expense | $ 83,444 | $ 125,113 | $ 321,621 |
| X | ||||||||||
- Definition Effective Income Tax Rate Reconciliation, Contingent Liability Accrual and Settlement No definition available.
|
| X | ||||||||||
- Definition Amount of reported income tax expense from difference to expected income tax expense (benefit) computed by applying domestic federal statutory income tax rate to pretax income (loss) from continuing operations, attributable to global intangible low-taxed income (GILTI). Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- References No definition available.
|
| X | ||||||||||
- Definition Amount of current income tax expense (benefit) and deferred income tax expense (benefit) pertaining to continuing operations. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount of the difference between reported income tax expense (benefit) and expected income tax expense (benefit) computed by applying the domestic federal statutory income tax rates to pretax income (loss) from continuing operations attributable to foreign income tax expense (benefit). Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Definition The amount of income tax expense or benefit for the period computed by applying the domestic federal statutory tax rates to pretax income from continuing operations. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount of the difference between reported income tax expense (benefit) and expected income tax expense (benefit) computed by applying the domestic federal statutory income tax rates to pretax income (loss) from continuing operations attributable to nondeductible expenses. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount of the difference between reported income tax expense (benefit) and expected income tax expense (benefit) computed by applying the domestic federal statutory income tax rates to pretax income (loss) from continuing operations attributable to other adjustments. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Definition Amount of the difference between reported income tax expense (benefit) and expected income tax expense (benefit) computed by applying the domestic federal statutory income tax rates to pretax income (loss) from continuing operations attributable to state and local income tax expense (benefit). Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Definition Amount of the difference between reported income tax expense (benefit) and expected income tax expense (benefit) computed by applying the domestic federal statutory income tax rates to pretax income (loss) from continuing operations attributable to income (loss) exempt from income taxes. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|