XML 101 R80.htm IDEA: XBRL DOCUMENT
v3.8.0.1

Related-Party Transactions - Additional Information (Details) $ in Millions |  | 3 Months Ended | 12 Months Ended
--- | --- | --- | ---
Sep. 25, 2012 stores | Mar. 31, 2018 USD ($) | Dec. 31, 2017 USD ($) agreement | Dec. 31, 2016 USD ($) stores | Dec. 31, 2015 USD ($)
Related Party Transaction [Line Items] |  |  |  |  |
Number Of Agreements | agreement |  |  | 2 |  |
Commercial Agreement Renewal Term |  |  | 12 months |  |
Equity issued to partners capital account |  |  | $ 0 | $ 255 | $ 1,008
Advances From Affiliates, Noncurrent |  |  | 85 | 87 |
Receivables from affiliates |  |  | 155 | 3 |
Accounts payable to affiliates |  |  | $ 206 | $ 109 |
Philadelphia Energy Solutions Refining And Marketing [Member] |  |  |  |  |
Related Party Transaction [Line Items] |  |  |  |  |
Number Of Agreements | agreement |  |  | 1 |  |
Merrill Lynch Commodities [Member] |  |  |  |  |
Related Party Transaction [Line Items] |  |  |  |  |
Number Of Agreements | agreement |  |  | 1 |  |
Susser [Member] |  |  |  |  |
Related Party Transaction [Line Items] |  |  |  |  |
Commercial Agreement Distribution Agreement Term |  |  | 10 years |  |
Commercial Agreement Purchase Option Term | 3 years |  |  |  |
Commercial Agreement Number Of Convenience Stores In Purchase Option | stores | 75 |  |  |  |
Commercial Agreement Initial Term | 15 years |  |  |  |
Commercial Agreement Exclusive Distributor Term | 10 years |  |  |  |
Commercial Agreement Number Of Convenience Stores Sale Lease Back Transactions Completed | stores |  |  |  | 75 |
Sunoco Retail LLC [Member] |  |  |  |  |
Related Party Transaction [Line Items] |  |  |  |  |
Commercial Agreement Distribution Agreement Term |  |  | 10 years |  |
Philadelphia Energy Solutions [Member] |  |  |  |  |
Related Party Transaction [Line Items] |  |  |  |  |
Percentage of purchases from related party on total cost of sales |  |  | 19.60% | 20.30% | 20.80%
Philadelphia Energy Solutions [Member] |  |  |  |  |
Related Party Transaction [Line Items] |  |  |  |  |
Percentage Of Equity Interest |  |  | 33.00% |  |
Subsequent Event [Member] | PES Holdings, LLC [Member] |  |  |  |  |
Related Party Transaction [Line Items] |  |  |  |  |
Equity issued to partners capital account |  | $ 260 |  |  |
Payment for Debt Extinguishment or Debt Prepayment Cost |  | $ 35 |  |  |
Percentage Of Equity Interest |  | 25.00% |  |  |
Partners' Capital Account, Contributions |  | $ 65 |  |  |
Subsequent Event [Member] | PES Holdings, LLC [Member] | Carlyle Group, L.P. [Member] |  |  |  |  |
Related Party Transaction [Line Items] |  |  |  |  |
Percentage Of Equity Interest |  | 16.26% |  |  |
Subsequent Event [Member] | PES Holdings, LLC [Member] | ETP [Member] |  |  |  |  |
Related Party Transaction [Line Items] |  |  |  |  |
Percentage Of Equity Interest |  | 8.13% |  |  |
Subsequent Event [Member] | PES Holdings, LLC [Member] | Sunoco Logistics Partners Operations L.P. [Member] |  |  |  |  |
Related Party Transaction [Line Items] |  |  |  |  |
Repayments of Debt |  | $ 75 |  |  |

X
- Definition Advances From Affiliates, Noncurrent + References No definition available. + Details
Name: | sun_AdvancesFromAffiliatesNoncurrent
Namespace Prefix: | sun_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Commercial agreement, distribution agreement term. + References No definition available. + Details
Name: | sun_CommercialAgreementDistributionAgreementTerm
Namespace Prefix: | sun_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Commercial agreement, exclusive distributor term. + References No definition available. + Details
Name: | sun_CommercialAgreementExclusiveDistributorTerm
Namespace Prefix: | sun_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Commercial agreement, initial term. + References No definition available. + Details
Name: | sun_CommercialAgreementInitialTerm
Namespace Prefix: | sun_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Commercial agreement, number of convenience stores in purchase option. + References No definition available. + Details
Name: | sun_CommercialAgreementNumberOfConvenienceStoresInPurchaseOption
Namespace Prefix: | sun_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Commercial agreement number of convenience stores sale lease back transactions completed. + References No definition available. + Details
Name: | sun_CommercialAgreementNumberOfConvenienceStoresSaleLeaseBackTransactionsCompleted
Namespace Prefix: | sun_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

