v3.26.3
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, 2026
Jul. 31, 2025
Jul. 31, 2024
Income Tax Disclosure [Abstract]      
Provision at federal statutory rate $ 50,131 $ 62,200 $ 73,257
Differences between U.S. Federal statutory and foreign tax rates   (38,152) 3,821
Foreign currency remeasurement (gains) losses   21,522 (7,621)
U.S. state and local income taxes, net of federal benefit 8,346 7,779 4,840
Nondeductible compensation   4,133 3,976
Effect of foreign tax law change 0 (15,314) 0
Contingent liability accrual and settlement   0 (7,456)
Global Intangible Low-Taxed Income 53 0 12,068
Other   (2,568) 559
Income taxes $ 64,067 $ 39,600 $ 83,444
Tax Jurisdiction of Domicile [Extensible Enumeration]   United States United States