XML 115 R85.htm IDEA: XBRL DOCUMENT v3.22.2.2
Schedule II - Valuation and Qualifying Accounts (Details) - USD ($)
$ in Millions
12 Months Ended
Jul. 31, 2022
Jul. 31, 2021
Jul. 31, 2020
Allowance for doubtful accounts      
SEC Schedule, 12-09, Movement in Valuation Allowances and Reserves [Roll Forward]      
Valuation and qualifying accounts, beginning balance $ 96 $ 12 $ 3
Additions Charged to Expense/ Revenue 74 92 68
Deductions (139) (8) (59)
Valuation and qualifying accounts, ending balance 31 96 12
Reserve for returns and credits      
SEC Schedule, 12-09, Movement in Valuation Allowances and Reserves [Roll Forward]      
Valuation and qualifying accounts, beginning balance 21 24 24
Additions Charged to Expense/ Revenue 183 168 170
Deductions (179) (171) (170)
Valuation and qualifying accounts, ending balance 25 21 24
Reserve for promotional discounts and rebates      
SEC Schedule, 12-09, Movement in Valuation Allowances and Reserves [Roll Forward]      
Valuation and qualifying accounts, beginning balance 10 11 11
Additions Charged to Expense/ Revenue 64 62 73
Deductions (68) (63) (73)
Valuation and qualifying accounts, ending balance $ 6 $ 10 $ 11