XML 106 R86.htm IDEA: XBRL DOCUMENT v3.24.3
Income taxes - unrecognized tax benefits (Details) - USD ($)
$ in Millions
12 Months Ended
Aug. 31, 2024
Aug. 31, 2023
Aug. 31, 2022
Reconciliation of Unrecognized Tax Benefits      
Balance at beginning of year $ 1,106 $ 1,110 $ 1,098
Gross increases related to tax positions in a prior period 91 12 63
Gross decreases related to tax positions in a prior period (443) (19) (51)
Gross increases related to tax positions in the current period 273 12 21
Settlements with taxing authorities (12) (7) (19)
Lapse of statute of limitations (3) (2) (2)
Balance at end of year $ 1,012 $ 1,106 $ 1,110