Income taxes - provision for income taxes (Details) - USD ($) $ in Millions |
12 Months Ended | ||
|---|---|---|---|
Aug. 31, 2024 |
Aug. 31, 2023 |
Aug. 31, 2022 |
|
| Current provision | |||
| Federal | $ 91 | $ 242 | $ 39 |
| State | 52 | (13) | 37 |
| Non–U.S. | 185 | 283 | 260 |
| Total current provisions for income taxes | 328 | 512 | 336 |
| Deferred provision | |||
| Federal | 910 | (1,886) | (78) |
| State | 259 | (364) | (20) |
| Non–U.S. | (251) | (120) | (268) |
| Total non-current provisions for income taxes | 918 | (2,370) | (366) |
| Income tax provision (benefit) | $ 1,246 | $ (1,858) | $ (30) |
| X | ||||||||||
- Definition Amount of current federal tax expense (benefit) attributable to income (loss) from continuing operations. Includes, but is not limited to, current national tax expense (benefit) for non-US (United States of America) jurisdiction. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Amount of current foreign income tax expense (benefit) pertaining to income (loss) from continuing operations. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Amount of current income tax expense (benefit) pertaining to taxable income (loss) from continuing operations. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- References No definition available.
|
| X | ||||||||||
- Definition Amount of current state and local tax expense (benefit) attributable to income (loss) from continuing operations. Includes, but is not limited to, current regional, territorial, and provincial tax expense (benefit) for non-US (United States of America) jurisdiction. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- References No definition available.
|
| X | ||||||||||
- Definition Amount of deferred state and local tax expense (benefit) attributable to income (loss) from continuing operations. Includes, but is not limited to, deferred regional, territorial, and provincial tax expense (benefit) for non-US (United States of America) jurisdiction. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Amount of current income tax expense (benefit) and deferred income tax expense (benefit) pertaining to continuing operations. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Deferred Federal Income Tax Expense (Benefit), Excluding Tax Law Change No definition available.
|
| X | ||||||||||
- Definition Amount of deferred foreign income tax expense (benefit) pertaining to income (loss) from continuing operations excluding tax law change. No definition available.
|
| X | ||||||||||
- Definition The component of income tax expense for the period representing the increase (decrease) in the entity's deferred tax assets and liabilities pertaining to continuing operations. No definition available.
|