XML 107 R77.htm IDEA: XBRL DOCUMENT
v3.22.1

Fair value measurement (Details 2) - CNY (¥) | 12 Months Ended
--- | ---
Dec. 31, 2021 | Dec. 31, 2020 | Dec. 31, 2019
Short-term investments |  |  |
Impairment charges | ¥ 0 | ¥ 0 | ¥ 0
Wealth management products |  |  |
Short-term investments |  |  |
Gain (loss) from changes in fair value option | 1,514,000,000 |  |
Gross unrealized gains | ¥ 474,000,000 | ¥ 11,000 |

X
- Definition Unrealized​ gain​s recorded on wealth management products in fair value potion. + References No definition available. + Details
Name: | jd_UnrealizedGainRecordedOnWealthManagementProductsInFairValuePotion
Namespace Prefix: | jd_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition For each line item in the statement of financial position, the amounts of gains and losses from fair value changes included in earnings. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 50 -Paragraph 30 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=123596393&loc=d3e14172-108612 + Details
Name: | us-gaap_FairValueOptionChangesInFairValueGainLoss1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of other-than-temporary impairment (OTTI) on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), recognized in earnings and other comprehensive loss (OCI). + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 45 -Paragraph 8A -URI http://asc.fasb.org/extlink&oid=124260329&loc=SL6284422-111562 + Details
Name: | us-gaap_OtherThanTemporaryImpairmentLossDebtSecuritiesAvailableForSale
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
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_ScheduleOfInvestmentIncomeReportedAmountsByCategoryLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_InvestmentTypeAxis=jd_WealthManagementProductMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |