v3.26.3
FINANCIAL INSTRUMENTS - Additional Information (Details) - USD ($)
$ in Thousands
12 Months Ended
Aug. 31, 2026
Aug. 31, 2025
Aug. 31, 2024
Derivative Instruments and Hedging Activities Disclosure [Abstract]      
Fair value of derivative assets $ 50,047 $ 36,847  
Fair value of derivative instruments with credit-risk-related contingent features in a liability position $ 514,596    
Cash flow hedge, hedging exposure, maximum period 3 years    
Reclassification of gains (losses) into Cost of services $ (281,043) (10,165) $ 28,386
Gain (loss) recognized in income on derivatives $ (152,866) $ (147,220) $ (48,840)