XML 55 R41.htm IDEA: XBRL DOCUMENT
v3.22.4

SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Narrative) (Details) $ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2022 USD ($) segment agreement store state entity | Dec. 31, 2021 USD ($) | Dec. 31, 2020 USD ($)
Summary of Significant Accounting Policies |  |  |
Number of reportable segments | segment | 1 |  |
Accounts receivable due from employees to the Company | $ 800 | $ 700 |
Allowance for doubtful supplier receivables | 0 | 0 |
Replacement cost of inventory | 4,700,000 | 3,920,000 |
Goodwill impairment | 0 | 0 | $ 0
Self-insurance reserves, current | $ 138,926 | 128,794 |
Number of unconsolidated tax credit fund entities that were considered to be Variable Interest Entities | entity | 6 |  |
Number of agreements to invest in additional tax credit funds | agreement | 2 |  |
Equity method investment in VIEs, net | $ 38,000 |  |
Investment tax credit amount | 167,600 | 177,100 | 170,500
Advertising expense, net | 81,500 | 72,500 | 73,800
Total interest costs capitalized | 5,500 | 7,000 | $ 10,200
Deferred debt issuance costs, net of amortization | 24,700 | 22,000 |
Original issuance discounts, net of accretion | 6,300 | 4,400 |
Valuation allowance for deferred tax assets | 0 | 0 |
Other Assets |  |  |
Summary of Significant Accounting Policies |  |  |
Deferred debt issuance costs, net of amortization | 2,600 | $ 3,400 |
Renewable energy tax credit equity investments |  |  |
Summary of Significant Accounting Policies |  |  |
Capital contributions | $ 3,400 |  |
U.S. |  |  |
Summary of Significant Accounting Policies |  |  |
Number of stores | store | 5,929 |  |
Number of states, in which the Company operates | state | 47 |  |
Mexico |  |  |
Summary of Significant Accounting Policies |  |  |
Number of stores | store | 42 |  |
Loyalty Program Points [Member] | Revenue, Remaining Performance Obligation, Expected Timing of Satisfaction, Start Date [Axis]: 2022-01-01 |  |  |
Summary of Significant Accounting Policies |  |  |
Deferred revenue, period expect to be recognized within | 12 months |  |
Loyalty Program Coupon [Member] | Revenue, Remaining Performance Obligation, Expected Timing of Satisfaction, Start Date [Axis]: 2022-01-01 |  |  |
Summary of Significant Accounting Policies |  |  |
Deferred revenue, period expect to be recognized within | 3 months |  |

X
- Definition Number of agreements to invest in additional tax credit funds + References No definition available. + Details
Name: | orly_NumberOfAgreementsToInvestInAdditionalTaxCreditFunds
Namespace Prefix: | orly_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of unconsolidated tax credit fund entities that were considered to be Variable Interest Entities + References No definition available. + Details
Name: | orly_NumberOfUnconsolidatedTaxCreditFundEntitiesThatWereConsideredToBeVariableInterestEntities
Namespace Prefix: | orly_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition The replacement cost of inventory as of the balance sheet date. + References No definition available. + Details
Name: | orly_ReplacementCostOfInventory
Namespace Prefix: | orly_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition [Line Items] for Schedule of quantitative and/or qualitative information pertaining to significant accounting policies. + References No definition available. + Details
Name: | orly_ScheduleOfSignificantAccountingPoliciesLineItems
Namespace Prefix: | orly_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The carrying amount of the reporting entity's equity method investment in a Variable Interest Entity included in the reporting entity's statement of financial position. + References No definition available. + Details
Name: | orly_VariableInterestEntityEquityMethodInvestmentCarryAmount
Namespace Prefix: | orly_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount charged to advertising expense for the period, which are expenses incurred with the objective of increasing revenue for a specified brand, product or product line. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 720 -SubTopic 35 -Section 50 -Paragraph 1 -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=6420018&loc=d3e36677-107848 + Details
Name: | us-gaap_AdvertisingExpense
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of allowance for credit loss on receivable, classified as other and current. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(3)(a)(4)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_AllowanceForDoubtfulOtherReceivablesCurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount, after accumulated amortization, of debt discount. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 45 -Paragraph 1A -URI https://asc.fasb.org/extlink&oid=124435984&loc=d3e28541-108399 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 55 -Paragraph 8 -URI https://asc.fasb.org/extlink&oid=114775985&loc=d3e28878-108400 Reference 3: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 50 -Paragraph 1D -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=123466505&loc=SL123495340-112611 + Details
Name: | us-gaap_DebtInstrumentUnamortizedDiscount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount, after accumulated amortization, of debt issuance costs. Includes, but is not limited to, legal, accounting, underwriting, printing, and registration costs. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 50 -Paragraph 1D -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=123466505&loc=SL123495340-112611 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 45 -Paragraph 3 -URI https://asc.fasb.org/extlink&oid=124435984&loc=d3e28555-108399 + Details
Name: | us-gaap_DeferredFinanceCostsNet
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of deferred tax assets for which it is more likely than not that a tax benefit will not be realized. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (c) -URI https://asc.fasb.org/extlink&oid=121826272&loc=d3e32537-109319 + Details
Name: | us-gaap_DeferredTaxAssetsValuationAllowance
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The aggregate amount of receivables to be collected from related parties where one party can exercise control or significant influence over another party; including affiliates, owners or officers and their immediate families, pension trusts, and so forth, at the financial statement date. which are usually due within one year (or one business cycle). + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 10 -Section S99 -Paragraph 1B -Subparagraph (SX 210.13-02(a)(4)(iii)(C)) -URI https://asc.fasb.org/extlink&oid=126975872&loc=SL124442552-122756 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section 45 -Paragraph 1 -Subparagraph (d) -URI https://asc.fasb.org/extlink&oid=124098289&loc=d3e6676-107765 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 10 -Section S99 -Paragraph 1B -Subparagraph (SX 210.13-02(a)(4)(iv)) -URI https://asc.fasb.org/extlink&oid=126975872&loc=SL124442552-122756 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 10 -Section S99 -Paragraph 1A -Subparagraph (SX 210.13-01(a)(4)(iv)) -URI https://asc.fasb.org/extlink&oid=126975872&loc=SL124442526-122756 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 10 -Section S99 -Paragraph 1B -Subparagraph (SX 210.13-02(a)(5)) -URI https://asc.fasb.org/extlink&oid=126975872&loc=SL124442552-122756 Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 10 -Section S99 -Paragraph 1A -Subparagraph (SX 210.13-01(a)(4)(iii)(B)) -URI https://asc.fasb.org/extlink&oid=126975872&loc=SL124442526-122756 Reference 7: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 850 -SubTopic 10 -Section 50 -Paragraph 1 -Subparagraph (d) -URI https://asc.fasb.org/extlink&oid=6457730&loc=d3e39549-107864 Reference 8: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(3)(a)(2)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 Reference 9: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 10 -Section S99 -Paragraph 1A -Subparagraph (SX 210.13-01(a)(5)) -URI https://asc.fasb.org/extlink&oid=126975872&loc=SL124442526-122756 Reference 10: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08(k)(1)) -URI https://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690 + Details
Name: | us-gaap_DueFromRelatedPartiesCurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of loss from the write-down of an asset representing the future economic benefits arising from other assets acquired in a business combination that are not individually identified and separately recognized. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 350 -SubTopic 20 -Section 50 -Paragraph 2 -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=121556970&loc=d3e13854-109267 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 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 350 -SubTopic 20 -Section 45 -Paragraph 2 -URI https://asc.fasb.org/extlink&oid=99380562&loc=d3e13777-109266 Reference 4: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 350 -SubTopic 20 -Section 55 -Paragraph 24 -URI https://asc.fasb.org/extlink&oid=122137925&loc=d3e14258-109268 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 350 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (e) -URI https://asc.fasb.org/extlink&oid=121556970&loc=d3e13816-109267 + Details
Name: | us-gaap_GoodwillImpairmentLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of interest capitalized during the period. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=6450988&loc=d3e26243-108391 + Details
Name: | us-gaap_InterestCostsCapitalized
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The amount deducted from an entities' taxes, reflecting a percentage of an amount invested in certain assets spread over the useful life of those assets; includes deferred investment tax credits. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -URI https://asc.fasb.org/extlink&oid=126954810&loc=d3e3602-108585 + Details
Name: | us-gaap_InvestmentTaxCredit
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Number of segments reported by the entity. A reportable segment is a component of an entity for which there is an accounting requirement to report separate financial information on that component in the entity's financial statements. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 280 -SubTopic 10 -Section 50 -Paragraph 18 -URI https://asc.fasb.org/extlink&oid=126901519&loc=d3e8672-108599 + Details
Name: | us-gaap_NumberOfReportableSegments
Namespace Prefix: | us-gaap_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition The number of states the entity operates in as of the balance sheet date. + References No definition available. + Details
Name: | us-gaap_NumberOfStatesInWhichEntityOperates
Namespace Prefix: | us-gaap_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

X
- Definition Represents the number of stores. + References No definition available. + Details
Name: | us-gaap_NumberOfStores
Namespace Prefix: | us-gaap_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

X
- Definition Minimum amount of other commitment not otherwise specified in the taxonomy. Excludes commitments explicitly modeled in the taxonomy, including but not limited to, long-term and short-term purchase commitments, recorded and unrecorded purchase obligations, supply commitments, registration payment arrangements, leases, debt, product warranties, guarantees, environmental remediation obligations, and pensions. + References No definition available. + Details
Name: | us-gaap_OtherCommitment
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Period in which remaining performance obligation is expected to be recognized as revenue, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 606 -SubTopic 10 -Section 50 -Paragraph 13 -Subparagraph (b)(1) -URI https://asc.fasb.org/extlink&oid=126920106&loc=SL49130556-203045 + Details
Name: | us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionPeriod1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | instant

X
- Definition Carrying amount of accrued known and estimated losses incurred as of the balance sheet date for which no insurance coverage exists, and for which a claim has been made or is probable of being asserted, typically arising from workmen's compensation-type of incidents and personal injury to nonemployees from accidents on the entity's property that are expected to be paid within one year (or the normal operating cycle, if longer). + References No definition available. + Details
Name: | us-gaap_SelfInsuranceReserveCurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Details
Name: | us-gaap_BalanceSheetLocationAxis=us-gaap_OtherAssetsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_OtherCommitmentsAxis=orly_ContributionInSolarEnergyFarmsTaxCreditEquityInvestmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_StatementGeographicalAxis=country_US
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_StatementGeographicalAxis=country_MX
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | orly_ContractWithCustomerLiabilityArrangementTypeAxis=orly_LoyaltyProgramPointsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionStartDateAxis=2022-01-01
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | orly_ContractWithCustomerLiabilityArrangementTypeAxis=orly_LoyaltyProgramCouponMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |