XML 68 R48.htm IDEA: XBRL DOCUMENT v3.23.1
Leases - Lease Cost (Details) - USD ($)
$ in Millions
3 Months Ended 9 Months Ended
Apr. 30, 2023
Apr. 30, 2022
Apr. 30, 2023
Apr. 30, 2022
Leases [Abstract]        
Operating lease cost $ 33 $ 25 $ 97 $ 71
Variable lease cost 6 4 15 11
Sublease income (3) (4) (9) (14)
Total net lease cost $ 36 $ 25 $ 103 $ 68