Income taxes - unrecognized tax benefits (Details) - USD ($) $ in Millions |
12 Months Ended | ||
|---|---|---|---|
Aug. 31, 2024 |
Aug. 31, 2023 |
Aug. 31, 2022 |
|
| Reconciliation of Unrecognized Tax Benefits | |||
| Balance at beginning of year | $ 1,106 | $ 1,110 | $ 1,098 |
| Gross increases related to tax positions in a prior period | 91 | 12 | 63 |
| Gross decreases related to tax positions in a prior period | (443) | (19) | (51) |
| Gross increases related to tax positions in the current period | 273 | 12 | 21 |
| Settlements with taxing authorities | (12) | (7) | (19) |
| Lapse of statute of limitations | (3) | (2) | (2) |
| Balance at end of year | $ 1,012 | $ 1,106 | $ 1,110 |
| X | ||||||||||
- Definition A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period. No definition available.
|
| X | ||||||||||
- Definition Amount of unrecognized tax benefits. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Definition Amount of decrease in unrecognized tax benefits resulting from tax positions taken in prior period tax returns. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Definition Amount of decrease in unrecognized tax benefits resulting from settlements with taxing authorities. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Definition Amount of increase in unrecognized tax benefits resulting from tax positions that have been or will be taken in current period tax return. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Definition Amount of increase in unrecognized tax benefits resulting from tax positions taken in prior period tax returns. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Definition Amount of decrease in unrecognized tax benefits resulting from lapses of applicable statutes of limitations. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|