SEGMENTS (Summary of Segment Revenues, Operating Costs and Balance Sheet Items) (Details) - USD ($) $ in Thousands |
12 Months Ended |
Aug. 31, 2026 |
Aug. 31, 2025 |
Aug. 31, 2024 |
| Segment Reporting, Entity-Wide Information Not Provided as Part of Reportable Segment, Geographical Area, Revenue and Long-Lived Asset [Line Items] |
|
|
|
| Revenue from external customers |
$ 5,876,324
|
$ 5,270,094
|
$ 4,913,898
|
| Cost of goods sold |
4,837,835
|
4,355,722
|
4,066,974
|
| Warehouse club and other operations |
562,992
|
498,409
|
466,457
|
| General and administrative |
214,480
|
183,453
|
159,523
|
| Operating income (loss) |
261,017
|
232,510
|
220,944
|
| Interest income |
13,136
|
10,139
|
11,049
|
| Interest expense |
(16,767)
|
(11,515)
|
(12,959)
|
| Provision for income taxes |
(61,112)
|
(58,617)
|
(62,618)
|
| Other segment items |
(29,688)
|
(24,630)
|
(17,541)
|
| Net income (loss) |
166,586
|
147,887
|
138,875
|
| Depreciation and amortization |
(99,502)
|
(88,161)
|
(82,611)
|
| Long-lived assets (other than deferred tax assets) |
1,440,838
|
1,210,230
|
1,110,532
|
| Goodwill |
43,286
|
43,238
|
43,197
|
| Investment in unconsolidated affiliates |
|
6,889
|
6,882
|
| Total assets |
2,602,927
|
2,269,157
|
2,022,694
|
| Capital expenditures, net |
216,709
|
154,131
|
171,542
|
| United States Operations |
|
|
|
| Segment Reporting, Entity-Wide Information Not Provided as Part of Reportable Segment, Geographical Area, Revenue and Long-Lived Asset [Line Items] |
|
|
|
| Revenue from external customers |
4,616
|
15,548
|
39,438
|
| Central American Operations |
|
|
|
| Segment Reporting, Entity-Wide Information Not Provided as Part of Reportable Segment, Geographical Area, Revenue and Long-Lived Asset [Line Items] |
|
|
|
| Revenue from external customers |
3,497,072
|
3,192,159
|
2,965,772
|
| Caribbean Operations |
|
|
|
| Segment Reporting, Entity-Wide Information Not Provided as Part of Reportable Segment, Geographical Area, Revenue and Long-Lived Asset [Line Items] |
|
|
|
| Revenue from external customers |
1,540,980
|
1,443,074
|
1,352,030
|
| Colombia Operations |
|
|
|
| Segment Reporting, Entity-Wide Information Not Provided as Part of Reportable Segment, Geographical Area, Revenue and Long-Lived Asset [Line Items] |
|
|
|
| Revenue from external customers |
833,656
|
619,313
|
556,658
|
| Operating Segments |
|
|
|
| Segment Reporting, Entity-Wide Information Not Provided as Part of Reportable Segment, Geographical Area, Revenue and Long-Lived Asset [Line Items] |
|
|
|
| Total assets |
268,594
|
300,177
|
220,076
|
| Operating Segments | United States Operations |
|
|
|
| Segment Reporting, Entity-Wide Information Not Provided as Part of Reportable Segment, Geographical Area, Revenue and Long-Lived Asset [Line Items] |
|
|
|
| Revenue from external customers |
2,199,883
|
2,001,947
|
1,798,773
|
| Cost of goods sold |
1,486
|
14,364
|
37,484
|
| Warehouse club and other operations |
0
|
0
|
0
|
| General and administrative |
209,273
|
179,696
|
156,260
|
| Operating income (loss) |
(17,664)
|
(18,401)
|
22,306
|
| Interest income |
1,801
|
1,557
|
2,382
|
| Interest expense |
(1,744)
|
(1,218)
|
(1,118)
|
| Provision for income taxes |
(24,114)
|
(19,723)
|
(20,961)
|
| Other segment items |
(559)
|
(1,870)
|
153
|
| Net income (loss) |
(40,708)
|
(38,687)
|
5,119
|
| Depreciation and amortization |
(8,137)
|
(7,751)
|
(5,963)
|
| Long-lived assets (other than deferred tax assets) |
108,934
|
90,663
|
72,727
|
| Goodwill |
8,981
|
8,981
|
8,981
|
| Investment in unconsolidated affiliates |
|
0
|
0
|
| Capital expenditures, net |
15,056
|
27,477
|
10,591
|
| Operating Segments | Central American Operations |
|
|
|
| Segment Reporting, Entity-Wide Information Not Provided as Part of Reportable Segment, Geographical Area, Revenue and Long-Lived Asset [Line Items] |
|
|
|
| Revenue from external customers |
3,530,044
|
3,226,359
|
2,996,873
|
| Cost of goods sold |
2,875,587
|
2,632,429
|
2,448,195
|
| Warehouse club and other operations |
315,568
|
286,736
|
265,157
|
| General and administrative |
2,993
|
3,447
|
2,323
|
| Operating income (loss) |
245,416
|
216,588
|
183,486
|
| Interest income |
6,888
|
6,262
|
7,291
|
| Interest expense |
(3,577)
|
(3,134)
|
(2,843)
|
| Provision for income taxes |
(29,632)
|
(29,601)
|
(31,761)
|
| Other segment items |
(11,426)
|
(5,936)
|
(8,545)
|
| Net income (loss) |
211,126
|
188,269
|
148,117
|
| Depreciation and amortization |
(50,044)
|
(45,111)
|
(42,990)
|
| Long-lived assets (other than deferred tax assets) |
721,724
|
659,756
|
614,382
|
| Goodwill |
24,288
|
24,254
|
24,193
|
| Investment in unconsolidated affiliates |
|
6,889
|
6,882
|
| Total assets |
1,321,892
|
1,147,392
|
1,065,493
|
| Capital expenditures, net |
97,377
|
78,241
|
108,506
|
| Operating Segments | Caribbean Operations |
|
|
|
| Segment Reporting, Entity-Wide Information Not Provided as Part of Reportable Segment, Geographical Area, Revenue and Long-Lived Asset [Line Items] |
|
|
|
| Revenue from external customers |
1,550,335
|
1,450,564
|
1,357,671
|
| Cost of goods sold |
1,264,797
|
1,187,006
|
1,111,804
|
| Warehouse club and other operations |
152,608
|
143,332
|
133,723
|
| General and administrative |
1,240
|
134
|
821
|
| Operating income (loss) |
96,861
|
89,036
|
74,875
|
| Interest income |
4,056
|
2,100
|
1,175
|
| Interest expense |
(5,724)
|
(1,955)
|
(2,719)
|
| Provision for income taxes |
(5,259)
|
(6,766)
|
(8,880)
|
| Other segment items |
(19,260)
|
(15,364)
|
(7,235)
|
| Net income (loss) |
68,599
|
65,354
|
56,438
|
| Depreciation and amortization |
(25,930)
|
(22,527)
|
(19,607)
|
| Long-lived assets (other than deferred tax assets) |
353,572
|
262,543
|
224,019
|
| Goodwill |
10,017
|
10,003
|
10,023
|
| Investment in unconsolidated affiliates |
|
0
|
0
|
| Total assets |
631,026
|
534,654
|
451,265
|
| Capital expenditures, net |
88,410
|
39,488
|
38,777
|
| Operating Segments | Colombia Operations |
|
|
|
| Segment Reporting, Entity-Wide Information Not Provided as Part of Reportable Segment, Geographical Area, Revenue and Long-Lived Asset [Line Items] |
|
|
|
| Revenue from external customers |
843,652
|
625,806
|
561,473
|
| Cost of goods sold |
695,965
|
521,923
|
469,491
|
| Warehouse club and other operations |
94,816
|
68,341
|
67,577
|
| General and administrative |
974
|
176
|
119
|
| Operating income (loss) |
32,765
|
28,588
|
15,335
|
| Interest income |
391
|
220
|
201
|
| Interest expense |
(5,722)
|
(5,208)
|
(6,279)
|
| Provision for income taxes |
(2,107)
|
(2,527)
|
(1,016)
|
| Other segment items |
1,557
|
(1,460)
|
(1,914)
|
| Net income (loss) |
23,578
|
16,255
|
4,224
|
| Depreciation and amortization |
(15,391)
|
(12,772)
|
(14,051)
|
| Long-lived assets (other than deferred tax assets) |
256,608
|
197,268
|
199,404
|
| Goodwill |
0
|
0
|
0
|
| Investment in unconsolidated affiliates |
|
0
|
0
|
| Total assets |
381,415
|
286,934
|
285,860
|
| Capital expenditures, net |
15,866
|
8,925
|
13,668
|
| Reconciling Items |
|
|
|
| Segment Reporting, Entity-Wide Information Not Provided as Part of Reportable Segment, Geographical Area, Revenue and Long-Lived Asset [Line Items] |
|
|
|
| Cost of goods sold |
0
|
0
|
0
|
| Warehouse club and other operations |
0
|
0
|
0
|
| General and administrative |
0
|
0
|
0
|
| Operating income (loss) |
(96,361)
|
(83,301)
|
(75,058)
|
| Interest income |
0
|
0
|
0
|
| Interest expense |
0
|
0
|
0
|
| Provision for income taxes |
0
|
0
|
0
|
| Other segment items |
0
|
0
|
0
|
| Net income (loss) |
(96,009)
|
(83,304)
|
(75,023)
|
| Depreciation and amortization |
0
|
0
|
0
|
| Long-lived assets (other than deferred tax assets) |
0
|
0
|
0
|
| Goodwill |
0
|
0
|
0
|
| Investment in unconsolidated affiliates |
|
0
|
0
|
| Total assets |
0
|
0
|
0
|
| Capital expenditures, net |
0
|
0
|
0
|
| Corporate And Eliminations |
|
|
|
| Segment Reporting, Entity-Wide Information Not Provided as Part of Reportable Segment, Geographical Area, Revenue and Long-Lived Asset [Line Items] |
|
|
|
| Revenue from external customers |
(2,247,590)
|
(2,034,582)
|
(1,800,892)
|
| Intersegment revenues |
|
|
|
| Segment Reporting, Entity-Wide Information Not Provided as Part of Reportable Segment, Geographical Area, Revenue and Long-Lived Asset [Line Items] |
|
|
|
| Revenue from external customers |
(2,247,590)
|
(2,034,582)
|
(1,800,892)
|
| Cost of goods sold |
(2,151,229)
|
(1,951,281)
|
(1,725,834)
|
| General and administrative |
0
|
0
|
0
|
| Interest income |
(10,110)
|
(13,009)
|
(9,014)
|
| Interest expense |
10,462
|
13,006
|
9,049
|
| Intersegment revenues | United States Operations |
|
|
|
| Segment Reporting, Entity-Wide Information Not Provided as Part of Reportable Segment, Geographical Area, Revenue and Long-Lived Asset [Line Items] |
|
|
|
| Revenue from external customers |
2,195,267
|
1,986,399
|
1,759,335
|
| Cost of goods sold |
2,100,031
|
1,904,809
|
1,685,054
|
| General and administrative |
(93,243)
|
(78,521)
|
(102,331)
|
| Interest income |
4,694
|
5,656
|
4,618
|
| Interest expense |
(3,122)
|
(4,688)
|
(2,261)
|
| Intersegment revenues | Central American Operations |
|
|
|
| Segment Reporting, Entity-Wide Information Not Provided as Part of Reportable Segment, Geographical Area, Revenue and Long-Lived Asset [Line Items] |
|
|
|
| Revenue from external customers |
32,972
|
34,200
|
31,101
|
| Cost of goods sold |
32,201
|
33,507
|
30,385
|
| General and administrative |
58,279
|
53,652
|
67,327
|
| Interest income |
5,414
|
6,955
|
4,020
|
| Interest expense |
(1,957)
|
(2,865)
|
(3,531)
|
| Intersegment revenues | Caribbean Operations |
|
|
|
| Segment Reporting, Entity-Wide Information Not Provided as Part of Reportable Segment, Geographical Area, Revenue and Long-Lived Asset [Line Items] |
|
|
|
| Revenue from external customers |
9,355
|
7,490
|
5,641
|
| Cost of goods sold |
9,202
|
6,620
|
5,676
|
| General and administrative |
25,627
|
24,436
|
30,772
|
| Interest income |
2
|
398
|
376
|
| Interest expense |
(2,077)
|
(2,095)
|
(1,154)
|
| Intersegment revenues | Colombia Operations |
|
|
|
| Segment Reporting, Entity-Wide Information Not Provided as Part of Reportable Segment, Geographical Area, Revenue and Long-Lived Asset [Line Items] |
|
|
|
| Revenue from external customers |
9,996
|
6,493
|
4,815
|
| Cost of goods sold |
9,795
|
6,345
|
4,719
|
| General and administrative |
9,337
|
433
|
4,232
|
| Interest income |
0
|
0
|
0
|
| Interest expense |
(3,306)
|
(3,358)
|
(2,103)
|
| Reconciling Item |
|
|
|
| Segment Reporting, Entity-Wide Information Not Provided as Part of Reportable Segment, Geographical Area, Revenue and Long-Lived Asset [Line Items] |
|
|
|
| Revenue from external customers |
$ 0
|
$ 0
|
$ 0
|