XML 55 R38.htm IDEA: XBRL DOCUMENT v3.22.4
Cash and Cash Equivalents, Investments, and Funds Receivable and Amounts Held for Customers - Investments in Funds Held for Customers (Details) - USD ($)
$ in Millions
Jan. 31, 2023
Jul. 31, 2022
Jan. 31, 2022
Jul. 31, 2021
Cash And Cash Equivalents, Investments And Funds Held For Customers [Abstract]        
Restricted cash and restricted cash equivalents $ 2 $ 201 $ 176 $ 257
Restricted available-for-sale debt securities and funds receivable 374 230 199 200
Total funds receivable and amounts held for customers $ 376 $ 431 $ 375 $ 457