XML 44 R32.htm IDEA: XBRL DOCUMENT
v3.23.1

Contingencies (Details) $ in Millions |  |  | 7 Months Ended |  |  |  |
--- | --- | --- | --- | --- | --- | --- | ---
Nov. 15, 2022 USD ($) | Aug. 17, 2022 USD ($) defendant | May 31, 2023 USD ($) | Apr. 30, 2023 USD ($) officer classAction securitiesClassAction case shareholder plaintiff | Dec. 20, 2022 state | Oct. 31, 2022 USD ($) | Sep. 27, 2021 shareholder
Loss Contingencies [Line Items] |  |  |  |  |  |  |
Number of single-county cases | case |  |  |  | 5 |  |  |
Opioids Litigation |  |  |  |  |  |  |
Loss Contingencies [Line Items] |  |  |  |  |  |  |
Loss contingency, accrued liabilities |  |  |  | $ 2,800 |  | $ 3,300 |
Amount awarded to other party | $ 3,100 |  |  |  |  |  |
Number of states with settlement agreements | state |  |  |  |  | 50 |  |
Number of days following a satisfied condition from a settlement administrator |  |  |  | 15 days |  |  |
Number of days following the effective date of The settlement framework |  |  |  | 15 days |  |  |
Number of securities class actions | securitiesClassAction |  |  |  | 2 |  |  |
Number of shareholders that filed derivative actions | shareholder |  |  |  | 2 |  |  | 3
Loss contingency, officers in connection with disclosure | officer |  |  |  | 2 |  |  |
Number of orders issued | plaintiff |  |  |  | 2 |  |  |
Opioids Litigation | Subsequent Event |  |  |  |  |  |  |
Loss Contingencies [Line Items] |  |  |  |  |  |  |
Loss contingency, damages paid, value |  |  | $ 600 |  |  |  |
Opioids Litigation | Judicial Ruling, Pending Appeal |  |  |  |  |  |  |
Loss Contingencies [Line Items] |  |  |  |  |  |  |
Loss contingency, number of defendants | defendant |  | 3 |  |  |  |  |
Loss contingency, damages awarded, value |  | $ 700 |  |  |  |  |
Loss contingency, damages awarded, period |  | 15 years |  |  |  |  |
Canada Opioids Class Action Complaints |  |  |  |  |  |  |
Loss Contingencies [Line Items] |  |  |  |  |  |  |
Number of putative class actions | classAction |  |  |  | 2 |  |  |

X
- Definition Amount awarded to other party in judgment or settlement of litigation. + References No definition available. + Details
Name: | us-gaap_LitigationSettlementAmountAwardedToOtherParty
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_LossContingenciesLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of loss contingency liability. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 450 -SubTopic 20 -Section 50 -Paragraph 1 -URI https://asc.fasb.org/extlink&oid=121557415&loc=d3e14326-108349 Reference 2: http://www.xbrl.org/2003/role/recommendedDisclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 450 -SubTopic 20 -Section 50 -Paragraph 10 -URI https://asc.fasb.org/extlink&oid=121557415&loc=d3e14615-108349 + Details
Name: | us-gaap_LossContingencyAccrualAtCarryingValue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of damages awarded to the plaintiff in the legal matter. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 450 -SubTopic 20 -Section 50 -Paragraph 4 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=121557415&loc=d3e14435-108349 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 450 -SubTopic 20 -Section 50 -Paragraph 9 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=121557415&loc=d3e14557-108349 Reference 3: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 450 -SubTopic 20 -Section 50 -Paragraph 1 -URI https://asc.fasb.org/extlink&oid=121557415&loc=d3e14326-108349 + Details
Name: | us-gaap_LossContingencyDamagesAwardedValue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of damages paid to the plaintiff in the legal matter. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 450 -SubTopic 20 -Section 50 -Paragraph 1 -URI https://asc.fasb.org/extlink&oid=121557415&loc=d3e14326-108349 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 450 -SubTopic 20 -Section 50 -Paragraph 9 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=121557415&loc=d3e14557-108349 Reference 3: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 450 -SubTopic 20 -Section 50 -Paragraph 4 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=121557415&loc=d3e14435-108349 + Details
Name: | us-gaap_LossContingencyDamagesPaidValue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Number of defendants named in a legal action. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 450 -SubTopic 20 -Section 50 -Paragraph 4 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=121557415&loc=d3e14435-108349 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 450 -SubTopic 20 -Section 50 -Paragraph 9 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=121557415&loc=d3e14557-108349 + Details
Name: | us-gaap_LossContingencyNumberOfDefendants
Namespace Prefix: | us-gaap_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Loss Contingency, Damages Awarded, Period + References No definition available. + Details
Name: | wmt_LossContingencyDamagesAwardedPeriod
Namespace Prefix: | wmt_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | instant

X
- Definition Loss Contingency, Number Of States With Settlement Agreements + References No definition available. + Details
Name: | wmt_LossContingencyNumberOfStatesWithSettlementAgreements
Namespace Prefix: | wmt_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

X
- Definition Loss Contingency, Officers in Connection with Disclosure + References No definition available. + Details
Name: | wmt_LossContingencyOfficersInConnectionWithDisclosure
Namespace Prefix: | wmt_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

X
- Definition Number Of Days Following A Satisfied Condition From a Settlement Administrator + References No definition available. + Details
Name: | wmt_NumberOfDaysFollowingASatisfiedConditionFromASettlementAdministrator
Namespace Prefix: | wmt_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | instant

X
- Definition Number Of Days Following The Effective Date Of The Settlement Framework + References No definition available. + Details
Name: | wmt_NumberOfDaysFollowingTheEffectiveDateOfTheSettlementFramework
Namespace Prefix: | wmt_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | instant

X
- Definition Number Of Orders Issued + References No definition available. + Details
Name: | wmt_NumberOfOrdersIssued
Namespace Prefix: | wmt_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

X
- Definition Number Of Putative Class Actions + References No definition available. + Details
Name: | wmt_NumberOfPutativeClassActions
Namespace Prefix: | wmt_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

X
- Definition Number of securities class actions + References No definition available. + Details
Name: | wmt_NumberOfSecuritiesClassActions
Namespace Prefix: | wmt_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

X
- Definition Number of Shareholders That Filed Derivative Actions + References No definition available. + Details
Name: | wmt_NumberOfShareholdersThatFiledDerivativeActions
Namespace Prefix: | wmt_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

X
- Definition Number Of Single-County Cases + References No definition available. + Details
Name: | wmt_NumberOfSingleCountyCases
Namespace Prefix: | wmt_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

X
- Details
Name: | srt_LitigationCaseAxis=wmt_OpioidsLitigationMember
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: | us-gaap_LitigationStatusAxis=us-gaap_JudicialRulingMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_LitigationCaseAxis=wmt_CanadaOpioidsClassActionComplaintsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |