XML 76 R62.htm IDEA: XBRL DOCUMENT
v3.24.0.1

Debt and Finance Lease Obligations, Credit Facilities (Details) | Dec. 31, 2023 USD ($) | Nov. 30, 2023 CAD ($) | Jun. 30, 2023 USD ($) | May 31, 2023 USD ($) | Dec. 31, 2022 USD ($) | Mar. 31, 2021 USD ($)
--- | --- | --- | --- | --- | --- | ---
Valero Revolver [Member] | Credit Facilities [Member] |  |  |  |  |  |  |  |
Line of Credit Facility |  |  |  |  |  |  |  |
Facility amount |  | $ 4,000,000,000 |  |  |  |  |  |
Outstanding borrowings, long term |  | 0 |  |  |  |  |  |
Availability |  | 3,996,000,000 |  |  |  |  |  |
Credit Facilities (Textual) |  |  |  |  |  |  |  |
Facility amount |  | 4,000,000,000 |  |  |  |  |  |
Option to increase aggregate commitments under line of credit facility, increase limit, subject to certain restrictions |  | 5,500,000,000 |  |  |  |  |  |
Outstanding borrowings, long term |  | 0 |  |  |  |  |  |
Valero Revolver Letter of Credit [Member] | Credit Facilities [Member] |  |  |  |  |  |  |  |
Line of Credit Facility |  |  |  |  |  |  |  |
Facility amount |  | 2,400,000,000 |  |  |  |  |  |
Letters of credit issued | [1] | 4,000,000 |  |  |  |  |  |
Credit Facilities (Textual) |  |  |  |  |  |  |  |
Facility amount |  | 2,400,000,000 |  |  |  |  |  |
Canadian Revolver [Member] | Credit Facilities [Member] |  |  |  |  |  |  |  |
Line of Credit Facility |  |  |  |  |  |  |  |
Facility amount |  |  |  | $ 150,000,000 |  |  |  |
Credit Facilities (Textual) |  |  |  |  |  |  |  |
Facility amount |  |  |  | $ 150,000,000 |  |  |  |
Accounts Receivable Sales Facility [Member] | Credit Facilities [Member] |  |  |  |  |  |  |  |
Line of Credit Facility |  |  |  |  |  |  |  |
Facility amount |  | 1,300,000,000 |  |  |  |  |  |
Outstanding borrowings, short-term |  | 0 |  |  |  |  |  |
Availability |  | 1,300,000,000 |  |  |  |  |  |
Credit Facilities (Textual) |  |  |  |  |  |  |  |
Facility amount |  | 1,300,000,000 |  |  |  |  |  |
Designated pool of accounts receivable |  | 2,600,000,000 |  |  |  |  | $ 3,000,000,000 |
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, long term | [2] | 250,000,000 |  |  |  |  |  |
Availability | [2] | 96,000,000 |  |  |  |  |  |
Credit Facilities (Textual) |  |  |  |  |  |  |  |
Facility amount |  | $ 400,000,000 | [2] |  |  |  |  | $ 400,000,000
Option to increase aggregate commitments under line of credit facility, increase limit, subject to certain restrictions |  |  |  |  | $ 550,000,000 |  |  |
Interest rate at period end (percent) |  | 7.201% |  |  |  |  | 5.88% |
Outstanding borrowings, long term | [2] | $ 250,000,000 |  |  |  |  |  |
DGD Revolver Letter of Credit [Member] | Credit Facilities [Member] | DGD [Member] | Variable Interest Entity, Primary Beneficiary [Member] |  |  |  |  |  |  |  |
Line of Credit Facility |  |  |  |  |  |  |  |
Facility amount |  |  |  |  | 150,000,000 |  |  |
Letters of credit issued | [1],[2] | 54,000,000 |  |  |  |  |  |
Credit Facilities (Textual) |  |  |  |  |  |  |  |
Facility amount |  |  |  |  | 150,000,000 |  |  |
DGD Loan Agreement [Member] | Credit Facilities [Member] | DGD [Member] | Darling Ingredients Inc. [Member] |  |  |  |  |  |  |  |
Line of Credit Facility |  |  |  |  |  |  |  |
Facility amount |  |  |  |  |  | $ 25,000,000 |  |
Credit Facilities (Textual) |  |  |  |  |  |  |  |
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) |  |  |  |  |  |  |  |
Facility amount |  |  |  |  |  | 50,000,000 |  |
Interest rate at period end (percent) |  |  |  |  |  |  | 6.672% |
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 |  |  |  |  |  | 25,000,000 |  |
Credit Facilities (Textual) |  |  |  |  |  |  |  |
Facility amount |  |  |  |  |  | $ 25,000,000 |  |
DGD Loan Agreement [Member] | Credit Facilities [Member] | DGD [Member] | Darling Ingredients Inc. [Member] |  |  |  |  |  |  |  |
Line of Credit Facility |  |  |  |  |  |  |  |
Facility amount |  |  |  |  | 100,000,000 |  |  |
Credit Facilities (Textual) |  |  |  |  |  |  |  |
Facility amount |  |  |  |  | 100,000,000 |  |  |
DGD Loan Agreement [Member] | Credit Facilities [Member] | DGD [Member] | Variable Interest Entity, Primary Beneficiary [Member] |  |  |  |  |  |  |  |
Line of Credit Facility |  |  |  |  |  |  |  |
Facility amount |  |  |  |  | 200,000,000 |  |  |
Credit Facilities (Textual) |  |  |  |  |  |  |  |
Facility amount |  |  |  |  | 200,000,000 |  |  |
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 |  | 100,000,000 | [2],[3] |  | 100,000,000 |  |  |
Outstanding borrowings, long term | [2],[3] | 0 |  |  |  |  |  |
Availability | [2],[3] | 100,000,000 |  |  |  |  |  |
Credit Facilities (Textual) |  |  |  |  |  |  |  |
Facility amount |  | 100,000,000 | [2],[3] |  | $ 100,000,000 |  |  |
Outstanding borrowings, long term | [2],[3] | 0 |  |  |  |  |  |
IEnova Revolver [Member] | Credit Facilities [Member] | Central Mexico Terminals [Member] | Variable Interest Entity, Primary Beneficiary [Member] |  |  |  |  |  |  |  |
Line of Credit Facility |  |  |  |  |  |  |  |
Facility amount | [2] | 830,000,000 |  |  |  |  |  |
Outstanding borrowings, long term | [2] | 766,000,000 |  |  |  |  |  |
Availability | [2] | 64,000,000 |  |  |  |  |  |
Credit Facilities (Textual) |  |  |  |  |  |  |  |
Facility amount | [2] | $ 830,000,000 |  |  |  |  |  |
Interest rate at period end (percent) |  | 9.245% |  |  |  |  | 7.393% |
Outstanding borrowings, long term | [2] | $ 766,000,000 |  |  |  |  |  |
Uncommitted Letter of Credit Facility [Member] | Credit Facilities [Member] |  |  |  |  |  |  |  |
Line of Credit Facility |  |  |  |  |  |  |  |
Letters of credit issued | [1] | $ 0 |  |  |  |  |  |
[1] | Letters of credit issued as of December 31, 2023 expire at various times in 2024 through 2026.
[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 total amount of the contingent obligation under letters of credit outstanding as of the reporting date. + References No definition available. + Details
Name: | us-gaap_LettersOfCreditOutstandingAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

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 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(22)) -SubTopic 10 -Topic 210 -Publisher FASB -URI https://asc.fasb.org//1943274/2147480566/210-10-S99-1 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 944 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-03(a)(16)(a)(2)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479440/944-210-S99-1 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 942 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(16)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479853/942-210-S99-1 + 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 -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.19(b),22(b)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480566/210-10-S99-1 + 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 -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.19(b),22(b)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480566/210-10-S99-1 + 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 -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.19(b),22(b)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480566/210-10-S99-1 + Details
Name: | us-gaap_LineOfCreditFacilityRemainingBorrowingCapacity
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

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 -Topic 852 -SubTopic 10 -Name Accounting Standards Codification -Section 55 -Paragraph 10 -Publisher FASB -URI https://asc.fasb.org//1943274/2147481372/852-10-55-10 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 944 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-03(a)(16)(a)(1)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479440/944-210-S99-1 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 942 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(13)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479853/942-210-S99-1 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(19)(a)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480566/210-10-S99-1 + 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 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_ARSalesFacilityMember
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=vlo_OtherLetterOfCreditMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |