XML 50 R38.htm IDEA: XBRL DOCUMENT
v3.8.0.1

LONG-TERM DEBT (Details) - USD ($) $ in Thousands | 3 Months Ended | 9 Months Ended |  |
--- | --- | --- | --- | ---
Apr. 28, 2018 | Apr. 29, 2017 | Apr. 28, 2018 | Apr. 29, 2017 | Jul. 29, 2017 | Aug. 14, 2014
Long-term debt instrument |  |  |  |  |  |
Repayments of Long-term Debt |  |  | $ 9,043 | $ 8,531 |  |
Long term debt, including current portion, carrying value | $ 153,163 |  | 153,163 |  | $ 161,991 |
Interest expense | 4,468 | $ 4,225 | 12,368 | 13,188 |  |
Term loan |  |  |  |  |  |
Long-term debt instrument |  |  |  |  |  |
Repayments of Long-term Debt |  |  | 2,500 |  |  |
Long term debt, including current portion, carrying value | 111,300 |  | 111,300 |  |  |
Capital lease obligation |  |  |  |  |  |
Long-term debt instrument |  |  |  |  |  |
Interest Expense, Lessee, Assets under Capital Lease | $ 400 | 400 | $ 1,200 | 1,200 |  |
Lease Term |  |  | 10 years |  |  |
Effective interest rate on debt | 12.05% |  | 12.05% |  |  |
Capital Lease Obligation | $ 12,500 |  | $ 12,500 |  |  |
Sale Leaseback Financing Obligation |  |  |  |  |  |
Long-term debt instrument |  |  |  |  |  |
Long term debt, including current portion, carrying value | $ 29,400 |  | $ 29,400 |  |  |
Effective interest rate on debt | 7.32% |  | 7.32% |  |  |
Interest expense | $ 500 | $ 600 | $ 1,600 | $ 1,700 |  |
Base Rate [Member] | Term loan |  |  |  |  |  |
Long-term debt instrument |  |  |  |  |  |
initial applicable margin |  |  | 0.75% |  |  |
Federal Funds Effective Swap Rate [Member] | Term loan |  |  |  |  |  |
Long-term debt instrument |  |  |  |  |  |
Debt Instrument, Description of Variable Rate Basis |  |  | overnight federal funds effective rate |  |  |
Debt Instrument, Basis Spread on Variable Rate |  |  | 0.50% |  |  |
One-month LIBOR | Term loan |  |  |  |  |  |
Long-term debt instrument |  |  |  |  |  |
Debt Instrument, Description of Variable Rate Basis |  |  | one-month LIBOR |  |  |
Debt Instrument, Basis Spread on Variable Rate |  |  | 1.00% |  |  |
LIBOR | Term loan |  |  |  |  |  |
Long-term debt instrument |  |  |  |  |  |
Debt Instrument, Description of Variable Rate Basis |  |  | one, two, three or six months or, if approved by all affected lenders, nine months |  |  |
initial applicable margin |  |  | 1.75% |  |  |
Term loan |  |  |  |  |  |
Long-term debt instrument |  |  |  |  |  |
Proceeds from borrowings of long-term debt |  |  |  |  |  | $ 150,000
Term loan | Minimum |  |  |  |  |  |
Long-term debt instrument |  |  |  |  |  |
Proceeds from Issuance of Debt |  |  | $ 10,000 |  |  |
Term loan | Maximum |  |  |  |  |  |
Long-term debt instrument |  |  |  |  |  |
Proceeds from Issuance of Debt |  |  | $ 50,000 |  |  |

