XML 47 R37.htm IDEA: XBRL DOCUMENT
v3.23.2

Revenue Recognition - Narrative (Details) - USD ($) $ in Millions | 3 Months Ended | 9 Months Ended |
--- | --- | --- | ---
May 27, 2023 | May 28, 2022 | May 27, 2023 | May 28, 2022 | Aug. 27, 2022
Revenue from Contract with Customer [Abstract] |  |  |  |  |
Percentage of revenues derived from route servicing fees | 88.50% | 91.00% | 88.40% | 91.20% |
Current assets related to deferred commissions | $ 16.1 |  | $ 16.1 |  | $ 15.2
Noncurrent assets related to deferred commissions | 69.1 |  | 69.1 |  | $ 65.1
Amortization expense related to deferred commissions | $ 4.2 | $ 3.9 | $ 12.3 | $ 11.5 |

X
- Definition Revenue From Contracts With Customers, Percentage Of Revenues From Route Servicing Fees + References No definition available. + Details
Name: | unf_RevenueFromContractsWithCustomersPercentageOfRevenuesFromRouteServicingFees
Namespace Prefix: | unf_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition The amount of expense recognized in the current period for the periodic realization of capitalized fees that were paid to salespeople, distributors, brokers, and agents at the time of the conclusion of the sale. As a noncash expense, this element is added back to net income when calculating cash provided by or used in operations using the indirect method. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03.3) -URI https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=126954810&loc=d3e3602-108585 + Details
Name: | us-gaap_AmortizationOfDeferredSalesCommissions
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount, after accumulated amortization and accumulated impairment loss, of asset recognized from cost incurred to obtain or fulfill contract with customer; classified as current. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 340 -SubTopic 40 -Section 50 -Paragraph 3 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=126905575&loc=SL49131252-203054 + Details
Name: | us-gaap_CapitalizedContractCostNetCurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount, after accumulated amortization and accumulated impairment loss, of asset recognized from cost incurred to obtain or fulfill contract with customer; classified as noncurrent. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 340 -SubTopic 40 -Section 50 -Paragraph 3 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=126905575&loc=SL49131252-203054 + Details
Name: | us-gaap_CapitalizedContractCostNetNoncurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- References No definition available. + Details
Name: | us-gaap_RevenueFromContractWithCustomerAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration