XML 83 R64.htm IDEA: XBRL DOCUMENT v3.23.2
Leases - Supplemental cash flows (Details) - USD ($)
$ in Millions
12 Months Ended
Jul. 31, 2023
Jul. 31, 2022
Jul. 31, 2021
Leases [Abstract]      
Cash paid for amounts included in the measurement of operating lease liabilities $ 107 $ 104 $ 76
Right-of-use assets obtained in exchange for operating lease liabilities $ 28 $ 238 $ 60