XML 63 R44.htm IDEA: XBRL DOCUMENT v3.8.0.1
Summary of major accounting policies - additional information (Details) - USD ($)
shares in Millions, $ in Millions
12 Months Ended
Aug. 31, 2017
Aug. 31, 2016
Aug. 31, 2015
Cash and Cash Equivalents [Abstract]      
Minimum number of days for settlement of credit and debit charges 2 days    
Maximum number of days for settlement of credit and debit charges 7 days    
Credit and debit card receivables $ 98 $ 114  
Restricted Cash [Abstract]      
Restricted cash 202 185  
Accounts Receivable, Net [Abstract]      
Allowance for doubtful accounts 158 166 $ 172
Advertising Costs [Abstract]      
Advertising Expense $ 571 $ 598 $ 491
Net earnings per common share:      
Outstanding options to purchase common shares excluded from earnings per share calculations (in shares) 3.9 2.5 2.5