XML 68 R56.htm IDEA: XBRL DOCUMENT v3.21.2
Accumulated Other Comprehensive (Loss) Income (Reclassification from AOCI) (Details) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
May 31, 2021
May 31, 2020
May 31, 2021
May 31, 2020
Reclassification Adjustment out of Accumulated Other Comprehensive Income on Derivatives [Line Items]        
Cost of revenue $ (6,646,845) $ (5,879,494) $ (20,103,436) $ (18,526,311)
Interest expense (33,803) (41,873) (97,175) (132,967)
Income before income tax 213,295 13,773 707,240 145,490
Gain (loss) to be reclassified in next 12 months     7,900  
Income tax expense 43,277 64,036 183,861 157,620
Reclassification out of AOCI | Realized losses (gain) on derivative instruments        
Reclassification Adjustment out of Accumulated Other Comprehensive Income on Derivatives [Line Items]        
Income before income tax (3,495) 16,020 (40,580) 19,355
Reclassification out of AOCI | Realized losses (gain) on derivative instruments | Foreign exchange contracts        
Reclassification Adjustment out of Accumulated Other Comprehensive Income on Derivatives [Line Items]        
Cost of revenue (4,309) 16,451 (43,021) 20,648
Reclassification out of AOCI | Realized losses (gain) on derivative instruments | Interest rate contracts        
Reclassification Adjustment out of Accumulated Other Comprehensive Income on Derivatives [Line Items]        
Interest expense 814 (431) 2,441 (1,293)
Reclassification out of AOCI | Accumulated Gain (Loss), Cash Flow Hedge, Including Noncontrolling Interest        
Reclassification Adjustment out of Accumulated Other Comprehensive Income on Derivatives [Line Items]        
Income tax expense $ 0 $ 0 $ 0 $ 0