XML 102 R87.htm IDEA: XBRL DOCUMENT v3.23.3
Derivative Financial Instruments and Hedging Activities - Derivatives Not Designated As Hedging Instruments (Details) - Cost of revenue - Forward foreign exchange contracts - USD ($)
$ in Millions
12 Months Ended
Aug. 31, 2023
Aug. 31, 2022
Aug. 31, 2021
Derivative [Line Items]      
Amount of (Loss) Gain Recognized in Net Income on Derivatives $ (111) $ (71) $ 140
Foreign currency gain (loss) $ 58 $ 87 $ (105)