XML 64 R51.htm IDEA: XBRL DOCUMENT v3.23.4
Leases - Supplemental Income Statement Information (Details) - USD ($)
$ in Millions
3 Months Ended
Nov. 30, 2023
Nov. 30, 2022
Operating lease cost    
Fixed $ 868 $ 813
Variable 214 192
Finance lease cost    
Amortization 19 11
Interest 13 12
Sublease income 2 28 29
Impairment of right-of-use assets 49 67
Gain on sale and leaseback 160 189
U.S. Retail Pharmacy    
Finance lease cost    
Gain on sale and leaseback 160 172
International    
Finance lease cost    
Gain on sale and leaseback $ 0 17
GERMANY | International    
Finance lease cost    
Gain on sale and leaseback   $ 17