XML 100 R71.htm IDEA: XBRL DOCUMENT v3.22.2.2
INCOME TAXES - Additional Information (Detail) - USD ($)
$ in Thousands
12 Months Ended
Aug. 31, 2022
Aug. 31, 2021
Aug. 31, 2020
Income Taxes [Line Items]      
Undistributed Earnings of Foreign Subsidiaries $ 2,400,000    
Unrecognized deferred tax liability from undistributed earnings of foreign subsidiaries 120,000    
Tax holiday income tax benefits 29,000 $ 37,000 $ 38,000
Deferred tax assets valuation allowance 1,056,022 1,001,245  
Increase in deferred tax valuation allowance 54,777 (243,446)  
Tax credit carryforwards 940,640 915,382  
Operating Loss Carryforwards 857,615    
Unrecognized tax benefits 1,469,336 1,344,460 1,238,945
Unrecognized tax benefits potential to favorably impact effective tax rate 1,083,065 1,028,090  
Unrecognized tax benefits from adjustments to equity 386,271 316,370  
Unrecognized tax benefits, interest and penalties expense 25,369 35,285 $ 21,140
Unrecognized tax benefits, interest and penalties accrued pre-tax 177,610 166,846  
Unrecognized Tax Benefits Income Tax Penalties Accrued Net Of Tax Benefits 159,814 $ 151,184  
Decrease in Unrecognized Tax Benefits is Reasonably Possible 294,000    
Increase in Unrecognized Tax Benefits is Reasonably Possible 371,000    
Tax Credit Carryforwards Expiring Between 2022 and 2031      
Income Taxes [Line Items]      
Tax credit carryforwards 12,119    
Tax Credit Carryforwards Expiring Between 2032 and 2041      
Income Taxes [Line Items]      
Tax credit carryforwards 1,027    
Tax Credit Carryforwards with Indefinite Carryforward Period      
Income Taxes [Line Items]      
Tax credit carryforwards 927,494    
Net Operating Loss Carryforwards Expiring Between 2022 and 2031      
Income Taxes [Line Items]      
Operating Loss Carryforwards 174,669    
Net Operating Loss Carryforwards Expiring Between 2032 and 2041      
Income Taxes [Line Items]      
Operating Loss Carryforwards 80,604    
Net Operating Loss Carryforwards with Indefinite Carryforward Period      
Income Taxes [Line Items]      
Operating Loss Carryforwards $ 602,342