XML 97 R82.htm IDEA: XBRL DOCUMENT v3.22.2.2
Income Taxes - Narrative (Details) - USD ($)
$ in Thousands
12 Months Ended
Jul. 31, 2022
Jul. 31, 2021
Jul. 31, 2020
Income Tax Disclosure [Abstract]      
Effective income tax rate (as a percent) 18.70% 16.50% 12.60%
Federal statutory tax rate (as a percent) 21.00% 21.00% 21.00%
Discrete tax adjustments $ 8,200   $ 1,700
Discrete tax adjustments, prior year 17,000 $ 19,800  
Deduction in FDII 37,200    
Tax benefits 14,400 29,800 92,500
Investment tax credits 10,000    
Increase in valuation allowance 4,200    
Tax credit carryforward 29,900 24,400  
Valuation allowance 29,171 24,987  
Unrecognized tax benefits that would impact effective tax rate 44,200 37,800  
Interest and penalties related to income tax 8,900 $ 7,200 $ 8,900
Undistributed earnings $ 300,000