XML 104 R85.htm IDEA: XBRL DOCUMENT v3.23.2
Schedule II - Valuation and Qualifying Accounts (Details) - USD ($)
$ in Millions
12 Months Ended
Jul. 31, 2023
Jul. 31, 2022
Jul. 31, 2021
Allowance for doubtful accounts      
SEC Schedule, 12-09, Movement in Valuation Allowances and Reserves [Roll Forward]      
Valuation and qualifying accounts, beginning balance $ 31 $ 96 $ 12
Additions Charged to Expense/ Revenue 57 74 92
Deductions (81) (139) (8)
Valuation and qualifying accounts, ending balance 7 31 96
Reserve for returns, credits, and promotional discounts      
SEC Schedule, 12-09, Movement in Valuation Allowances and Reserves [Roll Forward]      
Valuation and qualifying accounts, beginning balance 31 31 35
Additions Charged to Expense/ Revenue 261 247 230
Deductions (260) (247) (234)
Valuation and qualifying accounts, ending balance $ 32 $ 31 $ 31