XML 33 R21.htm IDEA: XBRL DOCUMENT
v3.23.1

Summary of Significant Accounting Policies (Narrative) (Details) - USD ($) $ in Billions | Apr. 30, 2023 | Jan. 31, 2023 | Apr. 30, 2022
--- | --- | --- | ---
Accounting Policies [Line Items] |  |  |
Outstanding payment obligation | $ 4.7 | $ 5.2 | $ 6.0
Minimum |  |  |
Accounting Policies [Line Items] |  |  |
Supplier finance program, payment timing, period (in days) | 30 days |  |
Maximum |  |  |
Accounting Policies [Line Items] |  |  |
Supplier finance program, payment timing, period (in days) | 90 days |  |

X
- Definition Accounting Policies [Line Items] + References No definition available. + Details
Name: | wmt_AccountingPoliciesLineItems
Namespace Prefix: | wmt_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Supplier Finance Program Obligation + References No definition available. + Details
Name: | wmt_SupplierFinanceProgramObligation
Namespace Prefix: | wmt_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Supplier Finance Program, Payment Timing, Period + References No definition available. + Details
Name: | wmt_SupplierFinanceProgramPaymentTimingPeriod
Namespace Prefix: | wmt_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | instant

X
- Details
Name: | srt_RangeAxis=srt_MinimumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MaximumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |