XML 82 R71.htm IDEA: XBRL DOCUMENT
v3.23.1

Leases - Lease cost (Details) - USD ($) $ in Thousands | 12 Months Ended
--- | ---
Oct. 01, 2022 | Oct. 02, 2021 | Oct. 03, 2020
Leases |  |  |
Operating lease expense | $ 23,978 | $ 21,455 | $ 20,670
Cash paid for operating lease liabilities | $ 19,249 | $ 19,531 |

X
- Definition Rental expense for the reporting period incurred under operating leases, net of sublease income. + References No definition available. + Details
Name: | sanm_OperatingLeasesRentExpenseNetOfSubleaseIncome
Namespace Prefix: | sanm_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

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

X
- Definition Amount of cash outflow from operating lease, excluding payments to bring another asset to condition and location necessary for its intended use. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 842 -SubTopic 20 -Section 45 -Paragraph 5 -Subparagraph (c) -URI https://asc.fasb.org/extlink&oid=123391704&loc=SL77918643-209977 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 842 -SubTopic 20 -Section 50 -Paragraph 4 -Subparagraph (g)(1) -URI https://asc.fasb.org/extlink&oid=128292326&loc=SL77918686-209980 + Details
Name: | us-gaap_OperatingLeasePayments
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration