Other Current Assets (Details) - USD ($) $ in Thousands |
Aug. 31, 2026 |
Aug. 31, 2025 |
Aug. 31, 2024 |
|---|---|---|---|
| Prepaid Expense and Other Assets, Current [Abstract] | |||
| Derivative assets (Note 15) | $ 528,979 | $ 177,231 | |
| Margin and related deposits | 219,489 | 183,817 | |
| Prepaid expenses | 205,651 | 204,826 | |
| Supplier advance payments | 90,010 | 104,866 | |
| Restricted cash (Note 1) | 123,217 | 71,434 | $ 78,997 |
| Other | 130,767 | 59,416 | |
| Total other current assets | $ 1,298,113 | $ 801,590 | |
| Derivative Asset, Current, Statement of Financial Position [Extensible Enumeration] | Total other current assets | Total other current assets |
| X | ||||||||||
- Definition Carrying value of capitalized payments made in advance for inventory that is expected to be received within one year or the normal operating cycle, if longer. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Indicates line item in statement of financial position that includes derivative asset classified as current. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Fair value, after the effects of master netting arrangements, of a financial asset or other contract with one or more underlyings, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset, expected to be settled within one year or normal operating cycle, if longer. Includes assets not subject to a master netting arrangement and not elected to be offset. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition The amount of cash or securities placed with a broker or counterparty as security for a trading or derivatives securities position which was partially obtained with funds provided by the broker dealer. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Amount of current assets classified as other. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Definition Amount of other miscellaneous assets expected to be realized or consumed within one year or operating cycle, if longer. No definition available.
|
| X | ||||||||||
- References No definition available.
|
| X | ||||||||||
- Definition Carrying amount as of the balance sheet date of expenditures made in advance of when the economic benefit of the cost will be realized, and which will be expensed in future periods with the passage of time or when a triggering event occurs. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Amount of cash restricted as to withdrawal or usage, classified as current. Cash includes, but is not limited to, currency on hand, demand deposits with banks or financial institutions, and other accounts with general characteristics of demand deposits. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|