v3.26.3
INCOME TAXES - Reconciliation of Unrecognized Tax Benefits (Details) - USD ($)
$ in Thousands
12 Months Ended
Aug. 31, 2026
Aug. 31, 2025
Reconciliation of Unrecognized Tax Benefits, Excluding Amounts Pertaining to Examined Tax Returns [Roll Forward]    
Balance, beginning of year $ 2,409,655 $ 1,904,867
Additions for tax positions related to the current year 382,980 430,312
Additions for tax positions related to prior years 115,880 501,497
Reductions for tax positions related to prior years (263,775) (314,740)
Statute of limitations expirations (73,481) (99,001)
Settlements with tax authorities (10,389) (12,396)
Cumulative translation adjustment (31,042) (884)
Balance, end of year $ 2,529,828 $ 2,409,655