XML 77 R61.htm IDEA: XBRL DOCUMENT
v3.22.0.1

Debt and Finance Lease Obligations, Credit Facilities (Details) | 12 Months Ended |  |  |  |  |  |  |
--- | --- | --- | --- | --- | --- | --- | --- | ---
Dec. 31, 2021 USD ($) | Apr. 12, 2021 USD ($) | Dec. 31, 2020 USD ($) | Dec. 31, 2019 USD ($) | Dec. 31, 2021 CAD ($) | Nov. 30, 2021 CAD ($) | Sep. 30, 2021 USD ($) | Jul. 31, 2021 USD ($) | Jun. 30, 2021 USD ($) | Mar. 31, 2021 USD ($) | Apr. 30, 2020 USD ($)
Valero Revolver [Member] | Credit Facilities [Member] |  |  |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility |  |  |  |  |  |  |  |  |  |  |  |  |
Facility amount |  | $ 4,000,000,000 |  |  |  |  |  |  |  |  |  |  |
Outstanding borrowings or letters of credit issued |  | 0 |  |  |  |  |  |  |  |  |  |  |
Availability |  | 3,712,000,000 |  |  |  |  |  |  |  |  |  |  |
Valero Revolver Letter of Credit [Member] | Credit Facilities [Member] |  |  |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility |  |  |  |  |  |  |  |  |  |  |  |  |
Facility amount |  | 2,400,000,000 |  |  |  |  |  |  |  |  |  |  |
Outstanding borrowings or letters of credit issued | [1] | 288,000,000 |  |  |  |  |  |  |  |  |  |  |
Canadian Revolver [Member] | Credit Facilities [Member] |  |  |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility |  |  |  |  |  |  |  |  |  |  |  |  |
Facility amount |  |  |  |  |  |  | $ 150,000,000 | $ 150,000,000 |  |  |  |  |
Outstanding borrowings or letters of credit issued, short-term |  |  |  |  |  |  | 0 |  |  |  |  |  |
Availability |  |  |  |  |  |  | 145,000,000 |  |  |  |  |  |
Canadian Revolver Letter of Credit [Member] | Credit Facilities [Member] |  |  |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility |  |  |  |  |  |  |  |  |  |  |  |  |
Outstanding borrowings or letters of credit issued, short-term | [1] |  |  |  |  |  | $ 5,000,000 |  |  |  |  |  |
Accounts Receivable Sales Facility [Member] | Credit Facilities [Member] |  |  |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility |  |  |  |  |  |  |  |  |  |  |  |  |
Facility amount |  | 1,300,000,000 |  |  |  |  |  |  |  | $ 1,300,000,000 | $ 1,000,000,000 |  |
Outstanding borrowings or letters of credit issued, short-term |  | 0 |  |  |  |  |  |  |  |  |  |  |
Availability |  | 1,300,000,000 |  |  |  |  |  |  |  |  |  |  |
Credit Facilities (Textual) |  |  |  |  |  |  |  |  |  |  |  |  |
Designated pool of accounts receivable |  | 2,800,000,000 |  |  | $ 1,400,000,000 |  |  |  |  |  |  |  |
Borrowings, short-term credit facilities |  | 0 |  |  | 300,000,000 | $ 900,000,000 |  |  |  |  |  |  |
364-Day Revolving Credit Facility [Member] | Credit Facilities [Member] |  |  |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility |  |  |  |  |  |  |  |  |  |  |  |  |
Facility amount |  |  |  |  |  |  |  |  |  |  |  |  | $ 875,000,000
Credit Facilities (Textual) |  |  |  |  |  |  |  |  |  |  |  |  |
Borrowings, short-term credit facilities |  |  |  | $ 0 |  |  |  |  |  |  |  |  |
DGD Revolver [Member] | Credit Facilities [Member] | DGD [Member] | Variable Interest Entity, Primary Beneficiary [Member] |  |  |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility |  |  |  |  |  |  |  |  |  |  |  |  |
Facility amount |  | 400,000,000 | [2] |  |  |  |  |  |  |  |  | $ 400,000,000 |
Outstanding borrowings or letters of credit issued | [2] | 100,000,000 |  |  |  |  |  |  |  |  |  |  |
Availability | [2] | $ 300,000,000 |  |  |  |  |  |  |  |  |  |  |
Credit Facilities (Textual) |  |  |  |  |  |  |  |  |  |  |  |  |
Option to increase aggregate commitments under line of credit facility, increase limit, subject to certain restrictions |  |  |  |  |  |  |  |  |  |  |  | 550,000,000 |
Interest rate of credit facility at period end (percent) |  | 1.86% |  |  |  |  | 1.86% |  |  |  |  |  |
DGD Revolver Letter of Credit [Member] | Credit Facilities [Member] | DGD [Member] | Variable Interest Entity, Primary Beneficiary [Member] |  |  |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility |  |  |  |  |  |  |  |  |  |  |  |  |
Facility amount |  |  |  |  |  |  |  |  | $ 50,000,000 |  |  | $ 10,000,000 |
Outstanding borrowings or letters of credit issued | [1],[2] | $ 0 |  |  |  |  |  |  |  |  |  |  |
Credit Facilities (Textual) |  |  |  |  |  |  |  |  |  |  |  |  |
Debt instrument, covenant, indebtedness limitation |  |  |  |  |  |  |  |  | $ 25,000,000 |  |  |  |
DGD Loan Agreement [Member] | Credit Facilities [Member] | DGD [Member] | Darling Ingredients Inc. [Member] |  |  |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility |  |  |  |  |  |  |  |  |  |  |  |  |
Facility amount |  | 25,000,000 |  |  |  |  |  |  |  |  |  |  |
DGD Loan Agreement [Member] | Credit Facilities [Member] | DGD [Member] | Variable Interest Entity, Primary Beneficiary [Member] |  |  |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility |  |  |  |  |  |  |  |  |  |  |  |  |
Facility amount |  | 50,000,000 |  |  |  |  |  |  |  |  |  |  |
Credit Facilities (Textual) |  |  |  |  |  |  |  |  |  |  |  |  |
Borrowings, short-term credit facilities |  | $ 25,000,000 |  |  | 0 | 0 |  |  |  |  |  |  |
Interest rate of credit facility at period end (percent) |  | 2.603% |  |  |  |  | 2.603% |  |  |  |  |  |
DGD Loan Agreement [Member] | Credit Facilities [Member] | DGD [Member] | Variable Interest Entity, Primary Beneficiary [Member] | Valero Energy Corporation [Member] |  |  |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility |  |  |  |  |  |  |  |  |  |  |  |  |
Facility amount | [2],[3] | $ 25,000,000 |  |  |  |  |  |  |  |  |  |  |
Outstanding borrowings or letters of credit issued, short-term | [2],[3] | 25,000,000 |  |  |  |  |  |  |  |  |  |  |
Availability | [2],[3] | 0 |  |  |  |  |  |  |  |  |  |  |
IEnova Revolver [Member] | Credit Facilities [Member] | Central Mexico Terminals [Member] | Variable Interest Entity, Primary Beneficiary [Member] |  |  |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility |  |  |  |  |  |  |  |  |  |  |  |  |
Outstanding borrowings or letters of credit issued, short-term | [2] | 679,000,000 |  |  |  |  |  |  |  |  |  |  |
Credit Facilities (Textual) |  |  |  |  |  |  |  |  |  |  |  |  |
Borrowings, short-term credit facilities |  | $ 81,000,000 |  |  | $ 250,000,000 | 239,000,000 |  |  |  |  |  |  |
Interest rate of credit facility at period end (percent) |  | 3.781% |  |  | 3.87% |  | 3.781% |  |  |  |  |  |
IEnova Revolver [Member] | Credit Facilities [Member] | Central Mexico Terminals [Member] | Variable Interest Entity, Primary Beneficiary [Member] |  |  |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility |  |  |  |  |  |  |  |  |  |  |  |  |
Facility amount |  | $ 830,000,000 | [2] |  | $ 660,000,000 | $ 491,000,000 |  |  |  |  |  |  |
Availability | [2] | 151,000,000 |  |  |  |  |  |  |  |  |  |  |
Committed Letter of Credit Facility [Member] | Credit Facilities [Member] |  |  |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility |  |  |  |  |  |  |  |  |  |  |  |  |
Facility amount |  | 50,000,000 |  |  |  |  |  |  |  |  |  |  |
Outstanding borrowings or letters of credit issued, short-term | [1] | 0 |  |  |  |  |  |  |  |  |  |  |
Availability |  | 50,000,000 |  |  |  |  |  |  |  |  |  |  |
Uncommitted Letter of Credit Facility [Member] | Credit Facilities [Member] |  |  |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility |  |  |  |  |  |  |  |  |  |  |  |  |
Outstanding borrowings or letters of credit issued, short-term | [1] | $ 331,000,000 |  |  |  |  |  |  |  |  |  |  |
[1] | Letters of credit issued as of December 31, 2021 expire at various times in 2022 through 2023.
[2] | Creditors of the VIEs do not have recourse against us.
[3] | The amounts shown for this facility represent the facility amount available from, and borrowings outstanding to, the noncontrolling member as any transactions between DGD and us under this facility are eliminated in consolidation.

