Debt - Narrative (Details) | | | | | | 1 Months Ended | 6 Months Ended | | | |
Jan. 31, 2025 USD ($) | Jan. 30, 2025 USD ($) | Nov. 01, 2024 USD ($) | Apr. 30, 2024 USD ($) | Feb. 05, 2024 USD ($) | Sep. 30, 2023 USD ($) | Jun. 30, 2020 USD ($) | Jan. 31, 2025 USD ($) | Jan. 31, 2024 USD ($) | Feb. 25, 2025 USD ($) | Feb. 24, 2025 USD ($) | Jul. 31, 2024 USD ($) |
Debt Instrument [Line Items] | | | | | | | | | | | | |
Net carrying value of debt | $ 6,260,000,000 | | | | | | | $ 6,260,000,000 | | | | $ 6,038,000,000 |
Line of Credit | Revolving Credit Facility | Subsequent Event | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | |
Commercial paper | | | | | | | | | | $ 1,800,000,000 | | |
Line of Credit | Revolving Credit Facility | Subsidiary | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | |
Secured revolving credit facilities | 804,000,000 | | | | | | | 804,000,000 | | | | 585,000,000 |
The Senior Unsecured Notes | Senior Unsecured Notes | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | |
Proceeds from issuance | | | | | | | $ 1,980,000,000 | | | | | |
Unamortized discount | | | | | | | 2,000,000 | | | | | |
Debt issuance costs | | | | | | | $ 15,000,000 | | | | | |
Net carrying value of debt | 1,500,000,000 | | | | | | | 1,500,000,000 | | | | |
Interest paid | | | | | | | | 10,000,000 | $ 10,000,000 | | | |
Redemption price | | | | | | | 101% | | | | | |
The 2023 Senior Unsecured Notes | Senior Unsecured Notes | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | |
Proceeds from issuance | | | | | | $ 3,960,000,000 | | | | | | |
Unamortized discount | | | | | | 20,000,000 | | | | | | |
Debt issuance costs | | | | | | $ 24,000,000 | | | | | | |
Net carrying value of debt | 4,000,000,000 | | | | | | | 4,000,000,000 | | | | |
Interest paid | | | | | | | | 106,000,000 | 0 | | | |
2024 Credit Facility | Line of Credit | Revolving Credit Facility | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | |
Net carrying value of debt | 0 | | | | | | | 0 | | | | |
Interest paid | | | | | | | | 0 | | | | |
Line of credit, maximum borrowing capacity | | | | | $ 1,500,000,000 | | | | | | | |
Option to increase credit amount | | | | | $ 1,000,000,000 | | | | | | | |
Term of option to extend credit agreement | | | | | 1 year | | | | | | | |
Restrictive covenant, ratio of total gross debt to EBIDTA | | | | | 4 | | | | | | | |
2024 Credit Facility | Line of Credit | Revolving Credit Facility | Base Rate | Minimum | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | |
Basis spread on variable rate | | | | | 0% | | | | | | | |
2024 Credit Facility | Line of Credit | Revolving Credit Facility | Base Rate | Maximum | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | |
Basis spread on variable rate | | | | | 0.125% | | | | | | | |
2024 Credit Facility | Line of Credit | Revolving Credit Facility | Secured Overnight Financing Rate (SOFR) | Minimum | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | |
Basis spread on variable rate | | | | | 0.70% | | | | | | | |
2024 Credit Facility | Line of Credit | Revolving Credit Facility | Secured Overnight Financing Rate (SOFR) | Maximum | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | |
Basis spread on variable rate | | | | | 1.125% | | | | | | | |
2024 Credit Facility | Line of Credit | Revolving Credit Facility | Interest Benchmark for Relevant Currency | Minimum | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | |
Basis spread on variable rate | | | | | 0.70% | | | | | | | |
2024 Credit Facility | Line of Credit | Revolving Credit Facility | Interest Benchmark for Relevant Currency | Maximum | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | |
Basis spread on variable rate | | | | | 1.125% | | | | | | | |
2024 Credit Facility | Line of Credit | Swingline Loans | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | |
Line of credit, maximum borrowing capacity | | | | | $ 500,000,000 | | | | | | | |
2024 Credit Facility | Line of Credit | Letter of Credit | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | |
Line of credit, maximum borrowing capacity | | | | | $ 250,000,000 | | | | | | | |
Short-Term Revolving Credit Facility | Revolving Credit Facility | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | |
Line of credit, maximum borrowing capacity | | $ 4,500,000,000 | | | | | | | | | | |
2025 Credit Facility | Line of Credit | Revolving Credit Facility | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | |
Interest paid | | | | | | | | 0 | | | | |
Restrictive covenant, ratio of total gross debt to EBIDTA | | 4 | | | | | | | | | | |
Commitment fee, percent | | 0.10% | | | | | | | | | | |
2025 Credit Facility | Line of Credit | Revolving Credit Facility | Base Rate | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | |
Basis spread on variable rate | | 0.125% | | | | | | | | | | |
2025 Credit Facility | Line of Credit | Revolving Credit Facility | Secured Overnight Financing Rate (SOFR) | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | |
Basis spread on variable rate | | 1.125% | | | | | | | | | | |
Secured Revolving Credit Facility, 2019 | Line of Credit | Revolving Credit Facility | Subsidiary | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | |
Interest paid | | | | | | | | 11,000,000 | 10,000,000 | | | |
Line of credit, maximum borrowing capacity | 500,000,000 | | | | | | | 500,000,000 | | | | |
Line of credit, current borrowing capacity | 300,000,000 | | | | | | | 300,000,000 | | | | |
Line of credit, remaining borrowing capacity | 200,000,000 | | | | | | | 200,000,000 | | | | |
Secured revolving credit facilities | $ 395,000,000 | | | | | | | $ 395,000,000 | | | | |
Interest rate at period end | 5.73% | | | | | | | 5.73% | | | | |
Secured Revolving Credit Facility, 2019 | Line of Credit | Revolving Credit Facility | Subsidiary | Asset Pledged as Collateral | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | |
Secured amount | $ 1,400,000,000 | | | | | | | $ 1,400,000,000 | | | | |
Secured Revolving Credit Facility, 2019 | Line of Credit | Revolving Credit Facility | Minimum | Subsidiary | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | |
Interest rate on unused portion of line of credit | 0.25% | | | | | | | | | | | |
Secured Revolving Credit Facility, 2019 | Line of Credit | Revolving Credit Facility | Maximum | Subsidiary | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | |
Interest rate on unused portion of line of credit | 0.75% | | | | | | | | | | | |
Secured Revolving Credit Facility, 2019 | Line of Credit | Revolving Credit Facility | Secured Overnight Financing Rate (SOFR) | Subsidiary | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | |
Basis spread on variable rate | 1.25% | | | | | | | | | | | |
Secured Revolving Credit Facility, 2022 | Line of Credit | Revolving Credit Facility | Subsidiary | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | |
Interest paid | | | | | | | | 10,000,000 | $ 5,000,000 | | | |
Line of credit, maximum borrowing capacity | | | | $ 500,000,000 | | | | | | | | |
Line of credit, current borrowing capacity | | | | 300,000,000 | | | | | | | | |
Line of credit, remaining borrowing capacity | | | | $ 200,000,000 | | | | | | | | |
Secured revolving credit facilities | $ 300,000,000 | | | | | | | $ 300,000,000 | | | | |
Interest rate at period end | 5.68% | | | | | | | 5.68% | | | | |
Secured Revolving Credit Facility, 2022 | Line of Credit | Revolving Credit Facility | Subsidiary | Asset Pledged as Collateral | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | |
Secured amount | $ 930,000,000 | | | | | | | $ 930,000,000 | | | | |
Secured Revolving Credit Facility, 2022 | Line of Credit | Revolving Credit Facility | Minimum | Subsidiary | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | |
Interest rate on unused portion of line of credit | | | | 0.20% | | | | | | | | |
Secured Revolving Credit Facility, 2022 | Line of Credit | Revolving Credit Facility | Maximum | Subsidiary | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | |
Interest rate on unused portion of line of credit | | | | 0.40% | | | | | | | | |
Secured Revolving Credit Facility, 2022 | Line of Credit | Revolving Credit Facility | Secured Overnight Financing Rate (SOFR) | Subsidiary | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | |
Basis spread on variable rate | | | | 1.30% | | | | | | | | |
Secured Revolving Credit Facility, 2024 | Line of Credit | Revolving Credit Facility | Subsidiary | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | |
Line of credit, maximum borrowing capacity | | | $ 300,000,000 | | | | | | | | | |
Line of credit, current borrowing capacity | | | 150,000,000 | | | | | | | | | |
Line of credit, remaining borrowing capacity | | | $ 150,000,000 | | | | | | | | | |
Secured revolving credit facilities | $ 109,000,000 | | | | | | | $ 109,000,000 | | | | |
Interest rate at period end | 5.61% | | | | | | | 5.61% | | | | |
Secured Revolving Credit Facility, 2024 | Line of Credit | Revolving Credit Facility | Subsidiary | Subsequent Event | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | |
Line of credit, current borrowing capacity | | | | | | | | | | 300,000,000 | | |
Line of credit, remaining borrowing capacity | | | | | | | | | | 0 | | |
Secured Revolving Credit Facility, 2024 | Line of Credit | Revolving Credit Facility | Subsidiary | Asset Pledged as Collateral | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | |
Secured amount | $ 244,000,000 | | | | | | | $ 244,000,000 | | | | |
Secured Revolving Credit Facility, 2024 | Line of Credit | Revolving Credit Facility | Minimum | Subsidiary | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | |
Interest rate on unused portion of line of credit | | | 0.20% | | | | | | | | | |
Secured Revolving Credit Facility, 2024 | Line of Credit | Revolving Credit Facility | Maximum | Subsidiary | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | |
Interest rate on unused portion of line of credit | | | 0.40% | | | | | | | | | |
Secured Revolving Credit Facility, 2024 | Line of Credit | Revolving Credit Facility | Secured Overnight Financing Rate (SOFR) | Subsidiary | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | |
Basis spread on variable rate | | | 1.15% | | | | | | | | | |
Commercial Paper Program | Line of Credit | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | |
Commercial paper | 0 | | | | | | | 0 | | | | $ 0 |
Commercial Paper Program | Line of Credit | Commercial Paper | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | |
Line of credit, maximum borrowing capacity | $ 1,500,000,000 | | | | | | | $ 1,500,000,000 | | | | |
Debt instrument, term | | | | | | | | 397 days | | | | |
Commercial Paper Program | Line of Credit | Commercial Paper | Subsequent Event | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | |
Line of credit, maximum borrowing capacity | | | | | | | | | | $ 2,000,000,000 | $ 1,500,000,000 | |