XML 106 R89.htm IDEA: XBRL DOCUMENT v3.23.3
INCOME TAXES (Narrative) (Details)
$ in Thousands
12 Months Ended
Aug. 31, 2023
USD ($)
country
Aug. 31, 2022
USD ($)
Aug. 31, 2021
USD ($)
Aug. 31, 2020
USD ($)
Income Tax Contingency [Line Items]        
Provision for income taxes, percentage 35.40% 33.20% 33.30%  
Effective income tax rate reconciliation, favorable impact due to income falling into lower tax jurisdiction, percent 2.00%      
Effective tax rate reconciliation, tax settlement, foreign, percent 1.80%      
Effective income tax rate reconciliation, nondeductible expense, impairment losses, percent 2.20%      
Deferred tax assets $ 26,800 $ 22,600    
Undistributed foreign earnings 369,600 335,500    
Unrecognized tax benefits 4,745 5,041 $ 3,911 $ 4,573
Deferred income taxes that could reduce unrecognized tax benefits 1,400      
Timing adjustments 300      
Unrecognized tax benefit, net amount if recognized would favorably affect the effective tax rate 4,400      
Unrecognized tax benefits, income tax penalties and interest accrued 1,600 1,500    
Expected change in unrecognized tax benefits reduction of taxes payable (up to) $ 600      
Number of countries that require the Company to pay taxes based on a percentage of sales rather than income | country 2      
Income taxes receivable $ 36,925 32,062    
Foreign Tax Authority        
Income Tax Contingency [Line Items]        
Liability adjustment from settlement with taxing authority 7,200      
Foreign Tax Authority | Year Of Dispute        
Income Tax Contingency [Line Items]        
Liability adjustment from settlement with taxing authority 1,000      
Foreign Tax Authority | Year Following The Dispute Year        
Income Tax Contingency [Line Items]        
Liability adjustment from settlement with taxing authority 6,200      
Two Countries        
Income Tax Contingency [Line Items]        
Income taxes receivable 10,700 11,000    
Deferred tax assets, net $ 3,700 $ 3,500