XML 103 R73.htm IDEA: XBRL DOCUMENT v3.22.2.2
Income Taxes - Unrecognized tax benefits (Details) - USD ($)
$ in Millions
12 Months Ended
Jul. 31, 2022
Jul. 31, 2021
Jul. 31, 2020
Reconciliation of Unrecognized Tax Benefits, Excluding Amounts Pertaining to Examined Tax Returns [Roll Forward]      
Gross unrecognized tax benefits, beginning balance $ 190 $ 101 $ 120
Increases related to tax positions from prior fiscal years, including acquisitions 9 69 2
Decreases related to tax positions from prior fiscal years (13) 0 (35)
Increases related to tax positions taken during current fiscal year 31 31 21
Settlements with tax authorities 0 0 (1)
Lapse of statute of limitations (1) (11) (6)
Gross unrecognized tax benefits, ending balance $ 216 $ 190 $ 101