XML 98 R83.htm IDEA: XBRL DOCUMENT v3.22.2.2
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, 2022
Aug. 31, 2021
Aug. 31, 2020
Derivative [Line Items]      
Amount of (Loss) Gain Recognized in Net Income on Derivatives $ (71) $ 140 $ 42
Foreign currency gain (loss) $ 87 $ (105) $ (47)