XML 62 R43.htm IDEA: XBRL DOCUMENT v3.10.0.1
Summary of major accounting policies - inventory (Details) - USD ($)
$ in Millions
Aug. 31, 2018
Aug. 31, 2017
Inventory [Line Items]    
Inventories $ 9,565 $ 8,899
Retail Pharmacy USA | Operating Segments    
Inventory [Line Items]    
Inventories 6,700 5,900
LIFO Reserve 3,000 3,000
Retail Pharmacy International and Pharmaceutical Wholesale | Operating Segments    
Inventory [Line Items]    
Inventories $ 2,800 $ 3,000