v3.26.3
INCOME TAXES (Schedule of Reconciliation of Effective Tax Rate) (Details) - USD ($)
$ in Thousands
12 Months Ended
Aug. 31, 2026
Aug. 31, 2025
Aug. 31, 2024
Effective Income Tax Rate Reconciliation [Line Items]      
Tax Jurisdiction of Domicile [Extensible Enumeration] U.S. federal U.S. federal U.S. federal
Amount      
US Federal Statutory Rate $ 47,816 $ 43,365 $ 42,300
State and local taxes net of federal 1,240 760 739
Foreign-derived intangible income deduction (8,933) (9,083) (4,653)
Other 1,729 1,406 0
Foreign tax credits (27,665) (20,850) (23,668)
Other (444) (541) (242)
Changes in Unrecognized Tax Benefits (607) (242) (314)
Provision for income taxes $ 61,112 $ 58,617 $ 62,618
Percent      
US Federal Statutory Rate 21.00% 21.00% 21.00%
State and local taxes net of federal 0.50% 0.40% 0.40%
Foreign-derived intangible income deduction (3.90%) (4.40%) (2.30%)
Other 0.80% 0.70% 0.00%
Foreign tax credits (12.20%) (10.10%) (11.80%)
Other (0.20%) (0.30%) (0.10%)
Changes in Unrecognized Tax Benefits (0.30%) (0.10%) (0.20%)
Effective Tax Rate 26.80% 28.40% 31.10%
Preferential U.S. effective tax rate 13.10%    
Costa Rica      
Amount      
Statutory tax rate difference vs U.S. $ 3,710 $ 3,935 $ 3,997
Withholding taxes 4,963 3,894 3,234
Other $ (1,205) $ (753) $ (968)
Percent      
Statutory tax rate difference vs U.S. 1.60% 1.90% 2.00%
Withholding taxes 2.20% 1.90% 1.60%
Other (0.50%) (0.40%) (0.50%)
Guatemala      
Amount      
Withholding taxes $ 5,682 $ 3,961 $ 4,363
Other $ 409 $ 555 $ 436
Percent      
Withholding taxes 2.50% 1.90% 2.20%
Other 0.20% 0.30% 0.20%
Colombia      
Amount      
Withholding taxes $ 3,780 $ 739 $ 1,676
Other $ 1,785 $ 2,195 $ 1,471
Percent      
Withholding taxes 1.70% 0.40% 0.80%
Other 0.80% 1.10% 0.70%
Dominican Republic      
Amount      
Withholding taxes $ 5,026 $ 4,021 $ 5,184
Other $ (425) $ 871 $ (487)
Percent      
Withholding taxes 2.20% 1.90% 2.60%
Other (0.20%) 0.40% (0.20%)
El Salvador      
Amount      
Withholding taxes $ 2,395 $ 2,300 $ 2,585
Other $ 1,447 $ 1,420 $ 1,499
Percent      
Withholding taxes 1.10% 1.10% 1.30%
Other 0.60% 0.70% 0.70%
Honduras      
Amount      
Withholding taxes $ 1,923 $ 2,016 $ 2,252
Other $ 1,910 $ 2,054 $ 1,475
Percent      
Withholding taxes 0.80% 1.00% 1.10%
Other 0.80% 1.00% 0.70%
Trinidad      
Amount      
Withholding taxes $ 923 $ 827 $ 625
Other $ 2,504 $ 1,414 $ 2,715
Percent      
Withholding taxes 0.40% 0.40% 0.30%
Other 1.10% 0.70% 1.40%
Nicaragua      
Amount      
Withholding taxes $ 1,722 $ 1,597 $ 1,558
Other $ 1,181 $ 1,175 $ 1,573
Percent      
Withholding taxes 0.80% 0.80% 0.80%
Other 0.50% 0.50% 0.80%
Panama      
Amount      
Withholding taxes $ 2,328 $ 2,249 $ 2,616
Other $ 175 $ 867 $ 627
Percent      
Withholding taxes 1.00% 1.10% 1.30%
Other 0.10% 0.40% 0.30%
Other Foreign Jurisdictions      
Amount      
Statutory tax rate difference vs U.S. $ 480 $ 1,051 $ 70
Percent      
Statutory tax rate difference vs U.S. 0.20% 0.50%  
U.S. federal      
Amount      
Other $ (437) $ (237) (94)
Changes in valuation allowances 8,220 6,183 11,935
Nontaxable or Nondeductible Items $ (520) $ 1,468 $ 114
Percent      
Other (0.20%) (0.10%) 0.00%
Changes in valuation allowances 3.60% 3.00% 5.90%
Nontaxable or Nondeductible Items (0.20%) 0.70% 0.10%