XML 98 R85.htm IDEA: XBRL DOCUMENT v3.22.2.2
Income taxes - unrecognized tax benefits (Details) - USD ($)
$ in Millions
12 Months Ended
Aug. 31, 2022
Aug. 31, 2021
Aug. 31, 2020
Reconciliation of Unrecognized Tax Benefits      
Balance at beginning of year $ 1,098 $ 494 $ 455
Gross increases related to tax positions in a prior period 63 229 60
Gross decreases related to tax positions in a prior period (51) (52) (23)
Gross increases related to tax positions in the current period 21 446 9
Settlements with taxing authorities (19) (13) (4)
Lapse of statute of limitations (2) (6) (3)
Balance at end of year $ 1,110 $ 1,098 $ 494