X
- Definition The carrying value as of the balance sheet date of the current and noncurrent portions of long-term obligations drawn from a line of credit, which is a bank's commitment to make loans up to a specific amount. Examples of items that might be included in the application of this element may consist of letters of credit, standby letters of credit, and revolving credit arrangements, under which borrowings can be made up to a maximum amount as of any point in time conditional on satisfaction of specified terms before, as of and after the date of drawdowns on the line. Includes short-term obligations that would normally be classified as current liabilities but for which (a) postbalance sheet date issuance of a long term obligation to refinance the short term obligation on a long term basis, or (b) the enterprise has entered into a financing agreement that clearly permits the enterprise to refinance the short-term obligation on a long term basis and the following conditions are met (1) the agreement does not expire within 1 year and is not cancelable by the lender except for violation of an objectively determinable provision, (2) no violation exists at the BS date, and (3) the lender has entered into the financing agreement is expected to be financially capable of honoring the agreement. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -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=120391452&loc=d3e13212-122682 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -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=120398452&loc=d3e534808-122878 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -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=120400017&loc=d3e572229-122910 + Details
Name: | us-gaap_LineOfCredit
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

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

X
- Definition The effective interest rate at the end of the reporting period. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.19(b),22(b)) -URI http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_LineOfCreditFacilityInterestRateAtPeriodEnd
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Maximum borrowing capacity under the credit facility without consideration of any current restrictions on the amount that could be borrowed or the amounts currently outstanding under the facility. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.19(b),22(b)) -URI http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of borrowing capacity currently available under the credit facility (current borrowing capacity less the amount of borrowings outstanding). + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.19(b),22(b)) -URI http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_LineOfCreditFacilityRemainingBorrowingCapacity
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The cash inflow from a borrowing having initial term of repayment within one year or the normal operating cycle, if longer. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 14 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=123570139&loc=d3e3255-108585 + Details
Name: | us-gaap_ProceedsFromShortTermDebt
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Reflects the total carrying amount as of the balance sheet date of debt having initial terms less than one year or the normal operating cycle, if longer. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 852 -SubTopic 10 -Section 55 -Paragraph 10 -URI http://asc.fasb.org/extlink&oid=84165509&loc=d3e56426-112766 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(19)(a)) -URI http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-03(a)(16)(a)(1)) -URI http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(13)) -URI http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878 + Details
Name: | us-gaap_ShortTermBorrowings
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Credit Facility, Textual [Abstract] + References No definition available. + Details
Name: | vlo_CreditFacilityTextualAbstract
Namespace Prefix: | vlo_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Debt Instrument, Covenant, Indebtedness Limitation, Maximum Additional Letters Of Credit Outstanding + References No definition available. + Details
Name: | vlo_DebtInstrumentCovenantIndebtednessLimitationMaximumAdditionalLettersOfCreditOutstanding
Namespace Prefix: | vlo_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Designated pool of accounts receivable + References No definition available. + Details
Name: | vlo_DesignatedPoolOfAccountsReceivable
Namespace Prefix: | vlo_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Line Of Credit Facility, Accordion Feature, Higher Borrowing Capacity Option + References No definition available. + Details
Name: | vlo_LineOfCreditFacilityAccordionFeatureHigherBorrowingCapacityOption
Namespace Prefix: | vlo_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Details
Name: | us-gaap_CreditFacilityAxis=vlo_ValeroRevolverMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

X
- Details
Name: | us-gaap_CreditFacilityAxis=vlo_ValeroRevolverLetterofCreditMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CreditFacilityAxis=vlo_CanadianRevolverMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ShortTermDebtTypeAxis=us-gaap_LineOfCreditMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CreditFacilityAxis=vlo_CanadianRevolverLetterOfCreditMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CreditFacilityAxis=vlo_ARSalesFacilityMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CreditFacilityAxis=vlo_A364DayCreditFacilityMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CreditFacilityAxis=vlo_DGDRevolverMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

X
- Details
Name: | srt_ConsolidatedEntitiesAxis=us-gaap_VariableInterestEntityPrimaryBeneficiaryMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CreditFacilityAxis=vlo_DGDRevolverLetterOfCreditMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CreditFacilityAxis=vlo_DGDLoanAgreementMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_CounterpartyNameAxis=vlo_DarlingIngredientsIncMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_CounterpartyNameAxis=vlo_ValeroEnergyCorporationMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CreditFacilityAxis=vlo_IEnovaRevolverMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

X
- Details
Name: | us-gaap_CreditFacilityAxis=us-gaap_LetterOfCreditMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CreditFacilityAxis=vlo_OtherLetterOfCreditMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |