v3.26.1
Schedule II - Valuation and Qualifying Accounts (Details) - USD ($)
$ in Millions
12 Months Ended
Jul. 31, 2026
Jul. 31, 2025
Jul. 31, 2024
Allowance for doubtful accounts      
SEC Schedule, 12-09, Movement in Valuation Allowances and Reserves [Roll Forward]      
Beginning Balance $ 5 $ 5 $ 7
Additions Charged to Expense/ Revenue 59 50 61
Deductions (59) (50) (63)
Ending Balance 5 5 5
Reserve for returns, credits, and promotional discounts      
SEC Schedule, 12-09, Movement in Valuation Allowances and Reserves [Roll Forward]      
Beginning Balance 39 40 32
Additions Charged to Expense/ Revenue 384 334 302
Deductions (369) (335) (294)
Ending Balance $ 54 $ 39 $ 40