XML 40 R81.htm IDEA: XBRL DOCUMENT v3.19.3
Income taxes - unrecognized tax benefits (Details) - USD ($)
$ in Millions
12 Months Ended
Aug. 31, 2019
Aug. 31, 2018
Aug. 31, 2017
Reconciliation of Unrecognized Tax Benefits      
Balance at beginning of year $ 456 $ 409 $ 269
Gross increases related to tax positions in a prior period 33 123 151
Gross decreases related to tax positions in a prior period (53) (15) (36)
Gross increases related to tax positions in the current period 26 29 33
Settlements with taxing authorities (2) (87) (2)
Currency 0 0 (1)
Lapse of statute of limitations (5) (3) (5)
Balance at end of year $ 455 $ 456 $ 409