XML 52 R36.htm IDEA: XBRL DOCUMENT
v3.24.1.1.u2

REVENUE RECOGNITION - Narrative (Details) $ in Millions |  |  | 3 Months Ended | 9 Months Ended
--- | --- | --- | --- | ---
Apr. 27, 2024 USD ($) store channel | Jul. 29, 2023 USD ($) | Apr. 27, 2024 USD ($) store channel | Apr. 29, 2023 USD ($) | Apr. 27, 2024 USD ($) store channel | Apr. 29, 2023 USD ($)
Disaggregation of Revenue [Line Items] |  |  |  |  |  |
Number of customer channels | channel | 5 |  | 5 |  | 5 |
Accounts receivable sold | $ 342 | $ 310 |  |  |  |
Loss on sale of accounts receivable |  |  | $ 6 | $ 4 | $ 16 | $ 9
Chains | Minimum |  |  |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |  |  |
Number of stores (more than) | store | 10 |  | 10 |  | 10 |

X
- Definition Number Of Customer Channels + References No definition available. + Details
Name: | unfi_NumberOfCustomerChannels
Namespace Prefix: | unfi_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

X
- Definition Amount of decrease from sale of accounts receivable. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 11 -Subparagraph (i) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479319/326-20-50-11 + Details
Name: | us-gaap_AccountsReceivableSale
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 606 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 5 -Publisher FASB -URI https://asc.fasb.org//1943274/2147479806/606-10-50-5 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Topic 606 -SubTopic 10 -Name Accounting Standards Codification -Section 55 -Paragraph 91 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479777/606-10-55-91 Reference 3: http://www.xbrl.org/2003/role/exampleRef -Topic 606 -SubTopic 10 -Name Accounting Standards Codification -Section 55 -Paragraph 91 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479777/606-10-55-91 Reference 4: http://www.xbrl.org/2003/role/exampleRef -Topic 606 -SubTopic 10 -Name Accounting Standards Codification -Section 55 -Paragraph 91 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479777/606-10-55-91 Reference 5: http://www.xbrl.org/2003/role/exampleRef -Topic 606 -SubTopic 10 -Name Accounting Standards Codification -Section 55 -Paragraph 91 -Subparagraph (d) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479777/606-10-55-91 Reference 6: http://www.xbrl.org/2003/role/exampleRef -Topic 606 -SubTopic 10 -Name Accounting Standards Codification -Section 55 -Paragraph 91 -Subparagraph (e) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479777/606-10-55-91 Reference 7: http://www.xbrl.org/2003/role/exampleRef -Topic 606 -SubTopic 10 -Name Accounting Standards Codification -Section 55 -Paragraph 91 -Subparagraph (f) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479777/606-10-55-91 Reference 8: http://www.xbrl.org/2003/role/exampleRef -Topic 606 -SubTopic 10 -Name Accounting Standards Codification -Section 55 -Paragraph 91 -Subparagraph (g) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479777/606-10-55-91 + Details
Name: | us-gaap_DisaggregationOfRevenueLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of gain (loss) on sale of accounts receivable. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 860 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 5 -Publisher FASB -URI https://asc.fasb.org//1943274/2147481326/860-20-50-5 + Details
Name: | us-gaap_GainLossOnSaleOfAccountsReceivable
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Represents the number of stores. + References No definition available. + Details
Name: | us-gaap_NumberOfStores
Namespace Prefix: | us-gaap_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

X
- Details
Name: | us-gaap_ContractWithCustomerSalesChannelAxis=unfi_ChainsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MinimumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |