v3.26.3
INCOME TAXES - Reconciliation of U.S. Federal Statutory Income Tax Rate to Effective Income Tax Rate (After ASU Adoption) (Details) - USD ($)
$ in Thousands
12 Months Ended
Aug. 31, 2026
Aug. 31, 2025
Aug. 31, 2024
Income Tax Disclosure [Abstract]      
Tax Jurisdiction of Domicile [Extensible Enumeration] U.S.    
Amount      
U.S. federal statutory income tax rate $ 2,388,165    
Foreign-derived intangible income deduction (157,732)    
Effect of cross-border tax laws, Other 65,908    
Nontaxable or nondeductible items 48,736    
U.S. state and local income tax, net of federal effect 141,174    
Worldwide changes in unrecognized tax benefits 64,029    
Total income tax expense $ 2,849,333 $ 2,437,993 $ 2,280,126
Percent      
U.S. federal statutory income tax rate 21.00% 21.00% 21.00%
Foreign-derived intangible income deduction (1.40%) (1.40%) (1.50%)
Effect of cross-border tax laws, Other 0.60%    
Nontaxable or nondeductible items 0.40%    
Other   2.50% 1.60%
U.S. state and local income tax, net of federal effect 1.20% 0.70% 0.90%
Worldwide changes in unrecognized tax benefits 0.60%    
Effective income tax rate 25.10% 23.70% 23.50%
U.S.      
Amount      
Other $ 49,782    
Percent      
Other 0.40%    
Ireland      
Amount      
Other $ (36,393)    
Statutory income tax rate difference $ (357,958)    
Percent      
Other (0.30%)    
Statutory income tax rate difference (3.10%)    
India      
Amount      
Statutory income tax rate difference $ 150,052    
Percent      
Statutory income tax rate difference 1.30%    
Other non-U.S. jurisdictions      
Amount      
Statutory income tax rate difference $ 493,570    
Percent      
Statutory income tax rate difference 4.40%