Supplemental Cash Flow Information Related to Leases (Detail) - USD ($) $ in Millions |
12 Months Ended | ||
|---|---|---|---|
Jun. 30, 2026 |
Jun. 30, 2025 |
Jun. 30, 2024 |
|
| Cash paid for amounts included in the measurement of lease liabilities: | |||
| Operating cash flows from operating leases | $ 6,443 | $ 4,931 | $ 3,550 |
| Operating cash flows from finance leases | 2,547 | 1,372 | 734 |
| Financing cash flows from finance leases | 3,101 | 2,283 | 1,286 |
| Right-of-use assets obtained in exchange for lease obligations: | |||
| Operating leases | 4,555 | 7,826 | 6,703 |
| Finance leases | $ 24,608 | $ 20,511 | $ 11,633 |
| X | ||||||||||
- Definition Cash paid for amounts included in measurement of lease liabilities. No definition available.
|
| X | ||||||||||
- Definition Right of use assets obtained in exchange for lease obligations. No definition available.
|
| X | ||||||||||
- Definition Amount of interest paid on finance lease liability. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount of cash outflow for principal payment on finance lease. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount of cash outflow from operating lease, excluding payments to bring another asset to condition and location necessary for its intended use. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount of increase in right-of-use asset obtained in exchange for finance lease liability. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Definition Amount of increase in right-of-use asset obtained in exchange for operating lease liability. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|