X
- Definition Commercial agreement, purchase option term. + References No definition available. + Details
Name: | sun_CommercialAgreementPurchaseOptionTerm
Namespace Prefix: | sun_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Commercial agreement renewal term. + References No definition available. + Details
Name: | sun_CommercialAgreementRenewalTerm
Namespace Prefix: | sun_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Equity Issued To Partners Capital Account + References No definition available. + Details
Name: | sun_EquityIssuedToPartnersCapitalAccount
Namespace Prefix: | sun_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Number of agreements. + References No definition available. + Details
Name: | sun_NumberOfAgreements
Namespace Prefix: | sun_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Percentage Of Equity Interest + References No definition available. + Details
Name: | sun_PercentageOfEquityInterest
Namespace Prefix: | sun_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition For an entity that discloses a concentration risk in relation to quantitative amount, which serves as the "benchmark" (or denominator) in the equation, this concept represents the concentration percentage derived from the division. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 275 -SubTopic 10 -Section 50 -Paragraph 18 -URI http://asc.fasb.org/extlink&oid=84177426&loc=d3e6351-108592 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 50 -Paragraph 20 -URI http://asc.fasb.org/extlink&oid=77997519&loc=d3e13531-108611 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 275 -SubTopic 10 -Section 50 -Paragraph 20 -URI http://asc.fasb.org/extlink&oid=84177426&loc=d3e6404-108592 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 50 -Paragraph 21 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=77997519&loc=d3e13537-108611 + Details
Name: | us-gaap_ConcentrationRiskPercentage1
Namespace Prefix: | us-gaap_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of the required periodic payments including both interest and principal payments. + 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) -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 942 -SubTopic 470 -Section 50 -Paragraph 3 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=75038535&loc=d3e64711-112823 + Details
Name: | us-gaap_DebtInstrumentPeriodicPayment
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of receivables due from an entity that is affiliated with the reporting entity by means of direct or indirect ownership, due within 1 year (or 1 business cycle). + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 850 -SubTopic 10 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=6457730&loc=d3e39599-107864 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08.(k)(1)) -URI http://asc.fasb.org/extlink&oid=26873400&loc=d3e23780-122690 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 850 -SubTopic 10 -Section 50 -Paragraph 4 -URI http://asc.fasb.org/extlink&oid=6457730&loc=d3e39622-107864 Reference 4: 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.3(a)(2)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 Reference 5: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 850 -SubTopic 10 -Section 50 -Paragraph 1 -Subparagraph (d) -URI http://asc.fasb.org/extlink&oid=6457730&loc=d3e39549-107864 + Details
Name: | us-gaap_DueFromAffiliateCurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of payable due to an entity that is affiliated with the reporting entity by means of direct or indirect ownership. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 850 -SubTopic 10 -Section 50 -Paragraph 1 -Subparagraph (d) -URI http://asc.fasb.org/extlink&oid=6457730&loc=d3e39549-107864 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08.(k)(1)) -URI http://asc.fasb.org/extlink&oid=26873400&loc=d3e23780-122690 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 946 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.6-04.12(3)) -URI http://asc.fasb.org/extlink&oid=6488278&loc=d3e603758-122996 Reference 4: 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.15(3)) -URI http://asc.fasb.org/extlink&oid=6876686&loc=d3e534808-122878 Reference 5: 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.17) -URI http://asc.fasb.org/extlink&oid=6879938&loc=d3e572229-122910 + Details
Name: | us-gaap_DueToAffiliateCurrentAndNoncurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Total contributions made by each class of partners (i.e., general, limited and preferred partners). + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.3-04) -URI http://asc.fasb.org/extlink&oid=27012166&loc=d3e187085-122770 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SAB Topic 4.F) -URI http://asc.fasb.org/extlink&oid=27012166&loc=d3e187085-122770 + Details
Name: | us-gaap_PartnersCapitalAccountContributions
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 No definition available. + Details
Name: | us-gaap_RelatedPartyTransactionLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The cash outflow during the period from the repayment of aggregate short-term and long-term debt. Excludes payment of capital lease obligations. + References No definition available. + Details
Name: | us-gaap_RepaymentsOfDebt
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Details
Name: | us-gaap_RelatedPartyTransactionsByRelatedPartyAxis=sun_PhiladelphiaEnergySolutionsRefiningAndMarketingMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RelatedPartyTransactionsByRelatedPartyAxis=sun_MerrillLynchCommoditiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RelatedPartyTransactionsByRelatedPartyAxis=sun_SusserMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RelatedPartyTransactionsByRelatedPartyAxis=sun_SunocoRetailLimitedLiabilityCompanyMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RelatedPartyTransactionsByRelatedPartyAxis=sun_PhiladelphiaEnergySolutionsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | dei_LegalEntityAxis=sun_PhiladelphiaEnergySolutionsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_SubsequentEventTypeAxis=us-gaap_SubsequentEventMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | dei_LegalEntityAxis=sun_PESHoldingsLLCMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RelatedPartyTransactionsByRelatedPartyAxis=sun_CarlyleGroupL.P.Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RelatedPartyTransactionsByRelatedPartyAxis=sun_EnergyTransferPartnersLimitedPartnershipMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RelatedPartyTransactionsByRelatedPartyAxis=sun_SunocoLogisticsPartnersOperationsL.P.Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |