XML 52 R35.htm IDEA: XBRL DOCUMENT v3.22.4
Cash and Cash Equivalents, Investments, and Funds Receivable and Amounts Held for Customers - Classification on Balance Sheets (Details) - USD ($)
$ in Millions
Jan. 31, 2023
Jul. 31, 2022
Jan. 31, 2022
Cash and Cash Equivalents Items [Line Items]      
Cash and cash equivalents $ 1,547 $ 2,796 $ 1,257
Available-for-sale debt securities, amortized cost 734 694  
Total cash and cash equivalents, investments, and funds held for customers, amortized cost 2,457 3,721  
Cash equivalents: 1,547 2,796  
Available-for-sale debt securities, fair value 724 685  
Total cash and cash equivalents, investments, and funds held for customers, fair value 2,447 3,712  
Investments      
Cash and Cash Equivalents Items [Line Items]      
Available-for-sale debt securities, amortized cost 529 490  
Available-for-sale debt securities, fair value 524 485  
Funds receivable and amounts held for customers      
Cash and Cash Equivalents Items [Line Items]      
Available-for-sale debt securities, amortized cost 381 435  
Available-for-sale debt securities, fair value $ 376 $ 431