XML 76 R59.htm IDEA: XBRL DOCUMENT v3.8.0.1
INCOME TAXES - Reconciliation of Unrecognized Tax Benefits (Details) - USD ($)
$ in Thousands
12 Months Ended
Aug. 31, 2017
Aug. 31, 2016
Reconciliation of Unrecognized Tax Benefits, Excluding Amounts Pertaining to Examined Tax Returns [Roll Forward]    
Balance, beginning of year $ 985,755 $ 997,935
Additions for tax positions related to the current year 204,321 163,097
Additions for tax positions related to prior years 254,274 126,353
Reductions for tax positions related to prior years (250,135) (63,782)
Statute of limitations expirations (41,544) (208,295)
Settlements with tax authorities (221,999) (3,703)
Foreign currency translation 15,178 (25,850)
Balance, end of year $ 945,850 $ 985,755