X
- Definition The applicable margin percentage points added to the debt instrument. + References No definition available. + Details
Name: | unfi_Initialapplicablemargin
Namespace Prefix: | unfi_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Lease Term + References No definition available. + Details
Name: | unfi_LeaseTerm
Namespace Prefix: | unfi_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount equal to the present value (the principal) at the beginning of the lease term of minimum lease payments during the lease term (excluding that portion of the payments representing executory costs such as insurance, maintenance, and taxes to be paid by the lessor, together with any profit thereon) net of payments or other amounts applied to the principal through the balance sheet date. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 840 -SubTopic 30 -Section 50 -Paragraph 1 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=84164817&loc=d3e45280-112737 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(22)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-03(a)(16)) -URI http://asc.fasb.org/extlink&oid=6879938&loc=d3e572229-122910 + Details
Name: | us-gaap_CapitalLeaseObligations
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Sum of the carrying values as of the balance sheet date of all debt, including all short-term borrowings, long-term debt, and capital lease obligations. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03.13,16) -URI http://asc.fasb.org/extlink&oid=6876686&loc=d3e534808-122878 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-03.16) -URI http://asc.fasb.org/extlink&oid=6879938&loc=d3e572229-122910 + Details
Name: | us-gaap_DebtAndCapitalLeaseObligations
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Percentage points added to the reference rate to compute the variable rate on the debt instrument. + References No definition available. + Details
Name: | us-gaap_DebtInstrumentBasisSpreadOnVariableRate1
Namespace Prefix: | us-gaap_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition The reference rate for the variable rate of the debt instrument, such as LIBOR or the US Treasury rate and the maturity of the reference rate used, such as three months or six months LIBOR. + References No definition available. + Details
Name: | us-gaap_DebtInstrumentDescriptionOfVariableRateBasis
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Effective interest rate for the funds borrowed under the debt agreement considering interest compounding and original issue discount or premium. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.22(a)(1)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 45 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=64930785&loc=d3e28551-108399 + Details
Name: | us-gaap_DebtInstrumentInterestRateEffectivePercentage
Namespace Prefix: | us-gaap_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | instant

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 No definition available. + Details
Name: | us-gaap_DebtInstrumentLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of the cost of borrowed funds accounted for as interest expense. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 20 -Section 50 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=6450988&loc=d3e26243-108391 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 45 -Paragraph 3 -URI http://asc.fasb.org/extlink&oid=64930785&loc=d3e28555-108399 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 225 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-04.9) -URI http://asc.fasb.org/extlink&oid=6879574&loc=d3e536633-122882 + Details
Name: | us-gaap_InterestExpense
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The amount, during the lease term, of each minimum [capital] lease payment allocated to interest expense so as to produce a constant periodic rate of interest on the remaining balance of the capital lease obligation. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 840 -SubTopic 30 -Section 35 -Paragraph 6 -URI http://asc.fasb.org/extlink&oid=77915053&loc=d3e43161-112731 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 225 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03.8) -URI http://asc.fasb.org/extlink&oid=63488584&loc=d3e20235-122688 + Details
Name: | us-gaap_InterestExpenseLesseeAssetsUnderCapitalLease
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount, after unamortized (discount) premium and debt issuance costs, of long-term debt. Includes, but not limited to, notes payable, bonds payable, debentures, mortgage loans and commercial paper. Excludes capital lease obligations. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-03(a)(16)) -URI http://asc.fasb.org/extlink&oid=6879938&loc=d3e572229-122910 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(16)) -URI http://asc.fasb.org/extlink&oid=6876686&loc=d3e534808-122878 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(22)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_LongTermDebt
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The cash inflow during the period from additional borrowings in aggregate debt. Includes proceeds from short-term and long-term debt. + References No definition available. + Details
Name: | us-gaap_ProceedsFromIssuanceOfDebt
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The cash outflow for debt initially having maturity due after one year or beyond the normal operating cycle, if longer. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 15 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=98514028&loc=d3e3291-108585 + Details
Name: | us-gaap_RepaymentsOfLongTermDebt
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Details
Name: | us-gaap_DebtInstrumentAxis=unfi_RealestatebackedtermloanMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=us-gaap_CapitalLeaseObligationsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=unfi_SaleLeasebackFinancingObligationMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_VariableRateAxis=us-gaap_BaseRateMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_VariableRateAxis=us-gaap_FederalFundsEffectiveSwapRateMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_VariableRateAxis=unfi_OnemonthLIBORMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_VariableRateAxis=us-gaap_LondonInterbankOfferedRateLIBORMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_LongtermDebtTypeAxis=unfi_RealestatebackedtermloanMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RangeAxis=us-gaap_MinimumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RangeAxis=us-gaap_MaximumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |