XML 79 R66.htm IDEA: XBRL DOCUMENT v3.23.4
Financial instruments - Summary of Derivative Income and Expenses Due to Fair Value Changes (Details) - Not Designated as Hedging Instrument - USD ($)
$ in Millions
3 Months Ended
Nov. 30, 2023
Nov. 30, 2022
Total return swaps | Selling, general and administrative expenses    
Derivatives, Fair Value [Line Items]    
Loss on variable prepaid forward contracts $ (1) $ 4
Foreign currency forwards | Other income, net    
Derivatives, Fair Value [Line Items]    
Loss on variable prepaid forward contracts 59 (18)
Variable Prepaid Forward | Other income, net    
Derivatives, Fair Value [Line Items]    
Loss on variable prepaid forward contracts $ (366) $ 0