{
 "instance": {
  "baba-20230331.htm": {
   "axisCustom": 1,
   "axisStandard": 39,
   "baseTaxonomies": {
    "http://fasb.org/us-gaap/2022": 1570,
    "http://xbrl.sec.gov/dei/2022": 53
   },
   "contextCount": 517,
   "dts": {
    "calculationLink": {
     "local": [
      "baba-20230331_cal.xml"
     ]
    },
    "definitionLink": {
     "local": [
      "baba-20230331_def.xml"
     ]
    },
    "inline": {
     "local": [
      "baba-20230331.htm"
     ]
    },
    "labelLink": {
     "local": [
      "baba-20230331_lab.xml"
     ]
    },
    "presentationLink": {
     "local": [
      "baba-20230331_pre.xml"
     ]
    },
    "schema": {
     "local": [
      "baba-20230331.xsd"
     ],
     "remote": [
      "http://www.xbrl.org/2003/xbrl-instance-2003-12-31.xsd",
      "http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd",
      "http://www.xbrl.org/2003/xl-2003-12-31.xsd",
      "http://www.xbrl.org/2003/xlink-2003-12-31.xsd",
      "http://www.xbrl.org/2005/xbrldt-2005.xsd",
      "http://www.xbrl.org/2006/ref-2006-02-27.xsd",
      "http://www.xbrl.org/lrr/role/negated-2009-12-16.xsd",
      "http://www.xbrl.org/lrr/role/net-2009-12-16.xsd",
      "http://www.xbrl.org/lrr/role/reference-2009-12-16.xsd",
      "https://www.xbrl.org/2020/extensible-enumerations-2.0.xsd",
      "https://www.xbrl.org/dtr/type/2020-01-21/types.xsd",
      "https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd",
      "https://xbrl.fasb.org/srt/2022/elts/srt-roles-2022.xsd",
      "https://xbrl.fasb.org/srt/2022/elts/srt-types-2022.xsd",
      "https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd",
      "https://xbrl.fasb.org/us-gaap/2022/elts/us-roles-2022.xsd",
      "https://xbrl.fasb.org/us-gaap/2022/elts/us-types-2022.xsd",
      "https://xbrl.sec.gov/country/2022/country-2022.xsd",
      "https://xbrl.sec.gov/dei/2022/dei-2022.xsd"
     ]
    }
   },
   "elementCount": 1038,
   "entityCount": 1,
   "hidden": {
    "http://fasb.org/us-gaap/2022": 25,
    "http://www.alibabagroup.com/20230331": 5,
    "http://xbrl.sec.gov/dei/2022": 6,
    "total": 36
   },
   "keyCustom": 171,
   "keyStandard": 426,
   "memberCustom": 111,
   "memberStandard": 47,
   "nsprefix": "baba",
   "nsuri": "http://www.alibabagroup.com/20230331",
   "report": {
    "R1": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_0162e0f8-9f05-4a7e-ab78-7be18b90d8f1",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "dei:DocumentType",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "document",
     "isDefault": "true",
     "longName": "100000 - Document - Document and Entity Information",
     "menuCat": "Cover",
     "order": "1",
     "role": "http://www.alibabagroup.com/20230331/taxonomy/role/DocumentDocumentAndEntityInformation",
     "shortName": "Document and Entity Information",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_0162e0f8-9f05-4a7e-ab78-7be18b90d8f1",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "dei:DocumentType",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R10": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_0162e0f8-9f05-4a7e-ab78-7be18b90d8f1",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:SignificantAccountingPoliciesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100130 - Disclosure - Summary of significant accounting policies",
     "menuCat": "Notes",
     "order": "10",
     "role": "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPolicies",
     "shortName": "Summary of significant accounting policies",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_0162e0f8-9f05-4a7e-ab78-7be18b90d8f1",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:SignificantAccountingPoliciesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R100": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_f4480218-b946-4656-b903-177326047637",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:CashAndCashEquivalentsAtCarryingValue",
      "reportCount": 1,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101050 - Disclosure - Related party transactions - Transactions with related parties (Details)",
     "menuCat": "Details",
     "order": "100",
     "role": "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureRelatedPartyTransactionsTransactionsWithRelatedPartiesDetails",
     "shortName": "Related party transactions - Transactions with related parties (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_58c346c8-b10e-43e7-b3b8-3eb941c8591a",
      "decimals": "-6",
      "lang": null,
      "name": "us-gaap:CashAndCashEquivalentsAtCarryingValue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     }
    },
    "R101": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "baba:StatutoryReservesPolicyTextBlock",
       "div",
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_0162e0f8-9f05-4a7e-ab78-7be18b90d8f1",
      "decimals": "2",
      "first": true,
      "lang": null,
      "name": "baba:AppropriationOfNetIncomeToStatutoryReserveRequiredPercentage",
      "reportCount": 1,
      "unitRef": "U_pure",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101060 - Disclosure - Restricted net assets (Details)",
     "menuCat": "Details",
     "order": "101",
     "role": "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureRestrictedNetAssetsDetails",
     "shortName": "Restricted net assets (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:RestrictedAssetsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_f4480218-b946-4656-b903-177326047637",
      "decimals": "-6",
      "lang": null,
      "name": "us-gaap:AmountOfRestrictedNetAssetsForConsolidatedAndUnconsolidatedSubsidiaries",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     }
    },
    "R102": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "us-gaap:CommitmentsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_6264f315-609e-4a96-bfb5-11ab9db6a6df",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:UnrecordedUnconditionalPurchaseObligationBalanceOnFirstAnniversary",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101070 - Disclosure - Commitments - Capital commitments (Details)",
     "menuCat": "Details",
     "order": "102",
     "role": "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureCommitmentsCapitalCommitmentsDetails",
     "shortName": "Commitments - Capital commitments (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "us-gaap:CommitmentsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_6264f315-609e-4a96-bfb5-11ab9db6a6df",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:UnrecordedUnconditionalPurchaseObligationBalanceOnFirstAnniversary",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     }
    },
    "R103": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:CommitmentsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_d31225bb-3707-4ece-84fa-553b767d66ea",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:OtherCommitment",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101080 - Disclosure - Commitments - Investment commitments (Details)",
     "menuCat": "Details",
     "order": "103",
     "role": "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureCommitmentsInvestmentCommitmentsDetails",
     "shortName": "Commitments - Investment commitments (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:CommitmentsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_d31225bb-3707-4ece-84fa-553b767d66ea",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:OtherCommitment",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     }
    },
    "R104": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "us-gaap:CommitmentsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_438b8258-aa40-4d0d-977b-a4c660214bdc",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:OtherCommitmentDueInNextTwelveMonths",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101090 - Disclosure - Commitments - Other commitments (Details)",
     "menuCat": "Details",
     "order": "104",
     "role": "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureCommitmentsOtherCommitmentsDetails",
     "shortName": "Commitments - Other commitments (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "us-gaap:CommitmentsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_438b8258-aa40-4d0d-977b-a4c660214bdc",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:OtherCommitmentDueInNextTwelveMonths",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     }
    },
    "R105": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "baba:ConcentrationRiskAndLossContingencyDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_a2f41e27-1fe8-4440-9f65-caa408dcbdf8",
      "decimals": "-8",
      "first": true,
      "lang": null,
      "name": "baba:AccrualForFineImposedPursuantToAntiMonopolyLawCurrent",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101100 - Disclosure - Risks and contingencies (Details)",
     "menuCat": "Details",
     "order": "105",
     "role": "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureRisksAndContingenciesDetails",
     "shortName": "Risks and contingencies (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "baba:ConcentrationRiskAndLossContingencyDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_a2f41e27-1fe8-4440-9f65-caa408dcbdf8",
      "decimals": "-8",
      "first": true,
      "lang": null,
      "name": "baba:AccrualForFineImposedPursuantToAntiMonopolyLawCurrent",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     }
    },
    "R106": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:RevenueFromExternalCustomersByGeographicAreasTableTextBlock",
       "div",
       "baba:RevenuesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_0162e0f8-9f05-4a7e-ab78-7be18b90d8f1",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:Revenues",
      "reportCount": 1,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101110 - Disclosure - Segment information - Segment EBITA and Segment EBITDA (Details)",
     "menuCat": "Details",
     "order": "106",
     "role": "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSegmentInformationSegmentEbitaAndSegmentEbitdaDetails",
     "shortName": "Segment information - Segment EBITA and Segment EBITDA (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "baba:SegmentInformationDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_2300b94b-8fc1-4f34-a704-9d4fcb575539",
      "decimals": "-6",
      "lang": null,
      "name": "us-gaap:OperatingIncomeLoss",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     }
    },
    "R107": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTextBlock",
       "div",
       "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_0162e0f8-9f05-4a7e-ab78-7be18b90d8f1",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:AllocatedShareBasedCompensationExpense",
      "reportCount": 1,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101120 - Disclosure - Segment information - Reconciliation from the Adjusted EBITA to the consolidated net income (Details)",
     "menuCat": "Details",
     "order": "107",
     "role": "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSegmentInformationReconciliationFromAdjustedEbitaToConsolidatedNetIncomeDetails",
     "shortName": "Segment information - Reconciliation from the Adjusted EBITA to the consolidated net income (Details)",
     "subGroupType": "details",
     "uniqueAnchor": null
    },
    "R108": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "baba:ScheduleOfDepreciationAndAmortizationExpensesOfPropertyAndEquipmentAndLandUseRightsBySegmentTableTextBlock",
       "div",
       "baba:SegmentInformationDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_0162e0f8-9f05-4a7e-ab78-7be18b90d8f1",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "baba:DepreciationAndImpairmentOfPropertyAndEquipmentAndLandUseRights",
      "reportCount": 1,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101130 - Disclosure - Segment information - Consolidated depreciation and impairment of property and equipment and operating lease cost relating to land use rights by segments and others (Details)",
     "menuCat": "Details",
     "order": "108",
     "role": "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSegmentInformationConsolidatedDepreciationAndImpairmentOfPropertyAndEquipmentAndOperatingLeaseCostRelatingToLandUseRightsBySegmentsAndOthersDetails",
     "shortName": "Segment information - Consolidated depreciation and impairment of property and equipment and operating lease cost relating to land use rights by segments and others (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "baba:ScheduleOfDepreciationAndAmortizationExpensesOfPropertyAndEquipmentAndLandUseRightsBySegmentTableTextBlock",
       "div",
       "baba:SegmentInformationDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_96d7846c-37e1-40d9-bb19-39d8eac48baa",
      "decimals": "-6",
      "lang": null,
      "name": "baba:DepreciationAndImpairmentOfPropertyAndEquipmentAndLandUseRights",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     }
    },
    "R11": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_0162e0f8-9f05-4a7e-ab78-7be18b90d8f1",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:NewAccountingPronouncementsAndChangesInAccountingPrinciplesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100140 - Disclosure - Recent accounting pronouncements",
     "menuCat": "Notes",
     "order": "11",
     "role": "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureRecentAccountingPronouncements",
     "shortName": "Recent accounting pronouncements",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_0162e0f8-9f05-4a7e-ab78-7be18b90d8f1",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:NewAccountingPronouncementsAndChangesInAccountingPrinciplesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R12": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_0162e0f8-9f05-4a7e-ab78-7be18b90d8f1",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "baba:SignificantMergersAndAcquisitionsAndInvestmentsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100150 - Disclosure - Significant mergers and acquisitions and investments",
     "menuCat": "Notes",
     "order": "12",
     "role": "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestments",
     "shortName": "Significant mergers and acquisitions and investments",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_0162e0f8-9f05-4a7e-ab78-7be18b90d8f1",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "baba:SignificantMergersAndAcquisitionsAndInvestmentsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R13": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_0162e0f8-9f05-4a7e-ab78-7be18b90d8f1",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "baba:RevenuesDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100160 - Disclosure - Revenue",
     "menuCat": "Notes",
     "order": "13",
     "role": "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureRevenue",
     "shortName": "Revenue",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_0162e0f8-9f05-4a7e-ab78-7be18b90d8f1",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "baba:RevenuesDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R14": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_0162e0f8-9f05-4a7e-ab78-7be18b90d8f1",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:LesseeOperatingLeasesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100170 - Disclosure - Leases",
     "menuCat": "Notes",
     "order": "14",
     "role": "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureLeases",
     "shortName": "Leases",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_0162e0f8-9f05-4a7e-ab78-7be18b90d8f1",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:LesseeOperatingLeasesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R15": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_0162e0f8-9f05-4a7e-ab78-7be18b90d8f1",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:IncomeTaxDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100180 - Disclosure - Income tax expenses",
     "menuCat": "Notes",
     "order": "15",
     "role": "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureIncomeTaxExpenses",
     "shortName": "Income tax expenses",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_0162e0f8-9f05-4a7e-ab78-7be18b90d8f1",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:IncomeTaxDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R16": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_0162e0f8-9f05-4a7e-ab78-7be18b90d8f1",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100190 - Disclosure - Share-based awards",
     "menuCat": "Notes",
     "order": "16",
     "role": "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureShareBasedAwards",
     "shortName": "Share-based awards",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_0162e0f8-9f05-4a7e-ab78-7be18b90d8f1",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R17": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_0162e0f8-9f05-4a7e-ab78-7be18b90d8f1",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:EarningsPerShareTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100200 - Disclosure - Earnings per share/ADS",
     "menuCat": "Notes",
     "order": "17",
     "role": "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureEarningsPerShareAds",
     "shortName": "Earnings per share/ADS",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_0162e0f8-9f05-4a7e-ab78-7be18b90d8f1",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:EarningsPerShareTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R18": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_0162e0f8-9f05-4a7e-ab78-7be18b90d8f1",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "baba:RestrictedCashAndEscrowReceivablesDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100210 - Disclosure - Restricted cash and escrow receivables",
     "menuCat": "Notes",
     "order": "18",
     "role": "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureRestrictedCashAndEscrowReceivables",
     "shortName": "Restricted cash and escrow receivables",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_0162e0f8-9f05-4a7e-ab78-7be18b90d8f1",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "baba:RestrictedCashAndEscrowReceivablesDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R19": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_0162e0f8-9f05-4a7e-ab78-7be18b90d8f1",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FinancialInstrumentsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100220 - Disclosure - Equity securities and other investments",
     "menuCat": "Notes",
     "order": "19",
     "role": "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureEquitySecuritiesAndOtherInvestments",
     "shortName": "Equity securities and other investments",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_0162e0f8-9f05-4a7e-ab78-7be18b90d8f1",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FinancialInstrumentsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R2": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:RevenueFromExternalCustomersByGeographicAreasTableTextBlock",
       "div",
       "baba:RevenuesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_0162e0f8-9f05-4a7e-ab78-7be18b90d8f1",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:Revenues",
      "reportCount": 1,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "100010 - Statement - CONSOLIDATED INCOME STATEMENTS",
     "menuCat": "Statements",
     "order": "2",
     "role": "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedIncomeStatements",
     "shortName": "CONSOLIDATED INCOME STATEMENTS",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_0162e0f8-9f05-4a7e-ab78-7be18b90d8f1",
      "decimals": "-6",
      "lang": null,
      "name": "us-gaap:ResearchAndDevelopmentExpense",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     }
    },
    "R20": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_0162e0f8-9f05-4a7e-ab78-7be18b90d8f1",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FairValueDisclosuresTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100230 - Disclosure - Fair value measurement",
     "menuCat": "Notes",
     "order": "20",
     "role": "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureFairValueMeasurement",
     "shortName": "Fair value measurement",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_0162e0f8-9f05-4a7e-ab78-7be18b90d8f1",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FairValueDisclosuresTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R21": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_0162e0f8-9f05-4a7e-ab78-7be18b90d8f1",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "baba:PrepaymentsReceivablesAndOtherAssetsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100240 - Disclosure - Prepayments, receivables and other assets",
     "menuCat": "Notes",
     "order": "21",
     "role": "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosurePrepaymentsReceivablesAndOtherAssets",
     "shortName": "Prepayments, receivables and other assets",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_0162e0f8-9f05-4a7e-ab78-7be18b90d8f1",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "baba:PrepaymentsReceivablesAndOtherAssetsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R22": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_0162e0f8-9f05-4a7e-ab78-7be18b90d8f1",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:EquityMethodInvestmentsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100260 - Disclosure - Investments in equity method investees",
     "menuCat": "Notes",
     "order": "22",
     "role": "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureInvestmentsInEquityMethodInvestees",
     "shortName": "Investments in equity method investees",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_0162e0f8-9f05-4a7e-ab78-7be18b90d8f1",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:EquityMethodInvestmentsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R23": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_0162e0f8-9f05-4a7e-ab78-7be18b90d8f1",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:PropertyPlantAndEquipmentDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100270 - Disclosure - Property and equipment, net",
     "menuCat": "Notes",
     "order": "23",
     "role": "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosurePropertyAndEquipmentNet",
     "shortName": "Property and equipment, net",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_0162e0f8-9f05-4a7e-ab78-7be18b90d8f1",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:PropertyPlantAndEquipmentDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R24": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_0162e0f8-9f05-4a7e-ab78-7be18b90d8f1",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:IntangibleAssetsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100280 - Disclosure - Intangible assets, net",
     "menuCat": "Notes",
     "order": "24",
     "role": "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureIntangibleAssetsNet",
     "shortName": "Intangible assets, net",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_0162e0f8-9f05-4a7e-ab78-7be18b90d8f1",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:IntangibleAssetsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R25": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_0162e0f8-9f05-4a7e-ab78-7be18b90d8f1",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:GoodwillDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100290 - Disclosure - Goodwill",
     "menuCat": "Notes",
     "order": "25",
     "role": "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureGoodwill",
     "shortName": "Goodwill",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_0162e0f8-9f05-4a7e-ab78-7be18b90d8f1",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:GoodwillDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R26": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_0162e0f8-9f05-4a7e-ab78-7be18b90d8f1",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "baba:DeferredRevenueAndCustomerAdvancesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100300 - Disclosure - Deferred revenue and customer advances",
     "menuCat": "Notes",
     "order": "26",
     "role": "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureDeferredRevenueAndCustomerAdvances",
     "shortName": "Deferred revenue and customer advances",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_0162e0f8-9f05-4a7e-ab78-7be18b90d8f1",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "baba:DeferredRevenueAndCustomerAdvancesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R27": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_0162e0f8-9f05-4a7e-ab78-7be18b90d8f1",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:AccountsPayableAndAccruedLiabilitiesDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100310 - Disclosure - Accrued expenses, accounts payable and other liabilities",
     "menuCat": "Notes",
     "order": "27",
     "role": "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureAccruedExpensesAccountsPayableAndOtherLiabilities",
     "shortName": "Accrued expenses, accounts payable and other liabilities",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_0162e0f8-9f05-4a7e-ab78-7be18b90d8f1",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:AccountsPayableAndAccruedLiabilitiesDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R28": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_ef99afcf-c4c2-435d-9f88-9fd3b8f68a7e",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DebtDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100320 - Disclosure - Bank borrowings",
     "menuCat": "Notes",
     "order": "28",
     "role": "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureBankBorrowings",
     "shortName": "Bank borrowings",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_ef99afcf-c4c2-435d-9f88-9fd3b8f68a7e",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DebtDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R29": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_09839654-47d0-4eb4-9f29-32c3a36e57cd",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DebtDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100330 - Disclosure - Unsecured senior notes",
     "menuCat": "Notes",
     "order": "29",
     "role": "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureUnsecuredSeniorNotes",
     "shortName": "Unsecured senior notes",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_09839654-47d0-4eb4-9f29-32c3a36e57cd",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DebtDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R3": {
     "firstAnchor": {
      "ancestors": [
       "dei:EntityListingDepositoryReceiptRatio",
       "dei:EntityListingDepositoryReceiptRatio",
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_f4480218-b946-4656-b903-177326047637",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "dei:EntityListingDepositoryReceiptRatio",
      "reportCount": 1,
      "unitRef": "U_pure",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "100050 - Statement - CONSOLIDATED INCOME STATEMENTS (Parenthetical)",
     "menuCat": "Statements",
     "order": "3",
     "role": "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedIncomeStatementsParenthetical",
     "shortName": "CONSOLIDATED INCOME STATEMENTS (Parenthetical)",
     "subGroupType": "parenthetical",
     "uniqueAnchor": null
    },
    "R30": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_0162e0f8-9f05-4a7e-ab78-7be18b90d8f1",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100340 - Disclosure - Related party transactions",
     "menuCat": "Notes",
     "order": "30",
     "role": "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureRelatedPartyTransactions",
     "shortName": "Related party transactions",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_0162e0f8-9f05-4a7e-ab78-7be18b90d8f1",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R31": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_0162e0f8-9f05-4a7e-ab78-7be18b90d8f1",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:RestrictedAssetsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100350 - Disclosure - Restricted net assets",
     "menuCat": "Notes",
     "order": "31",
     "role": "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureRestrictedNetAssets",
     "shortName": "Restricted net assets",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_0162e0f8-9f05-4a7e-ab78-7be18b90d8f1",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:RestrictedAssetsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R32": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_0162e0f8-9f05-4a7e-ab78-7be18b90d8f1",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:CommitmentsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100360 - Disclosure - Commitments",
     "menuCat": "Notes",
     "order": "32",
     "role": "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureCommitments",
     "shortName": "Commitments",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_0162e0f8-9f05-4a7e-ab78-7be18b90d8f1",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:CommitmentsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R33": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_0162e0f8-9f05-4a7e-ab78-7be18b90d8f1",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "baba:ConcentrationRiskAndLossContingencyDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100370 - Disclosure - Risks and contingencies",
     "menuCat": "Notes",
     "order": "33",
     "role": "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureRisksAndContingencies",
     "shortName": "Risks and contingencies",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_0162e0f8-9f05-4a7e-ab78-7be18b90d8f1",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "baba:ConcentrationRiskAndLossContingencyDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R34": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_0162e0f8-9f05-4a7e-ab78-7be18b90d8f1",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "baba:SegmentInformationDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100380 - Disclosure - Segment information",
     "menuCat": "Notes",
     "order": "34",
     "role": "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSegmentInformation",
     "shortName": "Segment information",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_0162e0f8-9f05-4a7e-ab78-7be18b90d8f1",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "baba:SegmentInformationDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R35": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_0162e0f8-9f05-4a7e-ab78-7be18b90d8f1",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:BasisOfAccountingPolicyPolicyTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100390 - Disclosure - Summary of significant accounting policies (Policies)",
     "menuCat": "Policies",
     "order": "35",
     "role": "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesPolicies",
     "shortName": "Summary of significant accounting policies (Policies)",
     "subGroupType": "policies",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_0162e0f8-9f05-4a7e-ab78-7be18b90d8f1",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:BasisOfAccountingPolicyPolicyTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R36": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "us-gaap:ConsolidationPolicyTextBlock",
       "div",
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_0162e0f8-9f05-4a7e-ab78-7be18b90d8f1",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfVariableInterestEntitiesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100400 - Disclosure - Summary of significant accounting policies (Tables)",
     "menuCat": "Tables",
     "order": "36",
     "role": "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesTables",
     "shortName": "Summary of significant accounting policies (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "us-gaap:ConsolidationPolicyTextBlock",
       "div",
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_0162e0f8-9f05-4a7e-ab78-7be18b90d8f1",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfVariableInterestEntitiesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R37": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "baba:SignificantMergersAndAcquisitionsAndInvestmentsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_cc62cec3-b433-4330-a3d3-b67a94fed54b",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfBusinessAcquisitionsByAcquisitionTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100410 - Disclosure - Significant mergers and acquisitions and investments (Tables)",
     "menuCat": "Tables",
     "order": "37",
     "role": "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsTables",
     "shortName": "Significant mergers and acquisitions and investments (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "baba:SignificantMergersAndAcquisitionsAndInvestmentsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_cc62cec3-b433-4330-a3d3-b67a94fed54b",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfBusinessAcquisitionsByAcquisitionTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R38": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "baba:RevenuesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_0162e0f8-9f05-4a7e-ab78-7be18b90d8f1",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:RevenueFromExternalCustomersByGeographicAreasTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100420 - Disclosure - Revenue (Tables)",
     "menuCat": "Tables",
     "order": "38",
     "role": "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureRevenueTables",
     "shortName": "Revenue (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "baba:RevenuesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_0162e0f8-9f05-4a7e-ab78-7be18b90d8f1",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:RevenueFromExternalCustomersByGeographicAreasTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R39": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "us-gaap:LesseeOperatingLeasesTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_0162e0f8-9f05-4a7e-ab78-7be18b90d8f1",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:LeaseCostTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100430 - Disclosure - Leases (Tables)",
     "menuCat": "Tables",
     "order": "39",
     "role": "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureLeasesTables",
     "shortName": "Leases (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "us-gaap:LesseeOperatingLeasesTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_0162e0f8-9f05-4a7e-ab78-7be18b90d8f1",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:LeaseCostTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R4": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ReconciliationOfOtherSignificantReconcilingItemsFromSegmentsToConsolidatedTextBlock",
       "div",
       "baba:SegmentInformationDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_0162e0f8-9f05-4a7e-ab78-7be18b90d8f1",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:ProfitLoss",
      "reportCount": 1,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "100070 - Statement - CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME",
     "menuCat": "Statements",
     "order": "4",
     "role": "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfComprehensiveIncome",
     "shortName": "CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_0162e0f8-9f05-4a7e-ab78-7be18b90d8f1",
      "decimals": "-6",
      "lang": null,
      "name": "baba:OtherComprehensiveIncomeLossForeignCurrencyTranslationGainLossArisingDuringPeriodNetOfTax",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     }
    },
    "R40": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "us-gaap:IncomeTaxDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_0162e0f8-9f05-4a7e-ab78-7be18b90d8f1",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfComponentsOfIncomeTaxExpenseBenefitTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100440 - Disclosure - Income tax expenses (Tables)",
     "menuCat": "Tables",
     "order": "40",
     "role": "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureIncomeTaxExpensesTables",
     "shortName": "Income tax expenses (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "us-gaap:IncomeTaxDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_0162e0f8-9f05-4a7e-ab78-7be18b90d8f1",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfComponentsOfIncomeTaxExpenseBenefitTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R41": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_0162e0f8-9f05-4a7e-ab78-7be18b90d8f1",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100450 - Disclosure - Share-based awards (Tables)",
     "menuCat": "Tables",
     "order": "41",
     "role": "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureShareBasedAwardsTables",
     "shortName": "Share-based awards (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_0162e0f8-9f05-4a7e-ab78-7be18b90d8f1",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R42": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "us-gaap:EarningsPerShareTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_0162e0f8-9f05-4a7e-ab78-7be18b90d8f1",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100460 - Disclosure - Earnings per share/ADS (Tables)",
     "menuCat": "Tables",
     "order": "42",
     "role": "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureEarningsPerShareAdsTables",
     "shortName": "Earnings per share/ADS (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "us-gaap:EarningsPerShareTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_0162e0f8-9f05-4a7e-ab78-7be18b90d8f1",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R43": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "baba:RestrictedCashAndEscrowReceivablesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_0162e0f8-9f05-4a7e-ab78-7be18b90d8f1",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfRestrictedCashAndCashEquivalentsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100470 - Disclosure - Restricted cash and escrow receivables (Tables)",
     "menuCat": "Tables",
     "order": "43",
     "role": "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureRestrictedCashAndEscrowReceivablesTables",
     "shortName": "Restricted cash and escrow receivables (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "baba:RestrictedCashAndEscrowReceivablesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_0162e0f8-9f05-4a7e-ab78-7be18b90d8f1",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfRestrictedCashAndCashEquivalentsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R44": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "us-gaap:FinancialInstrumentsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_0162e0f8-9f05-4a7e-ab78-7be18b90d8f1",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:MarketableSecuritiesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100480 - Disclosure - Equity securities and other investments (Tables)",
     "menuCat": "Tables",
     "order": "44",
     "role": "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureEquitySecuritiesAndOtherInvestmentsTables",
     "shortName": "Equity securities and other investments (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "us-gaap:FinancialInstrumentsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_0162e0f8-9f05-4a7e-ab78-7be18b90d8f1",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:MarketableSecuritiesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R45": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "us-gaap:FairValueDisclosuresTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_0162e0f8-9f05-4a7e-ab78-7be18b90d8f1",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100490 - Disclosure - Fair value measurement (Tables)",
     "menuCat": "Tables",
     "order": "45",
     "role": "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureFairValueMeasurementTables",
     "shortName": "Fair value measurement (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "us-gaap:FairValueDisclosuresTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_0162e0f8-9f05-4a7e-ab78-7be18b90d8f1",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R46": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "baba:PrepaymentsReceivablesAndOtherAssetsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_0162e0f8-9f05-4a7e-ab78-7be18b90d8f1",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DeferredCostsCapitalizedPrepaidAndOtherAssetsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100500 - Disclosure - Prepayments, receivables and other assets (Tables)",
     "menuCat": "Tables",
     "order": "46",
     "role": "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosurePrepaymentsReceivablesAndOtherAssetsTables",
     "shortName": "Prepayments, receivables and other assets (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "baba:PrepaymentsReceivablesAndOtherAssetsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_0162e0f8-9f05-4a7e-ab78-7be18b90d8f1",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DeferredCostsCapitalizedPrepaidAndOtherAssetsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R47": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "us-gaap:EquityMethodInvestmentsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_0162e0f8-9f05-4a7e-ab78-7be18b90d8f1",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:EquityMethodInvestmentsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100510 - Disclosure - Investments in equity method investees (Tables)",
     "menuCat": "Tables",
     "order": "47",
     "role": "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureInvestmentsInEquityMethodInvesteesTables",
     "shortName": "Investments in equity method investees (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "us-gaap:EquityMethodInvestmentsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_0162e0f8-9f05-4a7e-ab78-7be18b90d8f1",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:EquityMethodInvestmentsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R48": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "us-gaap:PropertyPlantAndEquipmentDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_0162e0f8-9f05-4a7e-ab78-7be18b90d8f1",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:PropertyPlantAndEquipmentTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100520 - Disclosure - Property and equipment, net (Tables)",
     "menuCat": "Tables",
     "order": "48",
     "role": "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosurePropertyAndEquipmentNetTables",
     "shortName": "Property and equipment, net (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "us-gaap:PropertyPlantAndEquipmentDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_0162e0f8-9f05-4a7e-ab78-7be18b90d8f1",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:PropertyPlantAndEquipmentTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R49": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "us-gaap:IntangibleAssetsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_0162e0f8-9f05-4a7e-ab78-7be18b90d8f1",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfFiniteLivedIntangibleAssetsTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100530 - Disclosure - Intangible assets, net (Tables)",
     "menuCat": "Tables",
     "order": "49",
     "role": "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureIntangibleAssetsNetTables",
     "shortName": "Intangible assets, net (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "us-gaap:IntangibleAssetsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_0162e0f8-9f05-4a7e-ab78-7be18b90d8f1",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfFiniteLivedIntangibleAssetsTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R5": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_f4480218-b946-4656-b903-177326047637",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:CashAndCashEquivalentsAtCarryingValue",
      "reportCount": 1,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "100080 - Statement - CONSOLIDATED BALANCE SHEETS",
     "menuCat": "Statements",
     "order": "5",
     "role": "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedBalanceSheets",
     "shortName": "CONSOLIDATED BALANCE SHEETS",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_f4480218-b946-4656-b903-177326047637",
      "decimals": "-6",
      "lang": null,
      "name": "baba:ShortTermInvestmentsBankTimeDepositsAndOtherShortTermInvestments",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     }
    },
    "R50": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "us-gaap:GoodwillDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_0162e0f8-9f05-4a7e-ab78-7be18b90d8f1",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfGoodwillTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100540 - Disclosure - Goodwill (Tables)",
     "menuCat": "Tables",
     "order": "50",
     "role": "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureGoodwillTables",
     "shortName": "Goodwill (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "us-gaap:GoodwillDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_0162e0f8-9f05-4a7e-ab78-7be18b90d8f1",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfGoodwillTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R51": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "baba:DeferredRevenueAndCustomerAdvancesTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_0162e0f8-9f05-4a7e-ab78-7be18b90d8f1",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "baba:DeferredRevenueAndCustomerAdvancesTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100550 - Disclosure - Deferred revenue and customer advances (Tables)",
     "menuCat": "Tables",
     "order": "51",
     "role": "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureDeferredRevenueAndCustomerAdvancesTables",
     "shortName": "Deferred revenue and customer advances (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "baba:DeferredRevenueAndCustomerAdvancesTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_0162e0f8-9f05-4a7e-ab78-7be18b90d8f1",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "baba:DeferredRevenueAndCustomerAdvancesTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R52": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "us-gaap:AccountsPayableAndAccruedLiabilitiesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_0162e0f8-9f05-4a7e-ab78-7be18b90d8f1",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "baba:ScheduleOfAccruedExpensesAccountsPayableAndOtherLiabilitiesTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100560 - Disclosure - Accrued expenses, accounts payable and other liabilities (Tables)",
     "menuCat": "Tables",
     "order": "52",
     "role": "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureAccruedExpensesAccountsPayableAndOtherLiabilitiesTables",
     "shortName": "Accrued expenses, accounts payable and other liabilities (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "us-gaap:AccountsPayableAndAccruedLiabilitiesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_0162e0f8-9f05-4a7e-ab78-7be18b90d8f1",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "baba:ScheduleOfAccruedExpensesAccountsPayableAndOtherLiabilitiesTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R53": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "us-gaap:DebtDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_0162e0f8-9f05-4a7e-ab78-7be18b90d8f1",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfDebtTableTextBlock",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100570 - Disclosure - Bank borrowings (Tables)",
     "menuCat": "Tables",
     "order": "53",
     "role": "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureBankBorrowingsTables",
     "shortName": "Bank borrowings (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": null
    },
    "R54": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "us-gaap:DebtDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_0162e0f8-9f05-4a7e-ab78-7be18b90d8f1",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfDebtTableTextBlock",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100580 - Disclosure - Unsecured senior notes (Tables)",
     "menuCat": "Tables",
     "order": "54",
     "role": "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureUnsecuredSeniorNotesTables",
     "shortName": "Unsecured senior notes (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "us-gaap:DebtDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_09839654-47d0-4eb4-9f29-32c3a36e57cd",
      "decimals": null,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfDebtTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R55": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_0162e0f8-9f05-4a7e-ab78-7be18b90d8f1",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfRelatedPartyTransactionsTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100590 - Disclosure - Related party transactions (Tables)",
     "menuCat": "Tables",
     "order": "55",
     "role": "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureRelatedPartyTransactionsTables",
     "shortName": "Related party transactions (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_0162e0f8-9f05-4a7e-ab78-7be18b90d8f1",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfRelatedPartyTransactionsTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R56": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:CommitmentsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_0162e0f8-9f05-4a7e-ab78-7be18b90d8f1",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:UnrecordedUnconditionalPurchaseObligationsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100600 - Disclosure - Commitments (Tables)",
     "menuCat": "Tables",
     "order": "56",
     "role": "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureCommitmentsTables",
     "shortName": "Commitments (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:CommitmentsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_0162e0f8-9f05-4a7e-ab78-7be18b90d8f1",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:UnrecordedUnconditionalPurchaseObligationsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R57": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "baba:SegmentInformationDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_0162e0f8-9f05-4a7e-ab78-7be18b90d8f1",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "baba:ScheduleOfRevenueIncomeFromOperationsAndAdjustedEbitaBySegmentTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100610 - Disclosure - Segment information (Tables)",
     "menuCat": "Tables",
     "order": "57",
     "role": "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSegmentInformationTables",
     "shortName": "Segment information (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "baba:SegmentInformationDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_0162e0f8-9f05-4a7e-ab78-7be18b90d8f1",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "baba:ScheduleOfRevenueIncomeFromOperationsAndAdjustedEbitaBySegmentTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R58": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:SegmentReportingPolicyPolicyTextBlock",
       "div",
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_a90c57a0-13c5-4a39-b11d-e31b4a085567",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:NumberOfOperatingSegments",
      "reportCount": 1,
      "unitRef": "U_Segment",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100620 - Disclosure - Organization and principal activities (Details)",
     "menuCat": "Details",
     "order": "58",
     "role": "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureOrganizationAndPrincipalActivitiesDetails",
     "shortName": "Organization and principal activities (Details)",
     "subGroupType": "details",
     "uniqueAnchor": null
    },
    "R59": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:BasisOfAccountingPolicyPolicyTextBlock",
       "div",
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_f4480218-b946-4656-b903-177326047637",
      "decimals": "4",
      "first": true,
      "lang": null,
      "name": "baba:ForeignCurrencyTranslationRate",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_UsdCny",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100630 - Disclosure - Summary of significant accounting policies - Basis of presentation (Details)",
     "menuCat": "Details",
     "order": "59",
     "role": "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesBasisOfPresentationDetails",
     "shortName": "Summary of significant accounting policies - Basis of presentation (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:BasisOfAccountingPolicyPolicyTextBlock",
       "div",
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_f4480218-b946-4656-b903-177326047637",
      "decimals": "4",
      "first": true,
      "lang": null,
      "name": "baba:ForeignCurrencyTranslationRate",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_UsdCny",
      "xsiNil": "false"
     }
    },
    "R6": {
     "firstAnchor": {
      "ancestors": [
       "us-gaap:CommonStockParOrStatedValuePerShare",
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_f4480218-b946-4656-b903-177326047637",
      "decimals": "9",
      "first": true,
      "lang": null,
      "name": "us-gaap:CommonStockParOrStatedValuePerShare",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_UnitedStatesOfAmericaDollarsShare",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "100090 - Statement - CONSOLIDATED BALANCE SHEETS (Parenthetical)",
     "menuCat": "Statements",
     "order": "6",
     "role": "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedBalanceSheetsParenthetical",
     "shortName": "CONSOLIDATED BALANCE SHEETS (Parenthetical)",
     "subGroupType": "parenthetical",
     "uniqueAnchor": {
      "ancestors": [
       "us-gaap:CommonStockParOrStatedValuePerShare",
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_f4480218-b946-4656-b903-177326047637",
      "decimals": "9",
      "first": true,
      "lang": null,
      "name": "us-gaap:CommonStockParOrStatedValuePerShare",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_UnitedStatesOfAmericaDollarsShare",
      "xsiNil": "false"
     }
    },
    "R60": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:DeferredCostsCapitalizedPrepaidAndOtherAssetsDisclosureTextBlock",
       "div",
       "baba:PrepaymentsReceivablesAndOtherAssetsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_f4480218-b946-4656-b903-177326047637",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:AccountsReceivableNetCurrent",
      "reportCount": 1,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100640 - Disclosure - Summary of significant accounting policies- Consolidation (Details)",
     "menuCat": "Details",
     "order": "60",
     "role": "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesConsolidationDetails",
     "shortName": "Summary of significant accounting policies- Consolidation (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfVariableInterestEntitiesTextBlock",
       "div",
       "us-gaap:ConsolidationPolicyTextBlock",
       "div",
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_e99357a5-3b00-4ca5-b337-cd53d5788fda",
      "decimals": "-6",
      "lang": null,
      "name": "us-gaap:CashCashEquivalentsAndShortTermInvestments",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     }
    },
    "R61": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "baba:BusinessCombinationsAndNoncontrollingInterestsPolicyTextBlock",
       "div",
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_0162e0f8-9f05-4a7e-ab78-7be18b90d8f1",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:TemporaryEquityNetIncome",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100650 - Disclosure - Summary of significant accounting policies- Various (Details)",
     "menuCat": "Details",
     "order": "61",
     "role": "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesVariousDetails",
     "shortName": "Summary of significant accounting policies- Various (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "baba:BusinessCombinationsAndNoncontrollingInterestsPolicyTextBlock",
       "div",
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_0162e0f8-9f05-4a7e-ab78-7be18b90d8f1",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:TemporaryEquityNetIncome",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     }
    },
    "R62": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_0162e0f8-9f05-4a7e-ab78-7be18b90d8f1",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:AmortizationOfIntangibleAssets",
      "reportCount": 1,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100660 - Disclosure - Summary of significant accounting policies- Long-lived assets (Details)",
     "menuCat": "Details",
     "order": "62",
     "role": "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesLongLivedAssetsDetails",
     "shortName": "Summary of significant accounting policies- Long-lived assets (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:ImpairmentOrDisposalOfLongLivedAssetsPolicyTextBlock",
       "div",
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_0162e0f8-9f05-4a7e-ab78-7be18b90d8f1",
      "decimals": "-6",
      "lang": null,
      "name": "baba:ImpairmentOfLongLivedAssetsOtherThanGoodwillAndLicensedCopyrights",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     }
    },
    "R63": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "baba:StatutoryReservesPolicyTextBlock",
       "div",
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_0162e0f8-9f05-4a7e-ab78-7be18b90d8f1",
      "decimals": "2",
      "first": true,
      "lang": null,
      "name": "baba:AppropriationOfNetIncomeToStatutoryReserveRequiredPercentage",
      "reportCount": 1,
      "unitRef": "U_pure",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100670 - Disclosure - Summary of significant accounting policies- Others (Details)",
     "menuCat": "Details",
     "order": "63",
     "role": "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesOthersDetails",
     "shortName": "Summary of significant accounting policies- Others (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "baba:StatutoryReservesPolicyTextBlock",
       "div",
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_0162e0f8-9f05-4a7e-ab78-7be18b90d8f1",
      "decimals": "-6",
      "lang": null,
      "name": "baba:AmountAppropriatedToEnterpriseExpansionFundStaffWelfareAndBonusFund",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     }
    },
    "R64": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_0162e0f8-9f05-4a7e-ab78-7be18b90d8f1",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:PaymentsToAcquireBusinessesGross",
      "reportCount": 1,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100680 - Disclosure - Significant mergers and acquisitions and investments - Sun Art (Details)",
     "menuCat": "Details",
     "order": "64",
     "role": "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsSunArtDetails",
     "shortName": "Significant mergers and acquisitions and investments - Sun Art (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "baba:SignificantMergersAndAcquisitionsAndInvestmentsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_f8805f9a-bc9e-4b1c-b412-b1f5bfdaeaf4",
      "decimals": "-8",
      "lang": null,
      "name": "us-gaap:Revenues",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     }
    },
    "R65": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfGoodwillTextBlock",
       "div",
       "us-gaap:GoodwillDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_f4480218-b946-4656-b903-177326047637",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:Goodwill",
      "reportCount": 1,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100690 - Disclosure - Significant mergers and acquisitions and investments - Other acquisitions (Details)",
     "menuCat": "Details",
     "order": "65",
     "role": "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsOtherAcquisitionsDetails",
     "shortName": "Significant mergers and acquisitions and investments - Other acquisitions (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfBusinessAcquisitionsByAcquisitionTextBlock",
       "div",
       "baba:SignificantMergersAndAcquisitionsAndInvestmentsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_bb4b1933-85c0-4750-8b33-7c23f750002d",
      "decimals": "-6",
      "lang": null,
      "name": "baba:BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNetAssetsLiabilities",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     }
    },
    "R66": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "baba:SignificantMergersAndAcquisitionsAndInvestmentsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_34cc718c-341a-4313-8469-33b553270ea6",
      "decimals": "-8",
      "first": true,
      "lang": null,
      "name": "baba:ProceedsFromRelatedParty",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100700 - Disclosure - Significant mergers and acquisitions and investments - Equity investments and others (Details)",
     "menuCat": "Details",
     "order": "66",
     "role": "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsEquityInvestmentsAndOthersDetails",
     "shortName": "Significant mergers and acquisitions and investments - Equity investments and others (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "baba:SignificantMergersAndAcquisitionsAndInvestmentsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_34cc718c-341a-4313-8469-33b553270ea6",
      "decimals": "-8",
      "first": true,
      "lang": null,
      "name": "baba:ProceedsFromRelatedParty",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R67": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:RevenueFromExternalCustomersByGeographicAreasTableTextBlock",
       "div",
       "baba:RevenuesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_0162e0f8-9f05-4a7e-ab78-7be18b90d8f1",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:Revenues",
      "reportCount": 1,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100710 - Disclosure - Revenue- Breakdown by segment (Details)",
     "menuCat": "Details",
     "order": "67",
     "role": "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureRevenueBreakdownBySegmentDetails",
     "shortName": "Revenue- Breakdown by segment (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:RevenueFromExternalCustomersByGeographicAreasTableTextBlock",
       "div",
       "baba:RevenuesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_5a0b5cf0-cf33-4dc4-a057-46f578868dc3",
      "decimals": "-6",
      "lang": null,
      "name": "us-gaap:Revenues",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     }
    },
    "R68": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:RevenueFromExternalCustomersByGeographicAreasTableTextBlock",
       "div",
       "baba:RevenuesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_0162e0f8-9f05-4a7e-ab78-7be18b90d8f1",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:Revenues",
      "reportCount": 1,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100720 - Disclosure - Revenue- By type (Details)",
     "menuCat": "Details",
     "order": "68",
     "role": "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureRevenueByTypeDetails",
     "shortName": "Revenue- By type (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfEntityWideInformationRevenueFromExternalCustomersByProductsAndServicesTextBlock",
       "div",
       "baba:RevenuesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_46c34baa-5f30-4360-88de-3eada464fe63",
      "decimals": "-6",
      "lang": null,
      "name": "us-gaap:Revenues",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     }
    },
    "R69": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:LesseeOperatingLeasesTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_0162e0f8-9f05-4a7e-ab78-7be18b90d8f1",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:LesseeOperatingLeaseExistenceOfOptionToExtend",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100730 - Disclosure - Leases (Details)",
     "menuCat": "Details",
     "order": "69",
     "role": "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureLeasesDetails",
     "shortName": "Leases (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:LesseeOperatingLeasesTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_0162e0f8-9f05-4a7e-ab78-7be18b90d8f1",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:LesseeOperatingLeaseExistenceOfOptionToExtend",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R7": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_18f604ca-2882-41e6-bb5a-3b1befcd6ff7",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "100100 - Statement - CONSOLIDATED STATEMENTS OF CHANGES IN SHAREHOLDERS' EQUITY",
     "menuCat": "Statements",
     "order": "7",
     "role": "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfChangesInShareholdersEquity",
     "shortName": "CONSOLIDATED STATEMENTS OF CHANGES IN SHAREHOLDERS' EQUITY",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_18f604ca-2882-41e6-bb5a-3b1befcd6ff7",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     }
    },
    "R70": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:LeaseCostTableTextBlock",
       "div",
       "us-gaap:LesseeOperatingLeasesTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_0162e0f8-9f05-4a7e-ab78-7be18b90d8f1",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:OperatingLeaseCost",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100740 - Disclosure - Leases - Operating lease cost and others (Details)",
     "menuCat": "Details",
     "order": "70",
     "role": "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureLeasesOperatingLeaseCostAndOthersDetails",
     "shortName": "Leases - Operating lease cost and others (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:LeaseCostTableTextBlock",
       "div",
       "us-gaap:LesseeOperatingLeasesTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_0162e0f8-9f05-4a7e-ab78-7be18b90d8f1",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:OperatingLeaseCost",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     }
    },
    "R71": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "us-gaap:LesseeOperatingLeasesTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_f4480218-b946-4656-b903-177326047637",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100750 - Disclosure - Leases - Future lease payments (Details)",
     "menuCat": "Details",
     "order": "71",
     "role": "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureLeasesFutureLeasePaymentsDetails",
     "shortName": "Leases - Future lease payments (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "us-gaap:LesseeOperatingLeasesTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_f4480218-b946-4656-b903-177326047637",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     }
    },
    "R72": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfComponentsOfIncomeTaxExpenseBenefitTableTextBlock",
       "div",
       "us-gaap:IncomeTaxDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_0162e0f8-9f05-4a7e-ab78-7be18b90d8f1",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:CurrentIncomeTaxExpenseBenefit",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100760 - Disclosure - Income tax expenses - General (Details)",
     "menuCat": "Details",
     "order": "72",
     "role": "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureIncomeTaxExpensesGeneralDetails",
     "shortName": "Income tax expenses - General (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfComponentsOfIncomeTaxExpenseBenefitTableTextBlock",
       "div",
       "us-gaap:IncomeTaxDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_0162e0f8-9f05-4a7e-ab78-7be18b90d8f1",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:CurrentIncomeTaxExpenseBenefit",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     }
    },
    "R73": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfDeferredTaxAssetsAndLiabilitiesTableTextBlock",
       "div",
       "us-gaap:IncomeTaxDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_f4480218-b946-4656-b903-177326047637",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:DeferredTaxAssetsGoodwillAndIntangibleAssets",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100770 - Disclosure - Income tax expenses - Composition of deferred tax assets and liabilities (Details)",
     "menuCat": "Details",
     "order": "73",
     "role": "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureIncomeTaxExpensesCompositionOfDeferredTaxAssetsAndLiabilitiesDetails",
     "shortName": "Income tax expenses - Composition of deferred tax assets and liabilities (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfDeferredTaxAssetsAndLiabilitiesTableTextBlock",
       "div",
       "us-gaap:IncomeTaxDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_f4480218-b946-4656-b903-177326047637",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:DeferredTaxAssetsGoodwillAndIntangibleAssets",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     }
    },
    "R74": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfEffectiveIncomeTaxRateReconciliationTableTextBlock",
       "div",
       "us-gaap:IncomeTaxDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_0162e0f8-9f05-4a7e-ab78-7be18b90d8f1",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
      "reportCount": 1,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100780 - Disclosure - Income tax expenses - Reconciliations (Details)",
     "menuCat": "Details",
     "order": "74",
     "role": "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureIncomeTaxExpensesReconciliationsDetails",
     "shortName": "Income tax expenses - Reconciliations (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfEffectiveIncomeTaxRateReconciliationTableTextBlock",
       "div",
       "us-gaap:IncomeTaxDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_0162e0f8-9f05-4a7e-ab78-7be18b90d8f1",
      "decimals": "-6",
      "lang": null,
      "name": "us-gaap:IncomeTaxReconciliationIncomeTaxExpenseBenefitAtFederalStatutoryIncomeTaxRate",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     }
    },
    "R75": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_f4480218-b946-4656-b903-177326047637",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_shares",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100790 - Disclosure - Share-based awards - General (Details)",
     "menuCat": "Details",
     "order": "75",
     "role": "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSharebasedAwardsGeneralDetails",
     "shortName": "Share-based awards - General (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_f4480218-b946-4656-b903-177326047637",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_shares",
      "xsiNil": "false"
     }
    },
    "R76": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTextBlock",
       "div",
       "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_0162e0f8-9f05-4a7e-ab78-7be18b90d8f1",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:AllocatedShareBasedCompensationExpense",
      "reportCount": 1,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100800 - Disclosure - Share-based awards - RSUs (Details)",
     "menuCat": "Details",
     "order": "76",
     "role": "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSharebasedAwardsRsusDetails",
     "shortName": "Share-based awards - RSUs (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfShareBasedCompensationRestrictedStockUnitsAwardActivityTableTextBlock",
       "div",
       "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_6686c44b-9d36-4080-9690-eca95e8e43fe",
      "decimals": "INF",
      "lang": null,
      "name": "baba:ShareBasedCompensationArrangementByShareBasedPaymentAwardOtherThanOptionsExpectedToVestOutstandingNumber",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_shares",
      "xsiNil": "false"
     }
    },
    "R77": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfShareBasedCompensationStockOptionsActivityTableTextBlock",
       "div",
       "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_360d4665-44c1-4cf1-a962-9ba4fe3cf1ed",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber",
      "reportCount": 1,
      "unitRef": "U_shares",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100810 - Disclosure - Share-based awards - Share options (Details)",
     "menuCat": "Details",
     "order": "77",
     "role": "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSharebasedAwardsShareOptionsDetails",
     "shortName": "Share-based awards - Share options (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfShareBasedCompensationStockOptionsActivityTableTextBlock",
       "div",
       "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_f4480218-b946-4656-b903-177326047637",
      "decimals": "INF",
      "lang": null,
      "name": "us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableNumber",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_shares",
      "xsiNil": "false"
     }
    },
    "R78": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTextBlock",
       "div",
       "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_0162e0f8-9f05-4a7e-ab78-7be18b90d8f1",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:AllocatedShareBasedCompensationExpense",
      "reportCount": 1,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100830 - Disclosure - Share-based awards - Share-based awards relating to Ant Group (Details)",
     "menuCat": "Details",
     "order": "78",
     "role": "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureShareBasedAwardsShareBasedAwardsRelatingToAntGroupDetails",
     "shortName": "Share-based awards - Share-based awards relating to Ant Group (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_fb294e6a-4af7-45a2-89ea-b373461d121b",
      "decimals": "-6",
      "lang": null,
      "name": "us-gaap:AllocatedShareBasedCompensationExpense",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     }
    },
    "R79": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTextBlock",
       "div",
       "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_0162e0f8-9f05-4a7e-ab78-7be18b90d8f1",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:AllocatedShareBasedCompensationExpense",
      "reportCount": 1,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100840 - Disclosure - Share-based awards - Expense by function (Details)",
     "menuCat": "Details",
     "order": "79",
     "role": "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSharebasedAwardsExpenseByFunctionDetails",
     "shortName": "Share-based awards - Expense by function (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTextBlock",
       "div",
       "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_5b47a753-0910-4b5f-841a-84c5f0191145",
      "decimals": "-6",
      "lang": null,
      "name": "us-gaap:AllocatedShareBasedCompensationExpense",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     }
    },
    "R8": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ReconciliationOfOtherSignificantReconcilingItemsFromSegmentsToConsolidatedTextBlock",
       "div",
       "baba:SegmentInformationDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_0162e0f8-9f05-4a7e-ab78-7be18b90d8f1",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:ProfitLoss",
      "reportCount": 1,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "100110 - Statement - CONSOLIDATED STATEMENTS OF CASH FLOWS",
     "menuCat": "Statements",
     "order": "8",
     "role": "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfCashFlows",
     "shortName": "CONSOLIDATED STATEMENTS OF CASH FLOWS",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_0162e0f8-9f05-4a7e-ab78-7be18b90d8f1",
      "decimals": "-6",
      "lang": null,
      "name": "us-gaap:EquityMethodInvestmentRealizedGainLossOnDisposal",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     }
    },
    "R80": {
     "firstAnchor": {
      "ancestors": [
       "dei:EntityListingDepositoryReceiptRatio",
       "dei:EntityListingDepositoryReceiptRatio",
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_f4480218-b946-4656-b903-177326047637",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "dei:EntityListingDepositoryReceiptRatio",
      "reportCount": 1,
      "unitRef": "U_pure",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100850 - Disclosure - Earnings per share/ADS (Details)",
     "menuCat": "Details",
     "order": "80",
     "role": "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureEarningsPerShareAdsDetails",
     "shortName": "Earnings per share/ADS (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock",
       "div",
       "us-gaap:EarningsPerShareTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_0162e0f8-9f05-4a7e-ab78-7be18b90d8f1",
      "decimals": "-6",
      "lang": null,
      "name": "us-gaap:AmountOfDilutiveSecuritiesStockOptionsAndRestrictiveStockUnits",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     }
    },
    "R81": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfRestrictedCashAndCashEquivalentsTextBlock",
       "div",
       "baba:RestrictedCashAndEscrowReceivablesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_f4480218-b946-4656-b903-177326047637",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "baba:RestrictedCashAndCashEquivalentsAtCarryingValueAndEscrowReceivables",
      "reportCount": 1,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100860 - Disclosure - Restricted cash and escrow receivables (Details)",
     "menuCat": "Details",
     "order": "81",
     "role": "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureRestrictedCashAndEscrowReceivablesDetails",
     "shortName": "Restricted cash and escrow receivables (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfRestrictedCashAndCashEquivalentsTextBlock",
       "div",
       "baba:RestrictedCashAndEscrowReceivablesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_959c2f94-b9f3-4dc7-a2ef-b411851b278f",
      "decimals": "-6",
      "lang": null,
      "name": "baba:RestrictedCashAndCashEquivalentsAtCarryingValueAndEscrowReceivables",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     }
    },
    "R82": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:MarketableSecuritiesTextBlock",
       "div",
       "us-gaap:FinancialInstrumentsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_f4480218-b946-4656-b903-177326047637",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "baba:SummaryOfInvestmentsCost",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100870 - Disclosure - Equity securities and other investments (Details)",
     "menuCat": "Details",
     "order": "82",
     "role": "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureEquitySecuritiesAndOtherInvestmentsDetails",
     "shortName": "Equity securities and other investments (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:MarketableSecuritiesTextBlock",
       "div",
       "us-gaap:FinancialInstrumentsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_f4480218-b946-4656-b903-177326047637",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "baba:SummaryOfInvestmentsCost",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     }
    },
    "R83": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock",
       "div",
       "us-gaap:FairValueDisclosuresTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_4f0a919a-9db5-433d-b07a-d5de5858a5be",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "baba:TimeDepositsFairValueDisclosure",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100880 - Disclosure - Fair value measurement (Details)",
     "menuCat": "Details",
     "order": "83",
     "role": "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureFairValueMeasurementDetails",
     "shortName": "Fair value measurement (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock",
       "div",
       "us-gaap:FairValueDisclosuresTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_4f0a919a-9db5-433d-b07a-d5de5858a5be",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "baba:TimeDepositsFairValueDisclosure",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     }
    },
    "R84": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationTextBlock",
       "div",
       "us-gaap:FairValueDisclosuresTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_39968eca-d9f9-4b4f-8edf-c3dda3deae30",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetValue",
      "reportCount": 1,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100890 - Disclosure - Fair value measurement - Convertible and exchangeable bonds (Details)",
     "menuCat": "Details",
     "order": "84",
     "role": "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureFairValueMeasurementConvertibleAndExchangeableBondsDetails",
     "shortName": "Fair value measurement - Convertible and exchangeable bonds (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationTextBlock",
       "div",
       "us-gaap:FairValueDisclosuresTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_d1d927b7-d0ad-452e-b234-da5da3b509f8",
      "decimals": "-6",
      "lang": null,
      "name": "us-gaap:FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetValue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     }
    },
    "R85": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationTextBlock",
       "div",
       "us-gaap:FairValueDisclosuresTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_a994e03f-f568-46aa-acf9-a822ff163bb9",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:FairValueMeasurementWithUnobservableInputsReconciliationsRecurringBasisLiabilityValue",
      "reportCount": 1,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100900 - Disclosure - Fair value measurement - Contingent consideration (Details)",
     "menuCat": "Details",
     "order": "85",
     "role": "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureFairValueMeasurementContingentConsiderationDetails",
     "shortName": "Fair value measurement - Contingent consideration (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationTextBlock",
       "div",
       "us-gaap:FairValueDisclosuresTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_426438e5-4f5d-4a9a-b714-43d7fe484013",
      "decimals": "-6",
      "lang": null,
      "name": "us-gaap:FairValueMeasurementWithUnobservableInputsReconciliationsRecurringBasisLiabilityValue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     }
    },
    "R86": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:DeferredCostsCapitalizedPrepaidAndOtherAssetsDisclosureTextBlock",
       "div",
       "baba:PrepaymentsReceivablesAndOtherAssetsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_f4480218-b946-4656-b903-177326047637",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:AccountsReceivableNetCurrent",
      "reportCount": 1,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100910 - Disclosure - Prepayments, receivables and other assets (Details)",
     "menuCat": "Details",
     "order": "86",
     "role": "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosurePrepaymentsReceivablesAndOtherAssetsDetails",
     "shortName": "Prepayments, receivables and other assets (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:DeferredCostsCapitalizedPrepaidAndOtherAssetsDisclosureTextBlock",
       "div",
       "baba:PrepaymentsReceivablesAndOtherAssetsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_f4480218-b946-4656-b903-177326047637",
      "decimals": "-6",
      "lang": null,
      "name": "baba:Inventories",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     }
    },
    "R87": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_360d4665-44c1-4cf1-a962-9ba4fe3cf1ed",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:EquityMethodInvestments",
      "reportCount": 1,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100920 - Disclosure - Investments in equity method investees - General (Details)",
     "menuCat": "Details",
     "order": "87",
     "role": "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureInvestmentsInEquityMethodInvesteesGeneralDetails",
     "shortName": "Investments in equity method investees - General (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:EquityMethodInvestmentsTextBlock",
       "div",
       "us-gaap:EquityMethodInvestmentsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_0162e0f8-9f05-4a7e-ab78-7be18b90d8f1",
      "decimals": "-6",
      "lang": null,
      "name": "baba:EquityMethodInvestmentsAcquired",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     }
    },
    "R88": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "us-gaap:EquityMethodInvestmentsTextBlock",
       "div",
       "us-gaap:EquityMethodInvestmentsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_f4480218-b946-4656-b903-177326047637",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "baba:EquityMethodInvestmentDividendsReceivable",
      "reportCount": 1,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100930 - Disclosure - Investments in equity method investees - Additional details (Details)",
     "menuCat": "Details",
     "order": "88",
     "role": "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureInvestmentsInEquityMethodInvesteesAdditionalDetailsDetails",
     "shortName": "Investments in equity method investees - Additional details (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:EquityMethodInvestmentsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_89a108a1-62e0-4a3c-8263-d2ae800275b8",
      "decimals": "-6",
      "lang": null,
      "name": "us-gaap:EquityMethodInvestments",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     }
    },
    "R89": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:RevenueFromExternalCustomersByGeographicAreasTableTextBlock",
       "div",
       "baba:RevenuesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_0162e0f8-9f05-4a7e-ab78-7be18b90d8f1",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:Revenues",
      "reportCount": 1,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100940 - Disclosure - Investments in equity method investees - summarized financial information of equity method investments (Details)",
     "menuCat": "Details",
     "order": "89",
     "role": "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureInvestmentsInEquityMethodInvesteesSummarizedFinancialInformationOfEquityMethodInvestmentsDetails",
     "shortName": "Investments in equity method investees - summarized financial information of equity method investments (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "baba:EquityMethodInvestmentSummarizedFinancialInformationTableTextBlock",
       "div",
       "us-gaap:EquityMethodInvestmentsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_f37d2e49-8178-4f7e-adcf-129da8f18b97",
      "decimals": "-6",
      "lang": null,
      "name": "us-gaap:Revenues",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     }
    },
    "R9": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_0162e0f8-9f05-4a7e-ab78-7be18b90d8f1",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100120 - Disclosure - Organization and principal activities",
     "menuCat": "Notes",
     "order": "9",
     "role": "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureOrganizationAndPrincipalActivities",
     "shortName": "Organization and principal activities",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_0162e0f8-9f05-4a7e-ab78-7be18b90d8f1",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R90": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:PropertyPlantAndEquipmentTextBlock",
       "div",
       "us-gaap:PropertyPlantAndEquipmentDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_f4480218-b946-4656-b903-177326047637",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:PropertyPlantAndEquipmentGross",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100950 - Disclosure - Property and equipment, net (Details)",
     "menuCat": "Details",
     "order": "90",
     "role": "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosurePropertyAndEquipmentNetDetails",
     "shortName": "Property and equipment, net (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:PropertyPlantAndEquipmentTextBlock",
       "div",
       "us-gaap:PropertyPlantAndEquipmentDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_f4480218-b946-4656-b903-177326047637",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:PropertyPlantAndEquipmentGross",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     }
    },
    "R91": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfFiniteLivedIntangibleAssetsTableTextBlock",
       "div",
       "us-gaap:IntangibleAssetsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_f4480218-b946-4656-b903-177326047637",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:FiniteLivedIntangibleAssetsGross",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100960 - Disclosure - Intangible assets, net - General (Details)",
     "menuCat": "Details",
     "order": "91",
     "role": "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureIntangibleAssetsNetGeneralDetails",
     "shortName": "Intangible assets, net - General (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfFiniteLivedIntangibleAssetsTableTextBlock",
       "div",
       "us-gaap:IntangibleAssetsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_f4480218-b946-4656-b903-177326047637",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:FiniteLivedIntangibleAssetsGross",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     }
    },
    "R92": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleofFiniteLivedIntangibleAssetsFutureAmortizationExpenseTableTextBlock",
       "div",
       "us-gaap:IntangibleAssetsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_f4480218-b946-4656-b903-177326047637",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100970 - Disclosure - Intangible assets, net - Amortization (Details)",
     "menuCat": "Details",
     "order": "92",
     "role": "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureIntangibleAssetsNetAmortizationDetails",
     "shortName": "Intangible assets, net - Amortization (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleofFiniteLivedIntangibleAssetsFutureAmortizationExpenseTableTextBlock",
       "div",
       "us-gaap:IntangibleAssetsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_f4480218-b946-4656-b903-177326047637",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     }
    },
    "R93": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_360d4665-44c1-4cf1-a962-9ba4fe3cf1ed",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:Goodwill",
      "reportCount": 1,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100980 - Disclosure - Goodwill (Details)",
     "menuCat": "Details",
     "order": "93",
     "role": "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureGoodwillDetails",
     "shortName": "Goodwill (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfGoodwillTextBlock",
       "div",
       "us-gaap:GoodwillDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_0162e0f8-9f05-4a7e-ab78-7be18b90d8f1",
      "decimals": "-6",
      "lang": null,
      "name": "us-gaap:GoodwillAcquiredDuringPeriod",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     }
    },
    "R94": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "baba:DeferredRevenueAndCustomerAdvancesTableTextBlock",
       "div",
       "baba:DeferredRevenueAndCustomerAdvancesTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_f4480218-b946-4656-b903-177326047637",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:ContractWithCustomerLiability",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100990 - Disclosure - Deferred revenue and customer advances (Details)",
     "menuCat": "Details",
     "order": "94",
     "role": "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureDeferredRevenueAndCustomerAdvancesDetails",
     "shortName": "Deferred revenue and customer advances (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "baba:DeferredRevenueAndCustomerAdvancesTableTextBlock",
       "div",
       "baba:DeferredRevenueAndCustomerAdvancesTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_f4480218-b946-4656-b903-177326047637",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:ContractWithCustomerLiability",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     }
    },
    "R95": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "baba:ScheduleOfAccruedExpensesAccountsPayableAndOtherLiabilitiesTableTextBlock",
       "div",
       "us-gaap:AccountsPayableAndAccruedLiabilitiesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_f4480218-b946-4656-b903-177326047637",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "baba:AccruedCostOfRevenueAndSalesAndMarketingExpensesCurrent",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101000 - Disclosure - Accrued expenses, accounts payable and other liabilities (Details)",
     "menuCat": "Details",
     "order": "95",
     "role": "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureAccruedExpensesAccountsPayableAndOtherLiabilitiesDetails",
     "shortName": "Accrued expenses, accounts payable and other liabilities (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "baba:ScheduleOfAccruedExpensesAccountsPayableAndOtherLiabilitiesTableTextBlock",
       "div",
       "us-gaap:AccountsPayableAndAccruedLiabilitiesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_f4480218-b946-4656-b903-177326047637",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "baba:AccruedCostOfRevenueAndSalesAndMarketingExpensesCurrent",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     }
    },
    "R96": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_f4480218-b946-4656-b903-177326047637",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "baba:BankBorrowingsCurrent",
      "reportCount": 1,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101010 - Disclosure - Bank borrowings - General (Details)",
     "menuCat": "Details",
     "order": "96",
     "role": "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureBankBorrowingsGeneralDetails",
     "shortName": "Bank borrowings - General (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfDebtTableTextBlock",
       "div",
       "us-gaap:DebtDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_31202d1e-52a2-4b45-ad1f-1a97792109dc",
      "decimals": "-6",
      "lang": null,
      "name": "us-gaap:LongTermLoansFromBank",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     }
    },
    "R97": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfMaturitiesOfLongTermDebtTableTextBlock",
       "div",
       "us-gaap:DebtDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_31202d1e-52a2-4b45-ad1f-1a97792109dc",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101020 - Disclosure - Bank borrowings - Maturity schedule (Details)",
     "menuCat": "Details",
     "order": "97",
     "role": "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureBankBorrowingsMaturityScheduleDetails",
     "shortName": "Bank borrowings - Maturity schedule (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfMaturitiesOfLongTermDebtTableTextBlock",
       "div",
       "us-gaap:DebtDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_31202d1e-52a2-4b45-ad1f-1a97792109dc",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     }
    },
    "R98": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfDebtTableTextBlock",
       "div",
       "us-gaap:DebtDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_02f1d482-4049-43a5-a2cc-5c30d788786f",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:LongTermDebt",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101030 - Disclosure - Unsecured senior notes - General (Details)",
     "menuCat": "Details",
     "order": "98",
     "role": "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureUnsecuredSeniorNotesGeneralDetails3",
     "shortName": "Unsecured senior notes - General (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfDebtTableTextBlock",
       "div",
       "us-gaap:DebtDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_02f1d482-4049-43a5-a2cc-5c30d788786f",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:LongTermDebt",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     }
    },
    "R99": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfMaturitiesOfLongTermDebtTableTextBlock",
       "div",
       "us-gaap:DebtDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_02f1d482-4049-43a5-a2cc-5c30d788786f",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101040 - Disclosure - Unsecured senior notes - Maturity schedule (Details)",
     "menuCat": "Details",
     "order": "99",
     "role": "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureUnsecuredSeniorNotesMaturityScheduleDetails",
     "shortName": "Unsecured senior notes - Maturity schedule (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfMaturitiesOfLongTermDebtTableTextBlock",
       "div",
       "us-gaap:DebtDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "baba-20230331.htm",
      "contextRef": "C_02f1d482-4049-43a5-a2cc-5c30d788786f",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     }
    }
   },
   "segmentCount": 160,
   "tag": {
    "baba_AccrualForFineImposedPursuantToAntiMonopolyLawCurrent": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Carrying value as of the balance sheet date of obligations incurred through that date and payable for fine imposed pursuant to the PRC Anti-monopoly Law. Used to reflect the current portion of the liabilities (due within one year or within the normal operating cycle if longer).",
        "label": "Accrual for a Fine Imposed Pursuant to Anti-monopoly Law, Current",
        "terseLabel": "Anti-monopoly Fine (Note 25(b))",
        "verboseLabel": "Anti-monopoly fine"
       }
      }
     },
     "localname": "AccrualForFineImposedPursuantToAntiMonopolyLawCurrent",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureRisksAndContingenciesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "baba_AccruedCostOfRevenueAndSalesAndMarketingExpensesCurrent": {
     "auth_ref": [],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureAccruedExpensesAccountsPayableAndOtherLiabilitiesDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_AccountsPayableAndAccruedLiabilitiesCurrent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Carrying value as of the balance sheet date of obligations incurred through that date and payable for the cost of revenue and sales and marketing expenses. Used to reflect the current portion of the liabilities (due within one year or within the normal operating cycle if longer).",
        "label": "Accrued Cost of Revenue and Sales and Marketing Expenses Current",
        "terseLabel": "Payables and accruals for cost of revenue and sales and marketing expenses"
       }
      }
     },
     "localname": "AccruedCostOfRevenueAndSalesAndMarketingExpensesCurrent",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureAccruedExpensesAccountsPayableAndOtherLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "baba_AccruedPurchasesOfPropertyAndEquipment": {
     "auth_ref": [],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureAccruedExpensesAccountsPayableAndOtherLiabilitiesDetails": {
       "order": 5.0,
       "parentTag": "us-gaap_AccountsPayableAndAccruedLiabilitiesCurrent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Carrying value as of the balance sheet date of obligations incurred and payable, pertaining to purchases of property and equipment.",
        "label": "Accrued Purchases of Property and Equipment",
        "terseLabel": "Payables and accruals for purchases of property and equipment"
       }
      }
     },
     "localname": "AccruedPurchasesOfPropertyAndEquipment",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureAccruedExpensesAccountsPayableAndOtherLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "baba_AccumulatedDepreciationAndImpairmentPropertyPlantAndEquipment": {
     "auth_ref": [],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosurePropertyAndEquipmentNetDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_PropertyPlantAndEquipmentNet",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of accumulated depreciation and impairment for physical assets used in the normal conduct of business to produce goods and services.",
        "label": "Accumulated Depreciation and Impairment, Property, Plant, and Equipment",
        "negatedLabel": "Less: accumulated depreciation and impairment"
       }
      }
     },
     "localname": "AccumulatedDepreciationAndImpairmentPropertyPlantAndEquipment",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosurePropertyAndEquipmentNetDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "baba_AccumulatedOtherComprehensiveIncomeLossExcludingTranslationAdjustmentMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Changes to accumulated comprehensive income that results from the net appreciation or the net loss in value of unsold securities, gains and losses from derivative instruments designated and qualifying as the effective portion of cash flow hedges and others not specified in the taxonomy.",
        "label": "Accumulated Other Comprehensive Income Loss Excluding Translation Adjustment [Member]",
        "terseLabel": "Unrealized gains (losses) on interest rate swaps and others"
       }
      }
     },
     "localname": "AccumulatedOtherComprehensiveIncomeLossExcludingTranslationAdjustmentMember",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfChangesInShareholdersEquity"
     ],
     "xbrltype": "domainItemType"
    },
    "baba_AccumulatedOtherComprehensiveIncomeLossNetOfTaxExcludingForeignCurrencyTranslationAdjustment": {
     "auth_ref": [],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedBalanceSheets": {
       "order": 6.0,
       "parentTag": "us-gaap_StockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Accumulated change in equity from transactions and other events and circumstances from non-owner sources, net of tax effect, at period end, excludes foreign currency translation items but includes unrealized gain (loss) on interest rate swaps and others.",
        "label": "Accumulated Other Comprehensive Income Loss Net of Tax Excluding Foreign Currency Translation Adjustment",
        "terseLabel": "Unrealized gains on interest rate swaps and others"
       }
      }
     },
     "localname": "AccumulatedOtherComprehensiveIncomeLossNetOfTaxExcludingForeignCurrencyTranslationAdjustment",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "baba_AdjustedEarningsBeforeInterestTaxesAndAmortization": {
     "auth_ref": [],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSegmentInformationSegmentEbitaAndSegmentEbitdaDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of adjusted earnings before interest, taxes and amortization (\"Adjusted EBITA\"), which represents net income before (i) interest and investment income, net, other income, net, interest expense, income tax expenses and share of results of equity investees, (ii) certain non-cash expenses, consisting of share-based compensation expenses, amortization expenses and impairment of goodwill, and (iii) certain non-recurring expenses, which are not reflective of the Company's core operating performance.",
        "label": "Adjusted Earnings before Interest, Taxes and Amortization",
        "terseLabel": "Adjusted EBITA",
        "totalLabel": "Adjusted Earnings before Interest, Taxes and Amortization, Total"
       }
      }
     },
     "localname": "AdjustedEarningsBeforeInterestTaxesAndAmortization",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSegmentInformationReconciliationFromAdjustedEbitaToConsolidatedNetIncomeDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSegmentInformationSegmentEbitaAndSegmentEbitdaDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "baba_AdjustedEarningsBeforeInterestTaxesAndAmortizationMargin": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Adjusted earnings before interest, taxes and amortization (\"Adjusted EBITA\") as a percentage of the revenue.",
        "label": "Adjusted Earnings before Interest, Taxes and Amortization Margin",
        "terseLabel": "Adjusted EBITA margin"
       }
      }
     },
     "localname": "AdjustedEarningsBeforeInterestTaxesAndAmortizationMargin",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSegmentInformationSegmentEbitaAndSegmentEbitdaDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "baba_AdministrativeAndSupportServicesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Administrative and support services of share-based compensation expense relating to specified ordinary shares of the entity granted to the employees of Small and Micro Financial Services Company and its subsidiaries.",
        "label": "Administrative and support services"
       }
      }
     },
     "localname": "AdministrativeAndSupportServicesMember",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureRelatedPartyTransactionsTransactionsWithRelatedPartiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "baba_AdvancesToReceivablesFromCustomersMerchantsAndOthersCurrent": {
     "auth_ref": [],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosurePrepaymentsReceivablesAndOtherAssetsDetails": {
       "order": 1.0,
       "parentTag": "baba_PrepaidExpenseReceivablesAndOtherAssetsCurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount paid to / received from customers, merchants and others in advance based on contractual terms and is generally nonrefundable. This amount is expected to be consumed within one year or the normal operating cycle, if longer.",
        "label": "Advances to / Receivables from Customers, Merchants and Others Current",
        "terseLabel": "Advances to/receivables from customers, merchants and others"
       }
      }
     },
     "localname": "AdvancesToReceivablesFromCustomersMerchantsAndOthersCurrent",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosurePrepaymentsReceivablesAndOtherAssetsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "baba_AggregateOfEquityMethodInvestmentsPubliclyTradedMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Aggregate of equity method investments that are publicly traded.",
        "label": "Aggregate Of Equity Method Investments Publicly Traded [Member]",
        "terseLabel": "Equity method investments, publicly traded"
       }
      }
     },
     "localname": "AggregateOfEquityMethodInvestmentsPubliclyTradedMember",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureInvestmentsInEquityMethodInvesteesAdditionalDetailsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "baba_AliExpressRussiaJointVentureMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents investment in AliExpress Russia Holding Pte. Ltd. ('AliExpress Russia Joint Venture').",
        "label": "Ali Express Russia Joint Venture [Member]",
        "terseLabel": "AliExpress Russia Joint Venture"
       }
      }
     },
     "localname": "AliExpressRussiaJointVentureMember",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsEquityInvestmentsAndOthersDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "baba_AlibabaBeijingSoftwareServicesCo.LtdMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the member information pertaining to Alibaba (Beijing) Software Services Co., Ltd.",
        "label": "Alibaba Beijing Software Services Co. Ltd [Member]",
        "terseLabel": "Alibaba Beijing"
       }
      }
     },
     "localname": "AlibabaBeijingSoftwareServicesCo.LtdMember",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureIncomeTaxExpensesGeneralDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "baba_AlibabaChinaCoLtdMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents Alibaba (China) Co., Ltd (\"China Co.\").",
        "label": "Alibaba China Co Ltd [Member]",
        "terseLabel": "China Co."
       }
      }
     },
     "localname": "AlibabaChinaCoLtdMember",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureIncomeTaxExpensesGeneralDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "baba_AlibabaChinaTechnologyCoLtdMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents Alibaba (China) Technology Co. Ltd. (\"Alibaba China\"), a subsidiary entity of the Company, primarily engaged in the operations of the Company's wholesale marketplaces.",
        "label": "Alibaba China Technology Co Ltd [Member]",
        "terseLabel": "Alibaba China"
       }
      }
     },
     "localname": "AlibabaChinaTechnologyCoLtdMember",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureIncomeTaxExpensesGeneralDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "baba_AliexpressRussiaBusinessesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to AliExpress Russia businesses.",
        "label": "Aliexpress Russia Businesses [Member]",
        "terseLabel": "AliExpress Russia businesses"
       }
      }
     },
     "localname": "AliexpressRussiaBusinessesMember",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsEquityInvestmentsAndOthersDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "baba_AlipayMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Alipay.com Co., Ltd. (\"Alipay\"), which operates the Payment Services and which is a former subsidiary of the entity.",
        "label": "Alipay"
       }
      }
     },
     "localname": "AlipayMember",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureRelatedPartyTransactionsTransactionsWithRelatedPartiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "baba_AllocationOfGoodwill": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of allocation of goodwill primarily as a result of the change in segments.",
        "label": "Allocation Of Goodwill",
        "terseLabel": "Allocation of goodwill"
       }
      }
     },
     "localname": "AllocationOfGoodwill",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureGoodwillDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "baba_AmortizableIntangibleAssetsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Primary financial statement caption encompassing amortizable intangible assets.",
        "label": "Amortizable Intangible Assets [Member]",
        "terseLabel": "Amortizable intangible assets"
       }
      }
     },
     "localname": "AmortizableIntangibleAssetsMember",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsEquityInvestmentsAndOthersDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "baba_AmortizationAndImpairmentOfIntangibleAssets": {
     "auth_ref": [],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSegmentInformationSegmentEbitaAndSegmentEbitdaDetails": {
       "order": 3.0,
       "parentTag": "baba_AdjustedEarningsBeforeInterestTaxesAndAmortization",
       "weight": -1.0
      },
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedIncomeStatements": {
       "order": 5.0,
       "parentTag": "us-gaap_OperatingIncomeLoss",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The aggregate expense charged against earnings to allocate the cost of intangible assets (nonphysical assets not used in production) in a systematic and rational manner to the periods expected to benefit from such assets and the amount of impairment loss recognized in the period resulting from the write-down of the carrying amount of intangible assets to fair value.",
        "label": "Amortization and Impairment of Intangible Assets",
        "negatedLabel": "Amortization and impairment of intangible assets",
        "terseLabel": "Add: Amortization of intangible assets",
        "verboseLabel": "Add: amortization and impairment of intangible assets"
       }
      }
     },
     "localname": "AmortizationAndImpairmentOfIntangibleAssets",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSegmentInformationReconciliationFromAdjustedEbitaToConsolidatedNetIncomeDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSegmentInformationSegmentEbitaAndSegmentEbitdaDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedIncomeStatements"
     ],
     "xbrltype": "monetaryItemType"
    },
    "baba_AmortizationOfRestructuringReserve": {
     "auth_ref": [],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 14.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of amortization of restructuring reserve applied against earnings during the period.",
        "label": "Amortization of Restructuring Reserve",
        "terseLabel": "[Amortization of restructuring reserve]"
       }
      }
     },
     "localname": "AmortizationOfRestructuringReserve",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "baba_AmountAppropriatedToEnterpriseExpansionFundStaffWelfareAndBonusFund": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount appropriated to the enterprise expansion fund and staff welfare and bonus fund for entities incorporated in PRC.",
        "label": "Amount Appropriated to Enterprise Expansion Fund Staff Welfare and Bonus Fund",
        "terseLabel": "Appropriation to the enterprise expansion fund and staff welfare and bonus fund"
       }
      }
     },
     "localname": "AmountAppropriatedToEnterpriseExpansionFundStaffWelfareAndBonusFund",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesOthersDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "baba_AmountAppropriatedToStatutoryReserves": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount appropriated from retained earnings to statutory reserves for entities incorporated in PRC.",
        "label": "Amount Appropriated To Statutory Reserves",
        "terseLabel": "Appropriation to statutory reserves"
       }
      }
     },
     "localname": "AmountAppropriatedToStatutoryReserves",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesOthersDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfChangesInShareholdersEquity"
     ],
     "xbrltype": "monetaryItemType"
    },
    "baba_AnnualFeeUnderSoftwareSystemUseAndServiceAgreementsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Annual fee under software system use and service agreements entered with related party relating to the know how and related intellectual property that the Company has agreed to sell certain securities and assets primarily relating to the SME loan business.",
        "label": "Annual fee for SME loan business"
       }
      }
     },
     "localname": "AnnualFeeUnderSoftwareSystemUseAndServiceAgreementsMember",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureRelatedPartyTransactionsTransactionsWithRelatedPartiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "baba_AntFinancialServiceMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Ant financial service.",
        "label": "Ant Financial Service [Member]",
        "terseLabel": "Ant Group"
       }
      }
     },
     "localname": "AntFinancialServiceMember",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsEquityInvestmentsAndOthersDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "baba_AntFinancialServicesAndItsAffiliatesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Ant Small and Micro Group (formerly known as Zhejiang Ant Small and Micro Financial Services Group Co., Ltd.) (\"Ant Group\"), the financial services group that operates through Alipay.com Co., Ltd. (Alipay), a third-party online payment platform in China. The Company derives substantially all of its revenue from the PRC, including its affiliates as well.",
        "label": "Ant Financial Services And Its Affiliates [Member]",
        "terseLabel": "Ant Group and its affiliates"
       }
      }
     },
     "localname": "AntFinancialServicesAndItsAffiliatesMember",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureRelatedPartyTransactionsTables",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureRelatedPartyTransactionsTransactionsWithRelatedPartiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "baba_AntFinancialServicesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Ant Small and Micro Group (formerly known as Zhejiang Ant Small and Micro Financial Services Group Co., Ltd.) (\"Ant Group\"), the financial services group that operates through Alipay.com Co., Ltd. (Alipay), a third-party online payment platform in China. The Company derives substantially all of its revenue from the PRC.",
        "label": "Ant Financial Services [Member]",
        "terseLabel": "Ant Group"
       }
      }
     },
     "localname": "AntFinancialServicesMember",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureIncomeTaxExpensesCompositionOfDeferredTaxAssetsAndLiabilitiesDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureIncomeTaxExpensesReconciliationsDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureInvestmentsInEquityMethodInvesteesAdditionalDetailsDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosurePrepaymentsReceivablesAndOtherAssetsDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureRelatedPartyTransactionsTransactionsWithRelatedPartiesDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsEquityInvestmentsAndOthersDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "baba_AntGroupMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Ant Group.",
        "label": "Ant Group [Member]",
        "terseLabel": "Ant Group"
       }
      }
     },
     "localname": "AntGroupMember",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureRisksAndContingenciesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "baba_AntiMonopolyInvestigationSelfAssessmentAndComplianceReportTerm": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of consecutive years the Company is required to file a self-assessment and compliance report to the State Administration for Market Regulation of the PRC (the 'SAMR').",
        "label": "Anti-monopoly Investigation, Self-assessment and Compliance Report, Term",
        "terseLabel": "Number of consecutive years the Company is required to file a self-assessment and compliance report to the SAMR"
       }
      }
     },
     "localname": "AntiMonopolyInvestigationSelfAssessmentAndComplianceReportTerm",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureRisksAndContingenciesDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "baba_AntiMonopolyLawFineImposed": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of fine imposed pursuant to the PRC Anti-monopoly Law.",
        "label": "Anti Monopoly Law, Fine Imposed",
        "negatedLabel": "Anti-monopoly Fine",
        "verboseLabel": "Add: Anti-monopoly Fine"
       }
      }
     },
     "localname": "AntiMonopolyLawFineImposed",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSegmentInformationReconciliationFromAdjustedEbitaToConsolidatedNetIncomeDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSegmentInformationSegmentEbitaAndSegmentEbitdaDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "baba_AppropriationOfNetIncomeToStatutoryReserveRequiredPercentage": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the minimum percentage of net income from subsidiaries required to be appropriated towards the statutory reserve fund for entities incorporated in the People's Republic of China until the reserve balance reaches 50 percent of registered capital.",
        "label": "Appropriation of Net Income To Statutory Reserve Required Percentage",
        "terseLabel": "Percentage of after-tax profit from subsidiaries incorporated in the PRC required to be appropriated to the statutory reserves",
        "verboseLabel": "Percentage of net income from subsidiaries and consolidated VIEs incorporated in the PRC to be appropriated to the statutory reserve"
       }
      }
     },
     "localname": "AppropriationOfNetIncomeToStatutoryReserveRequiredPercentage",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureRestrictedNetAssetsDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesOthersDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "baba_BankBorrowingsCurrent": {
     "auth_ref": [],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedBalanceSheets": {
       "order": 0.0,
       "parentTag": "us-gaap_LiabilitiesCurrent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Carrying amount as of the balance sheet date of bank borrowings due within one year or the normal operating cycle, if longer.",
        "label": "Bank Borrowings, Current",
        "terseLabel": "Current bank borrowings",
        "verboseLabel": "Within 1 year"
       }
      }
     },
     "localname": "BankBorrowingsCurrent",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureBankBorrowingsGeneralDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "baba_BankBorrowingsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Borrowings from banks.",
        "label": "Bank Borrowings [Member]",
        "terseLabel": "Bank borrowings"
       }
      }
     },
     "localname": "BankBorrowingsMember",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureBankBorrowings",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureBankBorrowingsGeneralDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureBankBorrowingsMaturityScheduleDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureBankBorrowingsTables"
     ],
     "xbrltype": "domainItemType"
    },
    "baba_BilibiliIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to Bilibili, Inc.",
        "label": "Bilibili, Inc [Member]",
        "terseLabel": "Bilibili, Inc"
       }
      }
     },
     "localname": "BilibiliIncMember",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsEquityInvestmentsAndOthersDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "baba_BuildingAndOtherPropertyMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Building and other property.",
        "label": "Building and Other Property [Member]",
        "terseLabel": "Building and other property"
       }
      }
     },
     "localname": "BuildingAndOtherPropertyMember",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesLongLivedAssetsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "baba_BuildingsPropertyImprovementsAndOtherPropertyMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the member information pertaining to building, property improvements and other property.",
        "label": "Building, property improvements and other property"
       }
      }
     },
     "localname": "BuildingsPropertyImprovementsAndOtherPropertyMember",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosurePropertyAndEquipmentNetDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "baba_BusinessCombinationConsiderationTransferredIncludingEquityInterestInAcquireeHeldPriorToCombinationAndPaidContingentConsideration": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of consideration transferred, consisting of acquisition-date fair value of assets transferred by the acquirer, liabilities incurred by the acquirer, and equity interest issued by the acquirer. Includes the cumulative contingent consideration paid through the balance sheet date, not the unpaid.",
        "label": "Business Combination Consideration Transferred Including Equity Interest in Acquiree Held Prior to Combination and Paid Contingent Consideration",
        "negatedLabel": "Purchase consideration settled"
       }
      }
     },
     "localname": "BusinessCombinationConsiderationTransferredIncludingEquityInterestInAcquireeHeldPriorToCombinationAndPaidContingentConsideration",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsOtherAcquisitionsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "baba_BusinessCombinationDeferredConsideration": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of liability recognized arising from deferred consideration in a business combination.",
        "label": "Business Combination, Deferred Consideration",
        "terseLabel": "Deferred consideration as of year end"
       }
      }
     },
     "localname": "BusinessCombinationDeferredConsideration",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsOtherAcquisitionsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "baba_BusinessCombinationNoncontrollingInterestsAndMezzanineEquity": {
     "auth_ref": [],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsOtherAcquisitionsDetails": {
       "order": 1.0,
       "parentTag": "baba_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLessNoncontrollingInterest",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of noncontrolling interest and mezzanine equity.",
        "label": "Business Combination, Noncontrolling Interests and Mezzanine Equity",
        "negatedLabel": "Noncontrolling interests and mezzanine equity"
       }
      }
     },
     "localname": "BusinessCombinationNoncontrollingInterestsAndMezzanineEquity",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsOtherAcquisitionsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "baba_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCustomerAdvances": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of customer advances assumed at the acquisition date.",
        "label": "Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Customer Advances",
        "terseLabel": "Customer advances"
       }
      }
     },
     "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCustomerAdvances",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsSunArtDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "baba_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLessNoncontrollingInterest": {
     "auth_ref": [],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsOtherAcquisitionsDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedLessNoncontrollingInterest",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount recognized as of the acquisition date for the identifiable assets acquired, except for goodwill, in excess of (less than) the aggregate liabilities assumed, and less the noncontrolling interest.",
        "label": "Business Combination Recognized Identifiable Assets Acquired and Liabilities Assumed Less Noncontrolling Interest",
        "totalLabel": "Net identifiable assets (liabilities)"
       }
      }
     },
     "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLessNoncontrollingInterest",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsOtherAcquisitionsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "baba_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNetAssetsIncludingNoncontrollingInterestFairValue": {
     "auth_ref": [],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsSunArtDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedLessNoncontrollingInterest",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of assets, excluding identifiable intangible assets and deferred tax liabilities, but including fair value of the noncontrolling interest in the acquiree, acquired at the acquisition date.",
        "label": "Business Combination Recognized Identifiable Assets Acquired and Liabilities Assumed Net Assets, Including Noncontrolling Interest, Fair Value",
        "terseLabel": "Net assets acquired"
       }
      }
     },
     "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNetAssetsIncludingNoncontrollingInterestFairValue",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsSunArtDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "baba_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNetAssetsLiabilities": {
     "auth_ref": [],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsOtherAcquisitionsDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of assets (liabilities), excluding identifiable intangible assets and deferred tax assets and/or deferred tax liabilities, acquired at the acquisition date.",
        "label": "Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Net Assets (Liabilities)",
        "terseLabel": "Net (liabilities) assets"
       }
      }
     },
     "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNetAssetsLiabilities",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsOtherAcquisitionsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "baba_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOperatingLeaseRightOfUseAssetsLandUseRights": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of operating lease right-of-use assets relating to land use rights recognized as of the acquisition date.",
        "label": "Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Operating Lease Right-of-use Assets, Land Use Rights",
        "terseLabel": "Operating lease right-of-use assets relating to land use rights"
       }
      }
     },
     "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOperatingLeaseRightOfUseAssetsLandUseRights",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsSunArtDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "baba_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPayablesAndAccrualsForCostOfRevenue": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of payables and accruals for cost of revenue assumed at the acquisition date.",
        "label": "Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Payables and Accruals for Cost of Revenue",
        "terseLabel": "Payables and accruals for cost of revenue"
       }
      }
     },
     "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPayablesAndAccrualsForCostOfRevenue",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsSunArtDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "baba_BusinessCombinationsAndNoncontrollingInterestsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to business combinations and noncontrolling interests.",
        "label": "Business Combinations and Noncontrolling Interests [Abstract]",
        "terseLabel": "Business combinations and noncontrolling interests"
       }
      }
     },
     "localname": "BusinessCombinationsAndNoncontrollingInterestsAbstract",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesVariousDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "baba_BusinessCombinationsAndNoncontrollingInterestsPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for business combinations and noncontrolling interests.",
        "label": "Business Combinations and Noncontrolling Interests [Policy Text Block]",
        "terseLabel": "Business combinations and noncontrolling interests"
       }
      }
     },
     "localname": "BusinessCombinationsAndNoncontrollingInterestsPolicyTextBlock",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "baba_BuyerProtectionFundDepositsFromMerchantsOnTheMarketplacesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Buyer protection fund deposits from merchants on the marketplaces.",
        "label": "Buyer Protection Fund Deposits From Merchants On The Marketplaces [Member]",
        "terseLabel": "Buyer protection fund deposits from merchants on the marketplaces"
       }
      }
     },
     "localname": "BuyerProtectionFundDepositsFromMerchantsOnTheMarketplacesMember",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureRestrictedCashAndEscrowReceivablesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "baba_CainiaoSegmentMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for Cainiao segment.",
        "label": "Cainiao"
       }
      }
     },
     "localname": "CainiaoSegmentMember",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureGoodwillDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureRevenueBreakdownBySegmentDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSegmentInformationConsolidatedDepreciationAndImpairmentOfPropertyAndEquipmentAndOperatingLeaseCostRelatingToLandUseRightsBySegmentsAndOthersDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSegmentInformationSegmentEbitaAndSegmentEbitdaDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "baba_CallOptionsExpiryDate": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Call options expiry date.",
        "label": "Call Options Expiry Date",
        "terseLabel": "Call options, expiry date"
       }
      }
     },
     "localname": "CallOptionsExpiryDate",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsEquityInvestmentsAndOthersDetails"
     ],
     "xbrltype": "dateItemType"
    },
    "baba_CashHeldInAccountsManagedByRelatedPartyRelatedToServicesReceivedMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents Alipay's provision of online and mobile commerce and related services to the Company, and the Company had certain amounts of cash held in accounts managed by Alipay.",
        "label": "Cash held in accounts managed by Alipay"
       }
      }
     },
     "localname": "CashHeldInAccountsManagedByRelatedPartyRelatedToServicesReceivedMember",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureRelatedPartyTransactionsTransactionsWithRelatedPartiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "baba_CertainOtherInvesteesOfCompanyMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for certain other investees of the Company.",
        "label": "Certain investees of the Company"
       }
      }
     },
     "localname": "CertainOtherInvesteesOfCompanyMember",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureRelatedPartyTransactionsTransactionsWithRelatedPartiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "baba_ChinaBroadcastingNetworkJointStockCorporationLimitedMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to China Broadcasting Network Joint Stock Corporation Limited.",
        "label": "China Broadcasting Network Joint Stock Corporation Limited [Member]",
        "terseLabel": "China Broadcasting Network Joint Stock Corporation Limited"
       }
      }
     },
     "localname": "ChinaBroadcastingNetworkJointStockCorporationLimitedMember",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsEquityInvestmentsAndOthersDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "baba_ChinaCommerceSegmentMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for china commerce Segment.",
        "label": "China commerce"
       }
      }
     },
     "localname": "ChinaCommerceSegmentMember",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureGoodwillDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureRevenueBreakdownBySegmentDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSegmentInformationConsolidatedDepreciationAndImpairmentOfPropertyAndEquipmentAndOperatingLeaseCostRelatingToLandUseRightsBySegmentsAndOthersDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSegmentInformationSegmentEbitaAndSegmentEbitdaDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "baba_CloudComputingRevenueMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the pertaining information about cloud computing revenue with related parties.",
        "label": "Cloud services revenue"
       }
      }
     },
     "localname": "CloudComputingRevenueMember",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureRelatedPartyTransactionsTransactionsWithRelatedPartiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "baba_CloudComputingSegmentMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Cloud computing segment is mainly for the provision of services, such as elastic computing, database, storage, network virtualization services, large scale computing, security, management and application services, big data analytics, and machine learning platform and IoT services.",
        "label": "Cloud Computing Segment [Member]",
        "terseLabel": "Cloud"
       }
      }
     },
     "localname": "CloudComputingSegmentMember",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureGoodwillDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureRevenueBreakdownBySegmentDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSegmentInformationConsolidatedDepreciationAndImpairmentOfPropertyAndEquipmentAndOperatingLeaseCostRelatingToLandUseRightsBySegmentsAndOthersDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSegmentInformationSegmentEbitaAndSegmentEbitdaDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "baba_CloudComputingServicesUnderOtherCommercialArrangementsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Cloud computing services under other commercial arrangements with related party.",
        "label": "Commercial arrangements related to cloud services"
       }
      }
     },
     "localname": "CloudComputingServicesUnderOtherCommercialArrangementsMember",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureRelatedPartyTransactionsTransactionsWithRelatedPartiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "baba_CloudServicesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The member stands for cloud services.",
        "label": "Cloud Services [Member]",
        "terseLabel": "Cloud services"
       }
      }
     },
     "localname": "CloudServicesMember",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureRevenueByTypeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "baba_CoLocationBandwidthFeesLicensedCopyrightsAndMarketingExpensesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Contractual obligations for co-location, bandwidth fees, licensed copyrights and marketing expenses.",
        "label": "Co Location Bandwidth Fees Licensed Copyrights And Marketing Expenses [Member]",
        "terseLabel": "Co-location, bandwidth fees, licensed copyrights and marketing expenses"
       }
      }
     },
     "localname": "CoLocationBandwidthFeesLicensedCopyrightsAndMarketingExpensesMember",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureCommitmentsOtherCommitmentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "baba_CommerceSegmentMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for commerce Segment.",
        "label": "Commerce"
       }
      }
     },
     "localname": "CommerceSegmentMember",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureGoodwillDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "baba_CommercialArrangementsMarketingServicesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Commercial arrangements related to marketing services provided by related party.",
        "label": "Commercial arrangements related to marketing services"
       }
      }
     },
     "localname": "CommercialArrangementsMarketingServicesMember",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureRelatedPartyTransactionsTransactionsWithRelatedPartiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "baba_CommitmentsDisclosureAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "No definition available.",
        "label": "Commitments"
       }
      }
     },
     "localname": "CommitmentsDisclosureAbstract",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "xbrltype": "stringItemType"
    },
    "baba_CommonStockHkdMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Common stock HKD.",
        "label": "Common Stock HKD [Member]",
        "terseLabel": "Common Stock HKD"
       }
      }
     },
     "localname": "CommonStockHkdMember",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "domainItemType"
    },
    "baba_CommonStockRmbMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Common stock RMB.",
        "label": "Common Stock RMB [Member]",
        "terseLabel": "Common Stock RMB"
       }
      }
     },
     "localname": "CommonStockRmbMember",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "domainItemType"
    },
    "baba_CommonStockValueSharesAuthorized": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Value of the maximum number of common shares permitted to be issued by an entity's charter and bylaws.",
        "label": "Common Stock, Value, Shares Authorized",
        "terseLabel": "Authorized share capital"
       }
      }
     },
     "localname": "CommonStockValueSharesAuthorized",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesBasisOfPresentationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "baba_ComputerEquipmentAndSoftwareMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Long lived, depreciable assets that are used in the creation, maintenance and utilization of information systems, and purchased software applications and internally developed software for sale, licensing or long-term internal use.",
        "label": "Computer Equipment And Software [Member]",
        "terseLabel": "Computer equipment and software"
       }
      }
     },
     "localname": "ComputerEquipmentAndSoftwareMember",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosurePropertyAndEquipmentNetDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesLongLivedAssetsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "baba_ConcentrationRiskAndLossContingencyDisclosureTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for: 1) any concentrations existing at the date of the financial statements that make an entity vulnerable to a reasonably possible, near-term, severe impact. This disclosure informs financial statement users about the general nature of the risk associated with the concentration, and may indicate the percentage of concentration risk as of the balance sheet date; 2) loss and gain contingencies. Describes any existing condition, situation, or set of circumstances involving uncertainty as of the balance sheet date (or prior to issuance of the financial statements) as to a probable or reasonably possible loss incurred by an entity that will ultimately be resolved when one or more future events occur or fail to occur, and typically discloses the amount of loss recorded or a range of possible loss, or an assertion that no reasonable estimate can be made.",
        "label": "Concentration Risk and Loss Contingency Disclosure [Text Block]",
        "terseLabel": "Risks and contingencies"
       }
      }
     },
     "localname": "ConcentrationRiskAndLossContingencyDisclosureTextBlock",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureRisksAndContingencies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "baba_ConsumerProtectionFundDepositsFromMerchantsOnMarketPlacesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The member stands for consumer protection fund deposits from merchants on the market places.",
        "label": "Consumer protection fund deposits from merchants on the marketplaces",
        "terseLabel": "Buyer protection fund deposits from merchants on the marketplaces"
       }
      }
     },
     "localname": "ConsumerProtectionFundDepositsFromMerchantsOnMarketPlacesMember",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureRestrictedCashAndEscrowReceivablesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "baba_ContingentConsiderationInRelationToInvestmentsAndAcquisitionsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents contingent consideration n relation to investments and acquisitions.",
        "label": "Contingent Consideration In Relation To Investments And Acquisitions [Member]",
        "terseLabel": "Contingent consideration in relation to investments and acquisitions"
       }
      }
     },
     "localname": "ContingentConsiderationInRelationToInvestmentsAndAcquisitionsMember",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureFairValueMeasurementContingentConsiderationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "baba_ContingentConsiderationPaymentsMadeAfterABusinessCombination": {
     "auth_ref": [],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 5.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash outflow, after business combination, to settle contingent consideration.",
        "label": "Contingent Consideration Payments Made After a Business Combination",
        "negatedLabel": "Contingent consideration payments made after a business combination"
       }
      }
     },
     "localname": "ContingentConsiderationPaymentsMadeAfterABusinessCombination",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "baba_ContingentFineImposed": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Contingent fine imposed.",
        "label": "Contingent Fine Imposed",
        "terseLabel": "Fine imposed"
       }
      }
     },
     "localname": "ContingentFineImposed",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureRisksAndContingenciesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "baba_ContractWithCustomerLiabilityCustomerAdvances": {
     "auth_ref": [],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureDeferredRevenueAndCustomerAdvancesDetails": {
       "order": 0.0,
       "parentTag": "baba_DeferredRevenueAndCustomerAdvancesTotal",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of obligation to transfer good or service to customer in the future for which cash consideration has been received.",
        "label": "Contract with Customer, Liability, Customer Advances",
        "terseLabel": "Customer advances"
       }
      }
     },
     "localname": "ContractWithCustomerLiabilityCustomerAdvances",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureDeferredRevenueAndCustomerAdvancesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "baba_ConvenienceTranslationAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "No definition available.",
        "label": "Convenience Translation [Abstract]",
        "terseLabel": "Convenience translation"
       }
      }
     },
     "localname": "ConvenienceTranslationAbstract",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesBasisOfPresentationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "baba_ConvertibleAndExchangeableBondsAtFairValue": {
     "auth_ref": [],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureFairValueMeasurementDetails": {
       "order": 5.0,
       "parentTag": "us-gaap_AssetsFairValueDisclosure",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value portion of convertible and exchangeable bonds.",
        "label": "Convertible And Exchangeable Bonds, At Fair Value",
        "terseLabel": "Convertible and exchangeable bonds"
       }
      }
     },
     "localname": "ConvertibleAndExchangeableBondsAtFairValue",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureFairValueMeasurementDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "baba_ConvertibleAndExchangeableBondsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to convertible and exchangeable bonds.",
        "label": "Convertible and exchangeable bonds",
        "terseLabel": "Convertible and exchangeable bonds"
       }
      }
     },
     "localname": "ConvertibleAndExchangeableBondsMember",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureEquitySecuritiesAndOtherInvestmentsDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureFairValueMeasurementConvertibleAndExchangeableBondsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "baba_CorporateGovernanceProvisionsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the information pertaining to corporate governance provisions.",
        "label": "Corporate Governance Provisions [Member]",
        "terseLabel": "Corporate governance provisions"
       }
      }
     },
     "localname": "CorporateGovernanceProvisionsMember",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsEquityInvestmentsAndOthersDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "baba_CostAndEquityMethodInvestmentsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "No definition available.",
        "label": "Investments in equity method investees"
       }
      }
     },
     "localname": "CostAndEquityMethodInvestmentsAbstract",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "xbrltype": "stringItemType"
    },
    "baba_CostAndEquityMethodInvestmentsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "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.",
        "label": "Cost and Equity Method Investments [Line Items]",
        "terseLabel": "Investments in equity investees"
       }
      }
     },
     "localname": "CostAndEquityMethodInvestmentsLineItems",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureInvestmentsInEquityMethodInvesteesAdditionalDetailsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "baba_CurrentPortionOfPrincipalAmounts": {
     "auth_ref": [],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureUnsecuredSeniorNotesGeneralDetails2": {
       "order": 1.0,
       "parentTag": "us-gaap_LongTermDebt",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, before unamortized (discount) premium and debt issuance costs, of long-term debt, classified as current. Includes, but is not limited to, notes payable, bonds payable, commercial loans, mortgage loans, convertible debt, subordinated debt and other types of debt.",
        "label": "Current Portion Of Principal Amounts",
        "negatedLabel": "Less: current portion of principal amounts of unsecured senior notes",
        "terseLabel": "Less: current portion of principal amounts of unsecured senior notes"
       }
      }
     },
     "localname": "CurrentPortionOfPrincipalAmounts",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureUnsecuredSeniorNotesGeneralDetails3"
     ],
     "xbrltype": "monetaryItemType"
    },
    "baba_CustomerManagementServicesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the information pertaining to customer management services.",
        "label": "Customer Management Services [Member]",
        "terseLabel": "Customer management services"
       }
      }
     },
     "localname": "CustomerManagementServicesMember",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureRevenueBreakdownBySegmentDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureRevenueByTypeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "baba_DebtSecuritiesAndLoanInvestmentsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Debt securities and loan investments.",
        "label": "Debt Securities and Loan Investments [Member]",
        "terseLabel": "Debt securities and loan investments"
       }
      }
     },
     "localname": "DebtSecuritiesAndLoanInvestmentsMember",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureEquitySecuritiesAndOtherInvestmentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "baba_DeferredDirectSellingCostsAndCostOfRevenue": {
     "auth_ref": [],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosurePrepaymentsReceivablesAndOtherAssetsDetails": {
       "order": 2.0,
       "parentTag": "baba_PrepaidExpenseReceivablesAndOtherAssetsCurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Carrying amount as of the balance sheet date of deferred sales commissions and cost of revenue that are expected to be recognized in the same period as the related revenues are recognized within one year or the normal operating cycle, if longer.",
        "label": "Deferred Direct Selling Costs and Cost of Revenue",
        "terseLabel": "Deferred direct selling costs and cost of revenue"
       }
      }
     },
     "localname": "DeferredDirectSellingCostsAndCostOfRevenue",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosurePrepaymentsReceivablesAndOtherAssetsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "baba_DeferredRevenueAndCustomerAdvancesPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for deferred revenue and customer advances.",
        "label": "Deferred Revenue and Customer Advances [Policy Text Block]",
        "terseLabel": "Deferred revenue and customer advances"
       }
      }
     },
     "localname": "DeferredRevenueAndCustomerAdvancesPolicyTextBlock",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "baba_DeferredRevenueAndCustomerAdvancesTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of deferred revenue and customer advances.",
        "label": "Deferred Revenue and Customer Advances [Table Text Block]",
        "terseLabel": "Schedule of deferred revenue and customer advances"
       }
      }
     },
     "localname": "DeferredRevenueAndCustomerAdvancesTableTextBlock",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureDeferredRevenueAndCustomerAdvancesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "baba_DeferredRevenueAndCustomerAdvancesTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure of deferred revenue and customer advances, which represents obligation to transfer good or service to customer for which consideration has been received or is receivable.",
        "label": "Deferred Revenue and Customer Advances [Text Block]",
        "terseLabel": "Deferred revenue and customer advances"
       }
      }
     },
     "localname": "DeferredRevenueAndCustomerAdvancesTextBlock",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureDeferredRevenueAndCustomerAdvances"
     ],
     "xbrltype": "textBlockItemType"
    },
    "baba_DeferredRevenueAndCustomerAdvancesTotal": {
     "auth_ref": [],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureDeferredRevenueAndCustomerAdvancesDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureDeferredRevenueAndCustomerAdvancesDetailsCal2": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesConsolidationDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Total carrying amount of deferred revenue and customer advances as of the balance sheet date.",
        "label": "Deferred Revenue and Customer Advances Total",
        "terseLabel": "Deferred revenue and customer advances",
        "totalLabel": "Total"
       }
      }
     },
     "localname": "DeferredRevenueAndCustomerAdvancesTotal",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureDeferredRevenueAndCustomerAdvancesDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesConsolidationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "baba_DeferredRevenueCurrentAndCustomerAdvancesCurrent": {
     "auth_ref": [],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureDeferredRevenueAndCustomerAdvancesDetailsCal2": {
       "order": 0.0,
       "parentTag": "baba_DeferredRevenueAndCustomerAdvancesTotal",
       "weight": 1.0
      },
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedBalanceSheets": {
       "order": 5.0,
       "parentTag": "us-gaap_LiabilitiesCurrent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The carrying amount of consideration received or receivable as of the balance sheet date on potential earnings that were not recognized as revenue in conformity with GAAP, and which are expected to be recognized when performance obligations are satisfied within one year or the normal operating cycle, if longer. And the current portion of prepayments received from customers for goods or services to be provided in the future.",
        "label": "Deferred Revenue Current and Customer Advances Current",
        "negatedLabel": "Less: current portion",
        "terseLabel": "Deferred revenue and customer advances"
       }
      }
     },
     "localname": "DeferredRevenueCurrentAndCustomerAdvancesCurrent",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureDeferredRevenueAndCustomerAdvancesDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "baba_DeferredTaxAssetsOperatingLossCarryforwardsAndOthersNoncurrent": {
     "auth_ref": [],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureIncomeTaxExpensesCompositionOfDeferredTaxAssetsAndLiabilitiesDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_DeferredTaxAssetsGross",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount before allocation of valuation allowances of deferred tax asset attributable to deductible operating loss carryforwards and deductible temporary differences from others, primarily representing accrued expenses which are not deductible until paid, expected to be realized or consumed after one year (or the normal operating cycle, if longer).",
        "label": "Deferred Tax Assets Operating Loss Carryforwards and Others Noncurrent",
        "terseLabel": "Tax losses carried forward and others"
       }
      }
     },
     "localname": "DeferredTaxAssetsOperatingLossCarryforwardsAndOthersNoncurrent",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureIncomeTaxExpensesCompositionOfDeferredTaxAssetsAndLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "baba_DeferredTaxLiabilitiesEquityInvesteesAndOthersNoncurrent": {
     "auth_ref": [],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureIncomeTaxExpensesCompositionOfDeferredTaxAssetsAndLiabilitiesDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_DeferredIncomeTaxLiabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of noncurrent deferred tax liability attributable to taxable temporary differences from equity investees, investment securities and others.",
        "label": "Deferred Tax Liabilities, Equity investees and Others, Noncurrent",
        "negatedLabel": "Equity method investees and others"
       }
      }
     },
     "localname": "DeferredTaxLiabilitiesEquityInvesteesAndOthersNoncurrent",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureIncomeTaxExpensesCompositionOfDeferredTaxAssetsAndLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "baba_DeferredTaxLiabilitiesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Primary financial statement caption encompassing deferred tax liabilities.",
        "label": "Deferred Tax Liabilities [Member]",
        "terseLabel": "Deferred tax liabilities"
       }
      }
     },
     "localname": "DeferredTaxLiabilitiesMember",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsEquityInvestmentsAndOthersDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "baba_DeferredTaxLiabilitiesWithholdingTaxOnUndistributedDomesticEarnings": {
     "auth_ref": [],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureIncomeTaxExpensesCompositionOfDeferredTaxAssetsAndLiabilitiesDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_DeferredIncomeTaxLiabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of deferred tax liability attributable to taxable temporary differences from withholding tax accrued on undistributed earnings of profitable domestic subsidiaries.",
        "label": "Deferred Tax Liabilities Withholding Tax On Undistributed Domestic Earnings",
        "negatedLabel": "Withholding tax on undistributed earnings"
       }
      }
     },
     "localname": "DeferredTaxLiabilitiesWithholdingTaxOnUndistributedDomesticEarnings",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureIncomeTaxExpensesCompositionOfDeferredTaxAssetsAndLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "baba_DepreciationAndImpairmentOfPropertyAndEquipmentAndLandUseRights": {
     "auth_ref": [],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 9.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of expense recognized in the current period that reflects the allocation of the cost of depreciation and impairment of property and equipment, and operating lease cost relating to land use rights.",
        "label": "Depreciation and Impairment of Property and Equipment, and Land Use Rights",
        "terseLabel": "Depreciation and impairment of property and equipment, and operating lease cost relating to land use rights",
        "verboseLabel": "Consolidated depreciation and impairment of property and equipment, and operating lease cost relating to land use rights"
       }
      }
     },
     "localname": "DepreciationAndImpairmentOfPropertyAndEquipmentAndLandUseRights",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSegmentInformationConsolidatedDepreciationAndImpairmentOfPropertyAndEquipmentAndOperatingLeaseCostRelatingToLandUseRightsBySegmentsAndOthersDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "baba_DevelopedTechnologyAndPatentsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Internally developed technology and patents for sale, licensing or long-term internal use.",
        "label": "Developed Technology And Patents [Member]",
        "terseLabel": "Developed technology and patents"
       }
      }
     },
     "localname": "DevelopedTechnologyAndPatentsMember",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureIntangibleAssetsNetGeneralDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsSunArtDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesLongLivedAssetsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "baba_DigitalMediaAndEntertainmentSegmentMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Digital media and entertainment segment operates businesses through the Company's media properties, including UCWeb, Youku Tudou, as well as businesses relating to P4P marketing services, display marketing services and subscriptions.",
        "label": "Digital Media And Entertainment [Segment]",
        "terseLabel": "Digital media and entertainment"
       }
      }
     },
     "localname": "DigitalMediaAndEntertainmentSegmentMember",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureGoodwillDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureRevenueBreakdownBySegmentDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSegmentInformationConsolidatedDepreciationAndImpairmentOfPropertyAndEquipmentAndOperatingLeaseCostRelatingToLandUseRightsBySegmentsAndOthersDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSegmentInformationSegmentEbitaAndSegmentEbitdaDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesLongLivedAssetsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "baba_DirectSalesAndOthersMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the information pertaining to direct sales and others.",
        "label": "Direct Sales and Others [Member]",
        "terseLabel": "Direct sales and others"
       }
      }
     },
     "localname": "DirectSalesAndOthersMember",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureRevenueBreakdownBySegmentDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "baba_DueFromNonVieSubsidiaries": {
     "auth_ref": [],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesConsolidationDetails": {
       "order": 3.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amounts due from non-VIE subsidiaries of the Company.",
        "label": "Due from Non-VIE Subsidiaries",
        "terseLabel": "Amounts due from non-VIE subsidiaries of the Company"
       }
      }
     },
     "localname": "DueFromNonVieSubsidiaries",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesConsolidationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "baba_DueToNonVieSubsidiaries": {
     "auth_ref": [],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesConsolidationDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amounts due to non-VIE subsidiaries of the Companies.",
        "label": "Due to Non-VIE Subsidiaries",
        "terseLabel": "Amounts due to non-VIE subsidiaries of the Company"
       }
      }
     },
     "localname": "DueToNonVieSubsidiaries",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesConsolidationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "baba_EarningsPerAdsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "n/a",
        "label": "Earnings Per ADS [Abstract]",
        "terseLabel": "Earnings per ADS attributable to ordinary shareholders (one ADS equals eight ordinary shares)",
        "verboseLabel": "Earnings per ADS"
       }
      }
     },
     "localname": "EarningsPerAdsAbstract",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureEarningsPerShareAdsDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedIncomeStatements"
     ],
     "xbrltype": "stringItemType"
    },
    "baba_EarningsPerAdsBasic": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of net income (loss) for the period per each ADS outstanding during the reporting period.",
        "label": "Earnings Per ADS Basic",
        "terseLabel": "Basic",
        "verboseLabel": "Net income per ADS - basic (RMB)"
       }
      }
     },
     "localname": "EarningsPerAdsBasic",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureEarningsPerShareAdsDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedIncomeStatements"
     ],
     "xbrltype": "perShareItemType"
    },
    "baba_EarningsPerAdsDiluted": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of net income (loss) for the period available to each ADS outstanding during the reporting period and to each ADS that would have been outstanding assuming the issuance of ADS for all dilutive potential ADS outstanding during the reporting period.",
        "label": "Earnings Per ADS Diluted",
        "terseLabel": "Diluted",
        "verboseLabel": "Net income per ADS - diluted (RMB)"
       }
      }
     },
     "localname": "EarningsPerAdsDiluted",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureEarningsPerShareAdsDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedIncomeStatements"
     ],
     "xbrltype": "perShareItemType"
    },
    "baba_EmployeeStockDirectorsAndConsultantsOptionMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "An arrangement whereby an employee, director or consultant of the entity is entitled to receive in the future, subject to vesting and other restrictions, a number of shares in the entity at a specified price, as defined in the agreement. Although there are variations, normally, after vesting, when an option is exercised, the employee-holder pays the strike value in cash to the issuing employer-entity and receives equity shares. The equity shares can be sold into the market for cash at the current market price without restriction.",
        "label": "Employee Stock Directors And Consultants Option [Member]",
        "terseLabel": "Options"
       }
      }
     },
     "localname": "EmployeeStockDirectorsAndConsultantsOptionMember",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureShareBasedAwardsTables",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSharebasedAwardsShareOptionsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "baba_EntityClassificationsSectorAndEntityAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by Sector-wise and entity-wise classification.",
        "label": "Entity Classifications Sector and Entity [Axis]"
       }
      }
     },
     "localname": "EntityClassificationsSectorAndEntityAxis",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureIncomeTaxExpensesGeneralDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "baba_EquityInterestPercentageOptionToAcquire": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of equity interest the Company may elect to acquire through call option.",
        "label": "Equity Interest Percentage, Option to Acquire",
        "terseLabel": "Percentage of equity interest the Company may elect to acquire"
       }
      }
     },
     "localname": "EquityInterestPercentageOptionToAcquire",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsEquityInvestmentsAndOthersDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "baba_EquityInvestmentOwnershipPercentageAcquired": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The percentage of ownership of common stock or equity participation in the investee acquired during the period.",
        "label": "Equity Investment Ownership Percentage Acquired",
        "terseLabel": "Percentage of equity interest acquired"
       }
      }
     },
     "localname": "EquityInvestmentOwnershipPercentageAcquired",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsEquityInvestmentsAndOthersDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "baba_EquityInvestmentsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Primary financial statement caption encompassing equity investments.",
        "label": "Equity Investments [Member]",
        "terseLabel": "Equity investments"
       }
      }
     },
     "localname": "EquityInvestmentsMember",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsEquityInvestmentsAndOthersDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "baba_EquityMethodInvestmentDeferredTaxEffect": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the deferred tax effect on equity method investments.",
        "label": "Equity Method Investment, Deferred Tax Effect",
        "terseLabel": "Deferred tax effect"
       }
      }
     },
     "localname": "EquityMethodInvestmentDeferredTaxEffect",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureIncomeTaxExpensesCompositionOfDeferredTaxAssetsAndLiabilitiesDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsEquityInvestmentsAndOthersDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "baba_EquityMethodInvestmentDividendsReceivable": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of dividends receivable from equity method investments.",
        "label": "Equity Method Investment, Dividends Receivable",
        "terseLabel": "Dividends receivable",
        "verboseLabel": "Dividends declared"
       }
      }
     },
     "localname": "EquityMethodInvestmentDividendsReceivable",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureInvestmentsInEquityMethodInvesteesAdditionalDetailsDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosurePrepaymentsReceivablesAndOtherAssetsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "baba_EquityMethodInvestmentSummarizedFinancialInformationBalanceSheetAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "n/a.",
        "label": "Equity Method Investment, Summarized Financial Information, Balance Sheet [Abstract]",
        "terseLabel": "Balance sheet data:"
       }
      }
     },
     "localname": "EquityMethodInvestmentSummarizedFinancialInformationBalanceSheetAbstract",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureInvestmentsInEquityMethodInvesteesSummarizedFinancialInformationOfEquityMethodInvestmentsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "baba_EquityMethodInvestmentSummarizedFinancialInformationIncomeStatement1Abstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "n/a.",
        "label": "Equity Method Investment, Summarized Financial Information, Income Statement1 [Abstract]",
        "terseLabel": "Operating data:"
       }
      }
     },
     "localname": "EquityMethodInvestmentSummarizedFinancialInformationIncomeStatement1Abstract",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureInvestmentsInEquityMethodInvesteesSummarizedFinancialInformationOfEquityMethodInvestmentsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "baba_EquityMethodInvestmentSummarizedFinancialInformationNoncontrollingInterestsAndMezzanineEquity": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of noncontrolling interests and mezzanine equity of an equity method investment of the entity.",
        "label": "Equity Method Investment, Summarized Financial Information, Noncontrolling Interests and Mezzanine Equity",
        "terseLabel": "Noncontrolling interests and mezzanine equity"
       }
      }
     },
     "localname": "EquityMethodInvestmentSummarizedFinancialInformationNoncontrollingInterestsAndMezzanineEquity",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureInvestmentsInEquityMethodInvesteesSummarizedFinancialInformationOfEquityMethodInvestmentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "baba_EquityMethodInvestmentSummarizedFinancialInformationTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of summarized financial information for all of the Company's equity method investments as a group.",
        "label": "Equity Method Investment Summarized Financial Information [Table Text Block]",
        "terseLabel": "Schedule of summarized financial information for all of the Company's equity method investments"
       }
      }
     },
     "localname": "EquityMethodInvestmentSummarizedFinancialInformationTableTextBlock",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureInvestmentsInEquityMethodInvesteesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "baba_EquityMethodInvestmentsAcquired": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Purchases of and additional investments in equity method investments during the period.",
        "label": "Equity Method Investments Acquired",
        "terseLabel": "Additions"
       }
      }
     },
     "localname": "EquityMethodInvestmentsAcquired",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureInvestmentsInEquityMethodInvesteesGeneralDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "baba_EquityMethodInvestmentsDisposals": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The carrying value of equity method investments disposed of during the period.",
        "label": "Equity Method Investments Disposals",
        "negatedLabel": "Disposals"
       }
      }
     },
     "localname": "EquityMethodInvestmentsDisposals",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureInvestmentsInEquityMethodInvesteesGeneralDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "baba_EquityMethodInvestmentsForeignCurrencyTranslationAdjustments": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase (decrease) in equity method investments due to the effect of foreign currency translation adjustments.",
        "label": "Equity Method Investments Foreign Currency Translation Adjustments",
        "terseLabel": "Foreign currency translation adjustments"
       }
      }
     },
     "localname": "EquityMethodInvestmentsForeignCurrencyTranslationAdjustments",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureInvestmentsInEquityMethodInvesteesGeneralDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "baba_EquityMethodInvestmentsShareOfResultsIncomeLossOtherComprehensiveIncomeAndOtherReserves": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This item represents the entity's proportionate share for the period of the net income (loss) of its investee to which the equity method of accounting is applied. This item also includes share of results, other comprehensive income (loss) and other reserves related to equity method investees.",
        "label": "Equity Method Investments Share Of Results Income Loss Other Comprehensive Income And Other Reserves",
        "terseLabel": "Share of results, other comprehensive income and other reserves"
       }
      }
     },
     "localname": "EquityMethodInvestmentsShareOfResultsIncomeLossOtherComprehensiveIncomeAndOtherReserves",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureInvestmentsInEquityMethodInvesteesGeneralDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "baba_EquityMethodInvestmentsTransfers": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The carrying value of equity method investments transferred in or out during the period.",
        "label": "Equity Method Investments Transfers",
        "verboseLabel": "Transfers"
       }
      }
     },
     "localname": "EquityMethodInvestmentsTransfers",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureInvestmentsInEquityMethodInvesteesGeneralDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "baba_EquitySecuritiesEquityInterest": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The percentage of equity interest carried under fair value with unrealized gains and losses recorded in the consolidated income statements.",
        "label": "Equity Securities, Equity Interest",
        "terseLabel": "Equity interest (as a percent)"
       }
      }
     },
     "localname": "EquitySecuritiesEquityInterest",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsEquityInvestmentsAndOthersDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "baba_EquitySecuritiesWithoutReadilyDeterminableFairValueImpairmentLossAndDownwardPriceAdjustmentAnnualAmount": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of impairment loss and downward price adjustment on investment in equity security without readily determinable fair value.",
        "label": "Equity Securities without Readily Determinable Fair Value, Impairment Loss and Downward Price Adjustment, Annual Amount",
        "terseLabel": "Impairments and downward adjustments"
       }
      }
     },
     "localname": "EquitySecuritiesWithoutReadilyDeterminableFairValueImpairmentLossAndDownwardPriceAdjustmentAnnualAmount",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureEquitySecuritiesAndOtherInvestmentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "baba_EquitySecuritiesWithoutReadilyDeterminableFairValueImpairmentLossAndDownwardPriceAdjustmentCumulativeAmount": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cumulative impairment loss and downward price adjustment on investment in equity security without readily determinable fair value.",
        "label": "Equity Securities without Readily Determinable Fair Value, Impairment Loss and Downward Price Adjustment, Cumulative Amount",
        "terseLabel": "Cumulative impairments and downward adjustments"
       }
      }
     },
     "localname": "EquitySecuritiesWithoutReadilyDeterminableFairValueImpairmentLossAndDownwardPriceAdjustmentCumulativeAmount",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureEquitySecuritiesAndOtherInvestmentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "baba_EquitySettledDonation": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Equity settled donation.",
        "label": "Equity Settled Donation",
        "terseLabel": "Equity-settled donation"
       }
      }
     },
     "localname": "EquitySettledDonation",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfChangesInShareholdersEquity"
     ],
     "xbrltype": "monetaryItemType"
    },
    "baba_EquitySettledDonationExpenses": {
     "auth_ref": [],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 2.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of settlement expense related to the allotment of shares to charitable trusts.",
        "label": "Equity-Settled Donation Expenses",
        "negatedLabel": "Equity-settled donation expense",
        "terseLabel": "Equity-settled donation expense",
        "verboseLabel": "Add: Equity-settled donation expense"
       }
      }
     },
     "localname": "EquitySettledDonationExpenses",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSegmentInformationReconciliationFromAdjustedEbitaToConsolidatedNetIncomeDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSegmentInformationSegmentEbitaAndSegmentEbitdaDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "baba_EquitySettledDonationShares": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Equity-settled donation, shares.",
        "label": "Equity-Settled Donation, Shares",
        "terseLabel": "Equity-settled donation, shares"
       }
      }
     },
     "localname": "EquitySettledDonationShares",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfChangesInShareholdersEquity"
     ],
     "xbrltype": "sharesItemType"
    },
    "baba_EscrowMoneyPayableCurrent": {
     "auth_ref": [],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureAccruedExpensesAccountsPayableAndOtherLiabilitiesDetails": {
       "order": 6.0,
       "parentTag": "us-gaap_AccountsPayableAndAccruedLiabilitiesCurrent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Money received or receivable on escrow services in connection with the provision of online and mobile commerce related services, recorded as corresponding current liabilities.",
        "label": "Escrow Money Payable Current",
        "terseLabel": "Escrow money payable"
       }
      }
     },
     "localname": "EscrowMoneyPayableCurrent",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureAccruedExpensesAccountsPayableAndOtherLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "baba_ExchangeableBondsTerm": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Term of exchangeable bonds, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days.",
        "label": "Exchangeable Bonds Term",
        "terseLabel": "Exchangeable bonds term (in years)"
       }
      }
     },
     "localname": "ExchangeableBondsTerm",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsEquityInvestmentsAndOthersDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "baba_ExchangeableBondsToOrdinarySharesInitialPrice": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The initial price to exchange the exchangeable bonds into ordinary shares of an entity during the period.",
        "label": "Exchangeable Bonds To Ordinary Shares An Initial Price",
        "terseLabel": "Initial price of bonds exchangeable into ordinary shares"
       }
      }
     },
     "localname": "ExchangeableBondsToOrdinarySharesInitialPrice",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsEquityInvestmentsAndOthersDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "baba_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetConversionOrExchangeAdjustments": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of conversion or exchange adjustments for financial instrument classified as an asset measured using unobservable inputs that reflect the entity's own assumption about the assumptions market participants would use in pricing.",
        "label": "Fair Value, Measurement With Unobservable Inputs Reconciliation, Recurring Basis, Asset, Conversion or Exchange Adjustments",
        "negatedLabel": "Conversion",
        "terseLabel": "Conversion"
       }
      }
     },
     "localname": "FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetConversionOrExchangeAdjustments",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureFairValueMeasurementConvertibleAndExchangeableBondsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "baba_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetForeignCurrencyTranslationAdjustments": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of foreign currency translation adjustments for financial instrument classified as an asset measured using unobservable inputs that reflect the entity's own assumption about the assumptions market participants would use in pricing.",
        "label": "Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Asset, Foreign Currency Translation Adjustments",
        "negatedLabel": "Foreign currency translation adjustments",
        "terseLabel": "Foreign currency translation adjustments"
       }
      }
     },
     "localname": "FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetForeignCurrencyTranslationAdjustments",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureFairValueMeasurementConvertibleAndExchangeableBondsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "baba_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetNetIncreaseDecreaseInFairValue": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of net increase (decrease) in fair value from asset measured at fair value on recurring basis using unobservable input (level 3).",
        "label": "Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Asset, Net Increase (Decrease) in Fair Value",
        "negatedLabel": "Net decrease in fair value",
        "terseLabel": "Net decrease in fair value"
       }
      }
     },
     "localname": "FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetNetIncreaseDecreaseInFairValue",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureFairValueMeasurementConvertibleAndExchangeableBondsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "baba_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityForeignCurrencyTranslationAdjustment": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of foreign currency translation adjustment for financial instrument classified as a liability measured using unobservable inputs that reflect the entity's own assumption about the assumptions market participants would use in pricing.",
        "label": "Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Liability, Foreign Currency Translation Adjustment",
        "negatedLabel": "Foreign currency translation adjustments",
        "terseLabel": "Foreign currency translation adjustments"
       }
      }
     },
     "localname": "FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityForeignCurrencyTranslationAdjustment",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureFairValueMeasurementContingentConsiderationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "baba_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityNetDecreaseIncreaseInFairValue": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of net decrease (increase) in fair value from liability measured at fair value on recurring basis using unobservable input (level 3).",
        "label": "Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Liability, Net Decrease (Increase) in Fair Value",
        "negatedLabel": "Net decrease in fair value",
        "terseLabel": "Net decrease in fair value"
       }
      }
     },
     "localname": "FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityNetDecreaseIncreaseInFairValue",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureFairValueMeasurementContingentConsiderationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "baba_FeeFromRelatedPartyAsPercentageOfAverageDailyBookBalance": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The percentage of the average daily balance of the SME loans that will be paid by related party to entity as an annual fee.",
        "label": "Fee From Related Party As Percentage Of Average Daily Book Balance",
        "terseLabel": "Annual fee as a percentage of the average daily balance (as a percent)"
       }
      }
     },
     "localname": "FeeFromRelatedPartyAsPercentageOfAverageDailyBookBalance",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureRelatedPartyTransactionsTransactionsWithRelatedPartiesDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "baba_FeeFromRelatedPartyAsPercentageOfAverageDailyBookBalances": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fee From Related Party As Percentage Of Average Daily Book Balances",
        "label": "Fee From Related Party As Percentage Of Average Daily Book Balances"
       }
      }
     },
     "localname": "FeeFromRelatedPartyAsPercentageOfAverageDailyBookBalances",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureRelatedPartyTransactionsTransactionsWithRelatedPartiesDetails"
     ],
     "xbrltype": "decimalItemType"
    },
    "baba_FeeFromRelatedPartyPercentOfPretaxIncome": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Specified percentage of related party's pre-tax income that, in addition to the costs incurred by entity in providing the services, must be paid to the entity as a fee.",
        "label": "Fee from Related Party Percent of Pretax Income",
        "terseLabel": "Additional fee, as a percentage of pre-tax income"
       }
      }
     },
     "localname": "FeeFromRelatedPartyPercentOfPretaxIncome",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureRelatedPartyTransactionsTransactionsWithRelatedPartiesDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsEquityInvestmentsAndOthersDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "baba_FilmCostsAndPrepaidLicensedCopyrightsOfVideoContentAndOthersNonCurrent": {
     "auth_ref": [],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosurePrepaymentsReceivablesAndOtherAssetsDetails": {
       "order": 1.0,
       "parentTag": "baba_PrepaidExpenseReceivablesAndOtherAssetsNoncurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Carrying amount as of the balance sheet date of amounts paid in Film costs and advance for licensed copyrights of video content and others, expected to be capitalized after one year (or the normal operating cycle, if longer).",
        "label": "Film Costs And Prepaid Licensed Copyrights Of Video Content And Others Non-current",
        "terseLabel": "Film costs and prepayment for licensed copyrights and others"
       }
      }
     },
     "localname": "FilmCostsAndPrepaidLicensedCopyrightsOfVideoContentAndOthersNonCurrent",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosurePrepaymentsReceivablesAndOtherAssetsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "baba_FineImposed": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fine imposed.",
        "label": "Fine Imposed",
        "terseLabel": "Fine imposed"
       }
      }
     },
     "localname": "FineImposed",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureRisksAndContingenciesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "baba_FiniteLivedIntangibleAssetsAccumulatedAmortizationAndImpairment": {
     "auth_ref": [],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureIntangibleAssetsNetGeneralDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_FiniteLivedIntangibleAssetsNet",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Accumulated amount of amortization of assets and the amount of impairment loss recognized in the period resulting from the write-down of the carrying amount of a finite-lived intangible asset to fair value, excluding financial assets and goodwill, lacking physical substance with a finite life.",
        "label": "Finite Lived Intangible Assets Accumulated Amortization and Impairment",
        "negatedLabel": "Less: accumulated amortization and impairment"
       }
      }
     },
     "localname": "FiniteLivedIntangibleAssetsAccumulatedAmortizationAndImpairment",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureIntangibleAssetsNetGeneralDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "baba_ForeignCurrencyTranslationRate": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the exchange rate used for convenience translation from reporting currency to additional disclosures in another currency.",
        "label": "Foreign Currency Translation Rate",
        "terseLabel": "Convenience exchange rate (RMB to USD)"
       }
      }
     },
     "localname": "ForeignCurrencyTranslationRate",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesBasisOfPresentationDetails"
     ],
     "xbrltype": "pureItemType"
    },
    "baba_FrameworkAgreementWithInternationalOlympicCommitteeAndUnitedStatesOlympicCommitteeMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Framework agreement with the International Olympic Committee (the \"IOC\") and the United States Olympic Committee for a long term partnership arrangement through 2028.",
        "label": "Framework Agreement With International Olympic Committee And United States Olympic Committee [Member]",
        "terseLabel": "Framework agreement with the International Olympic Committee and the United States Olympic Committee"
       }
      }
     },
     "localname": "FrameworkAgreementWithInternationalOlympicCommitteeAndUnitedStatesOlympicCommitteeMember",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureCommitmentsOtherCommitmentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "baba_FullExemptionIncomeTaxHolidayPeriod": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the period of full exemption from income tax beginning with the entity's first profitable year granted under income tax law.",
        "label": "Full Exemption Income Tax Holiday Period",
        "terseLabel": "Period of full exemption from income tax"
       }
      }
     },
     "localname": "FullExemptionIncomeTaxHolidayPeriod",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureIncomeTaxExpensesGeneralDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "baba_FurnitureOfficeAndTransportationEquipmentAndOthersMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Furniture, office and transportation equipment and others.",
        "label": "Furniture, Office and Transportation Equipment and Others [Member]",
        "terseLabel": "Furniture, office and transportation equipment and others"
       }
      }
     },
     "localname": "FurnitureOfficeAndTransportationEquipmentAndOthersMember",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosurePropertyAndEquipmentNetDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesLongLivedAssetsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "baba_GainInRelationToReceiptOfEquityInterest": {
     "auth_ref": [],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 7.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Gain in relation to the receipt of equity interest recognized net of tax.",
        "label": "Gain in Relation to Receipt of Equity Interest",
        "negatedLabel": "Gain in relation to the receipt of the 33% equity interest in Ant Group Co., Ltd. (\"Ant Group\") (Note 4(k))",
        "terseLabel": "Gain in interest and investment income, net"
       }
      }
     },
     "localname": "GainInRelationToReceiptOfEquityInterest",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsEquityInvestmentsAndOthersDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "baba_GainLossOnInvestmentSecuritiesAndOtherInvestments": {
     "auth_ref": [],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 5.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of gain (loss) on investment securities and other investments, which represent the Company's investments in equity securities that are not accounted for under the equity method or cost method, as well as other investments which primarily consist of debt investments.",
        "label": "Gain (Loss) on Investment Securities and Other Investments",
        "negatedLabel": "(Gain) Loss related to equity securities and other investments"
       }
      }
     },
     "localname": "GainLossOnInvestmentSecuritiesAndOtherInvestments",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "baba_GeneralHedgeInformationHedgeEffectivenessThreshold": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage derived by dividing the results of the hedging instrument by the results of the hedged item, determining effective hedging relationship.",
        "label": "General Hedge Information, Hedge Effectiveness Threshold",
        "terseLabel": "Ratio determining effective hedging relationship"
       }
      }
     },
     "localname": "GeneralHedgeInformationHedgeEffectivenessThreshold",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesOthersDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "baba_GlobalOfferingMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for global offering.",
        "label": "Global Offering [Member]",
        "terseLabel": "Global offering"
       }
      }
     },
     "localname": "GlobalOfferingMember",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureOrganizationAndPrincipalActivitiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "baba_GoodwillLocationMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Primary financial statement caption encompassing goodwill.",
        "label": "Goodwill Location [Member]",
        "terseLabel": "Goodwill"
       }
      }
     },
     "localname": "GoodwillLocationMember",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsEquityInvestmentsAndOthersDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "baba_GovernmentGrantsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Government grants.",
        "label": "Government Grants [Abstract]",
        "terseLabel": "Government grants"
       }
      }
     },
     "localname": "GovernmentGrantsAbstract",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesVariousDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "baba_GovernmentGrantsNonoperating": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Government grants nonoperating.",
        "label": "Government Grants Nonoperating",
        "terseLabel": "Government grants recorded as income in other income"
       }
      }
     },
     "localname": "GovernmentGrantsNonoperating",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesVariousDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "baba_GovernmentGrantsOtherIncome": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Government grants recorded as other income.",
        "label": "Government Grants Other Income",
        "terseLabel": "Government grants recorded as other income"
       }
      }
     },
     "localname": "GovernmentGrantsOtherIncome",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesVariousDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "baba_GovernmentGrantsOtherLiabilitiesCurrent": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Government grants other liabilities current.",
        "label": "Government Grants Other Liabilities Current",
        "terseLabel": "Government grants recorded as other liabilities"
       }
      }
     },
     "localname": "GovernmentGrantsOtherLiabilitiesCurrent",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesVariousDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "baba_GovernmentGrantsOtherLiabilitiesNoncurrent": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Government grants other liabilities noncurrent.",
        "label": "Government Grants Other Liabilities Noncurrent",
        "terseLabel": "Government grants recorded as a other liabilities"
       }
      }
     },
     "localname": "GovernmentGrantsOtherLiabilitiesNoncurrent",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesVariousDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "baba_GovernmentGrantsPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for government grants.",
        "label": "Government Grants [Policy Text Block]",
        "terseLabel": "Government grants"
       }
      }
     },
     "localname": "GovernmentGrantsPolicyTextBlock",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "baba_GovernmentGrantsReductionOfSpecificCostsAndExpenses": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Government grants reduction of specific costs and expenses.",
        "label": "Government Grants Reduction Of Specific Costs And Expenses",
        "terseLabel": "Government grants recored as specific costs and expenses"
       }
      }
     },
     "localname": "GovernmentGrantsReductionOfSpecificCostsAndExpenses",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesVariousDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "baba_HighAndNewTechnologyEnterprisesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents classification of High and New Technology Enterprises.",
        "label": "High And New Technology Enterprises [Member]",
        "terseLabel": "High and New Technology Enterprises"
       }
      }
     },
     "localname": "HighAndNewTechnologyEnterprisesMember",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureIncomeTaxExpensesGeneralDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "baba_HongKongCingleotInvestmentManagementLimitedMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Hong Kong Cingleot Investment Management Limited, a company that is partially owned by Alibaba Group Holding Ltd.",
        "label": "Hong Kong Cingleot Investment Management Limited"
       }
      }
     },
     "localname": "HongKongCingleotInvestmentManagementLimitedMember",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureRelatedPartyTransactionsTransactionsWithRelatedPartiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "baba_ImpairmentOfInvestmentsAndOtherAssets": {
     "auth_ref": [],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 11.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount by which the fair values of investments and other assets are less than the amortized cost basis or carrying amount of the investments and other assets at the balance sheet date and the decline in fair value is deemed to be other than temporary, before considering whether or not such amount is recognized in earnings or other comprehensive income.",
        "label": "Impairment of Investments and Other Assets",
        "terseLabel": "Impairment of equity securities and other investments"
       }
      }
     },
     "localname": "ImpairmentOfInvestmentsAndOtherAssets",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "baba_ImpairmentOfLongLivedAssetsOtherThanGoodwillAndLicensedCopyrights": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of impairment loss recognized in the period resulting from the write-down of the carrying amount of long-lived assets other than goodwill and licensed copyrights.",
        "label": "Impairment of Long-lived Assets other than Goodwill and Licensed Copyrights",
        "terseLabel": "Impairment of long-lived assets other than goodwill and licensed copyrights"
       }
      }
     },
     "localname": "ImpairmentOfLongLivedAssetsOtherThanGoodwillAndLicensedCopyrights",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesLongLivedAssetsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "baba_IncomeLossFromEquityMethodInvestmentsAfterTax": {
     "auth_ref": [],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedIncomeStatements": {
       "order": 1.0,
       "parentTag": "us-gaap_ProfitLoss",
       "weight": 1.0
      },
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 15.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This item represents the entity's proportionate share for the period of the after tax net income (loss) of its investee (such as unconsolidated subsidiaries and joint ventures) to which the equity method of accounting is applied. This item includes income or expense related to stock-based compensation based on the investor's grant of stock to employees of an equity method investee.",
        "label": "Income (Loss) from Equity Method Investments, After Tax",
        "negatedLabel": "Share of results of equity method investees",
        "terseLabel": "Share of results of equity method investees"
       }
      }
     },
     "localname": "IncomeLossFromEquityMethodInvestmentsAfterTax",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSegmentInformationReconciliationFromAdjustedEbitaToConsolidatedNetIncomeDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedIncomeStatements",
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "baba_IncomeTaxDisclosureLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "No definition available.",
        "label": "Income Tax Disclosure [Line Items]",
        "terseLabel": "Income tax expenses"
       }
      }
     },
     "localname": "IncomeTaxDisclosureLineItems",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureIncomeTaxExpensesGeneralDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "baba_IncomeTaxReconciliationChangeInDeferredTaxAssetsValuationAllowanceAndOtherAdjustments": {
     "auth_ref": [],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureIncomeTaxExpensesReconciliationsDetails": {
       "order": 5.0,
       "parentTag": "us-gaap_IncomeTaxExpenseBenefit",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of the difference between reported income tax expense (benefit) and expected income tax expense (benefit) computed by applying the domestic federal statutory income tax rates to pretax income (loss) from continuing operations attributable to increase (decrease) in the valuation allowance for deferred tax assets and other adjustments.",
        "label": "Income Tax Reconciliation Change in Deferred Tax Assets Valuation Allowance and Other Adjustments",
        "terseLabel": "Change in valuation allowance and others"
       }
      }
     },
     "localname": "IncomeTaxReconciliationChangeInDeferredTaxAssetsValuationAllowanceAndOtherAdjustments",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureIncomeTaxExpensesReconciliationsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "baba_IncomeTaxReconciliationNondeductibleExpenseAndTaxExemptIncome": {
     "auth_ref": [],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureIncomeTaxExpensesReconciliationsDetails": {
       "order": 6.0,
       "parentTag": "us-gaap_IncomeTaxExpenseBenefit",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of the difference between reported income tax expense (benefit) and expected income tax expense (benefit) computed by applying the domestic federal statutory income tax rates to pretax income (loss) from continuing operations attributable to nondeductible expenses and income (loss) exempt from income taxes.",
        "label": "Income Tax Reconciliation Nondeductible Expense and Tax Exempt Income",
        "terseLabel": "Non-deductible expenses and non-taxable income, net"
       }
      }
     },
     "localname": "IncomeTaxReconciliationNondeductibleExpenseAndTaxExemptIncome",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureIncomeTaxExpensesReconciliationsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "baba_IncomeTaxReconciliationWithholdingTaxOnEarningsRemittedAndToBeRemitted": {
     "auth_ref": [],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureIncomeTaxExpensesReconciliationsDetails": {
       "order": 7.0,
       "parentTag": "us-gaap_IncomeTaxExpenseBenefit",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of the difference between reported income tax expense (benefit) and expected income tax expense (benefit) computed by applying the domestic federal statutory income tax rates to pretax income (loss) from continuing operations attributable to withholding tax on the earnings remitted and anticipated to be remitted.",
        "label": "Income Tax Reconciliation Withholding Tax on Earnings Remitted and to be Remitted",
        "terseLabel": "Withholding tax on the earnings distributed and anticipated to be remitted"
       }
      }
     },
     "localname": "IncomeTaxReconciliationWithholdingTaxOnEarningsRemittedAndToBeRemitted",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureIncomeTaxExpensesReconciliationsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "baba_IncomeTaxesTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosures pertaining to income taxes.",
        "label": "Income Taxes [Table]"
       }
      }
     },
     "localname": "IncomeTaxesTable",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureIncomeTaxExpensesGeneralDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "baba_IncreaseDecreaseInDeferredRevenueAndCustomerAdvances": {
     "auth_ref": [],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 18.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The increase (decrease) during the reporting period in the amount of deferred revenue and customer advances.",
        "label": "Increase (Decrease) in Deferred Revenue and Customer Advances",
        "terseLabel": "Deferred revenue and customer advances"
       }
      }
     },
     "localname": "IncreaseDecreaseInDeferredRevenueAndCustomerAdvances",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "baba_IncreaseDecreaseInLongTermLicensedCopyrightsPrepaidExpenseAndOtherAssets": {
     "auth_ref": [],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 20.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase (decrease) in long-term licensed copyrights, prepaid expenses, and assets classified as other.",
        "label": "Increase (Decrease) in Long-term Licensed Copyrights, Prepaid Expense and Other Assets",
        "negatedLabel": "Prepayments, receivables and other assets, and long-term licensed copyrights"
       }
      }
     },
     "localname": "IncreaseDecreaseInLongTermLicensedCopyrightsPrepaidExpenseAndOtherAssets",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "baba_IncreaseDecreaseInMerchantDepositsLiabilities": {
     "auth_ref": [],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 21.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The increase (decrease) during the reporting period in the amount of merchant deposits.",
        "label": "Increase Decrease in Merchant Deposits Liabilities",
        "terseLabel": "Merchant deposits"
       }
      }
     },
     "localname": "IncreaseDecreaseInMerchantDepositsLiabilities",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "baba_IncreaseDecreaseInShortTermInvestments": {
     "auth_ref": [],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 2.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The net amount paid (received) by the reporting entity through acquisition or sale and maturities of short-term investments with an original maturity that is between three months and one year which qualify for treatment as an investing activity based on management's intention and intended by management to be liquidated, if necessary, within the current operating cycle.",
        "label": "Increase Decrease In Short Term Investments",
        "negatedLabel": "Increase in short-term investments, net"
       }
      }
     },
     "localname": "IncreaseDecreaseInShortTermInvestments",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "baba_IncreaseInOtherTreasuryInvestmentNet": {
     "auth_ref": [],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 3.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The net change in amount paid by the reporting entity to acquire other treasury investments with an original maturity that is over year for treasury purposes.",
        "label": "Increase in Other Treasury Investment, Net",
        "negatedLabel": "Increase in other treasury investment, net"
       }
      }
     },
     "localname": "IncreaseInOtherTreasuryInvestmentNet",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "baba_InnovationInitiativesAndOthersSegmentMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Innovation initiatives and others segment includes businesses such as AutoNavi and other innovation initiatives and SME Annual Fee received from Ant Group and its affiliates.",
        "label": "Innovation Initiatives And Others Segment [Member]",
        "terseLabel": "Innovation initiatives and others",
        "verboseLabel": "Innovation initiatives and others and unallocated"
       }
      }
     },
     "localname": "InnovationInitiativesAndOthersSegmentMember",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureGoodwillDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureRevenueBreakdownBySegmentDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSegmentInformationConsolidatedDepreciationAndImpairmentOfPropertyAndEquipmentAndOperatingLeaseCostRelatingToLandUseRightsBySegmentsAndOthersDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSegmentInformationSegmentEbitaAndSegmentEbitdaDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "baba_IntellectualPropertyLicenseAgreement2014Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represent information pertaining to intellectual property license agreement with Alipay entered into by the Company in August 2014 (the \"2014 IPLA\").",
        "label": "Intellectual Property License Agreement2014 [Member]",
        "terseLabel": "2014 IPLA"
       }
      }
     },
     "localname": "IntellectualPropertyLicenseAgreement2014Member",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsEquityInvestmentsAndOthersDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "baba_InterestRateDerivativeLiabilitiesAndOthersAtFairvalue": {
     "auth_ref": [],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureFairValueMeasurementDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_LiabilitiesFairValueDisclosure",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value as of the balance sheet date of interest rate derivative liabilities, which includes all such derivative instruments in hedging and nonhedging relationships that are recognized as liabilities, and liabilities classified as others.",
        "label": "Interest Rate Derivative Liabilities And Others At Fair Value",
        "terseLabel": "Interest rate swap contracts and others"
       }
      }
     },
     "localname": "InterestRateDerivativeLiabilitiesAndOthersAtFairvalue",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureFairValueMeasurementDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "baba_InternationalCommerceSegmentMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for International Commerce Segment.",
        "label": "International commerce"
       }
      }
     },
     "localname": "InternationalCommerceSegmentMember",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureGoodwillDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureRevenueBreakdownBySegmentDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSegmentInformationConsolidatedDepreciationAndImpairmentOfPropertyAndEquipmentAndOperatingLeaseCostRelatingToLandUseRightsBySegmentsAndOthersDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSegmentInformationSegmentEbitaAndSegmentEbitdaDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "baba_Inventories": {
     "auth_ref": [],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosurePrepaymentsReceivablesAndOtherAssetsDetails": {
       "order": 7.0,
       "parentTag": "baba_PrepaidExpenseReceivablesAndOtherAssetsCurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Inventory accounted for using the weighted average cost and stated at the lower of cost and net realizable value, expected to be sold or consumed within one year or operating cycle, if longer.",
        "label": "Inventories",
        "terseLabel": "Inventories"
       }
      }
     },
     "localname": "Inventories",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosurePrepaymentsReceivablesAndOtherAssetsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "baba_InvestmentAndBusinessCombinationContingentConsiderationLiability": {
     "auth_ref": [],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureFairValueMeasurementDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_LiabilitiesFairValueDisclosure",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of current and noncurrent liability recognized arising from contingent consideration attributable to an investment by the entity or a business combination.",
        "label": "Investment and Business Combination Contingent Consideration Liability",
        "terseLabel": "Contingent consideration in relation to investments and acquisitions"
       }
      }
     },
     "localname": "InvestmentAndBusinessCombinationContingentConsiderationLiability",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureFairValueMeasurementDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "baba_InvestmentAndBusinessCombinationContingentConsiderationLiabilityCurrent": {
     "auth_ref": [],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureAccruedExpensesAccountsPayableAndOtherLiabilitiesDetails": {
       "order": 9.0,
       "parentTag": "us-gaap_AccountsPayableAndAccruedLiabilitiesCurrent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of liability recognized arising from contingent and deferred in investment or business combination, expected to be settled within one year or the normal operating cycle, if longer.",
        "label": "Investment and Business Combination Contingent Consideration Liability Current",
        "terseLabel": "Contingent and deferred consideration in relation to investments and acquisitions"
       }
      }
     },
     "localname": "InvestmentAndBusinessCombinationContingentConsiderationLiabilityCurrent",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureAccruedExpensesAccountsPayableAndOtherLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "baba_InvestmentAndBusinessCombinationContingentConsiderationLiabilityNonCurrent": {
     "auth_ref": [],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureAccruedExpensesAccountsPayableAndOtherLiabilitiesDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_OtherLiabilitiesNoncurrent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of liability recognized arising from contingent and deferred in investment or business combination, expected to be settled beyond one year or the normal operating cycle, if longer.",
        "label": "Investment and Business Combination Contingent Consideration Liability Non Current",
        "terseLabel": "Contingent and deferred consideration in relation to investments and acquisitions"
       }
      }
     },
     "localname": "InvestmentAndBusinessCombinationContingentConsiderationLiabilityNonCurrent",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureAccruedExpensesAccountsPayableAndOtherLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "baba_InvestmentInEquityInvesteesAndSecurities": {
     "auth_ref": [],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesConsolidationDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Investments in debt and equity financial instruments, and investment in equity investees, including equity method investments.",
        "label": "Investment In Equity Investees And Securities",
        "terseLabel": "Investments in equity method investees and equity securities and other investments"
       }
      }
     },
     "localname": "InvestmentInEquityInvesteesAndSecurities",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesConsolidationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "baba_InvestmentInSunArtRetailGroupLimitedMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Investment In Sun Art Retail Group Limited Member",
        "label": "Investment In Sun Art Retail Group Limited Member",
        "terseLabel": "Sun Art Retail Group Limited"
       }
      }
     },
     "localname": "InvestmentInSunArtRetailGroupLimitedMember",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsSunArtDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "baba_InvestmentIncomeLossInterestAndDividend": {
     "auth_ref": [],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedIncomeStatements": {
       "order": 1.0,
       "parentTag": "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This element represents: 1) the amount of net gain (loss) recognized by the entity as a result of remeasuring to fair value the equity interest in the acquiree it held before the business combination; 2) net gain (loss) recognized by the entity as a result of deconsolidation/disposal of subsidiaries/investments; 3) impairment loss on investments and 4) dividends, interest on securities and net gains or losses on securities.",
        "label": "Investment Income Loss, Interest and Dividend",
        "terseLabel": "Interest and investment income [(loss)], net",
        "verboseLabel": "Interest and investment income, net"
       }
      }
     },
     "localname": "InvestmentIncomeLossInterestAndDividend",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSegmentInformationReconciliationFromAdjustedEbitaToConsolidatedNetIncomeDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedIncomeStatements"
     ],
     "xbrltype": "monetaryItemType"
    },
    "baba_InvestmentSecuritiesAndFairValueDisclosureAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "No definition available.",
        "label": "Equity securities and other investments"
       }
      }
     },
     "localname": "InvestmentSecuritiesAndFairValueDisclosureAbstract",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "xbrltype": "stringItemType"
    },
    "baba_InvestmentSecuritiesCurrent": {
     "auth_ref": [],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedBalanceSheets": {
       "order": 3.0,
       "parentTag": "us-gaap_AssetsCurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of investment securities which represent the Company's investments in equity securities that are not accounted for under the equity method, as well as other investments which primarily consist of debt investments, classified as current.",
        "label": "Investment Securities, Current",
        "netLabel": "Equity securities and other investments"
       }
      }
     },
     "localname": "InvestmentSecuritiesCurrent",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "baba_InvestmentSecuritiesNonCurrent": {
     "auth_ref": [],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedBalanceSheets": {
       "order": 4.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of investment securities which represent the Company's investments in equity securities that are not accounted for under the equity method, as well as other investments which primarily consist of debt investments, classified as non-current.",
        "label": "Investment Securities, Non-current",
        "netLabel": "Equity securities and other investments"
       }
      }
     },
     "localname": "InvestmentSecuritiesNonCurrent",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "baba_InvestmentSecuritiesPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for investment securities which represent the Company's investments in equity securities that are not accounted for under the equity method, as well as other investments which primarily consist of debt investments.",
        "label": "Investment Securities [Policy Text Block]",
        "terseLabel": "Equity securities and other investments"
       }
      }
     },
     "localname": "InvestmentSecuritiesPolicyTextBlock",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "baba_InvestmentsInPrivatelyHeldCompaniesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information pertaining to Investments in privately held companies.",
        "label": "Investments in privately held companies",
        "terseLabel": "Investments in privately held companies"
       }
      }
     },
     "localname": "InvestmentsInPrivatelyHeldCompaniesMember",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureEquitySecuritiesAndOtherInvestmentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "baba_KaolaMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to HQG, Inc. ('Kaola').",
        "label": "Kaola [Member]",
        "terseLabel": "Koala"
       }
      }
     },
     "localname": "KaolaMember",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsTables"
     ],
     "xbrltype": "domainItemType"
    },
    "baba_KeySoftwareEnterpriseMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents classification of Key Software Enterprise.",
        "label": "Key Software Enterprise [Member]",
        "terseLabel": "Key Software Enterprise"
       }
      }
     },
     "localname": "KeySoftwareEnterpriseMember",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureIncomeTaxExpensesGeneralDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "baba_LicensedCopyrightsOfVideoContentPolicyPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for the licensed copyrights of video content.",
        "label": "Licensed Copyrights of Video Content, Policy [Policy Text Block]",
        "terseLabel": "Licensed copyrights"
       }
      }
     },
     "localname": "LicensedCopyrightsOfVideoContentPolicyPolicyTextBlock",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "baba_LicensesAndCopyrightsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Rights, generally of limited duration, under a license arrangement (for example, to sell or otherwise utilize specified products or processes in a specified territory) and legal rights held for a finite period specified by law, covering only the form or manner in which ideas or information have been manifested, and which prohibit reproduction of same without the right holder's consent, such as reproducing a copyrighted text, work of art, or software.",
        "label": "Licenses And Copyrights [Member]",
        "terseLabel": "Licensed copyrights"
       }
      }
     },
     "localname": "LicensesAndCopyrightsMember",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesLongLivedAssetsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "baba_LicensingAgreementsCopyrightsAndOtherMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Rights, generally of limited duration, under a license arrangement (for example, to sell or otherwise utilize specified products or processes in a specified territory) and legal rights held for a finite period specified by law, covering only the form or manner in which ideas or information have been manifested, and which prohibit reproduction of same without the right holder's consent, such as reproducing a copyrighted text, work of art, or software. Also includes other intangible assets not otherwise defined in the taxonomy.",
        "label": "Licensing Agreements Copyrights And Other [Member]",
        "terseLabel": "Licenses copyrights and others"
       }
      }
     },
     "localname": "LicensingAgreementsCopyrightsAndOtherMember",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureIntangibleAssetsNetGeneralDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "baba_ListedEquitySecuritiesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information pertaining to listed equity securities.",
        "label": "Listed equity securities",
        "terseLabel": "Listed equity securities"
       }
      }
     },
     "localname": "ListedEquitySecuritiesMember",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureEquitySecuritiesAndOtherInvestmentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "baba_LoansToRelatedPartiesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to loans to related parties.",
        "label": "Loans"
       }
      }
     },
     "localname": "LoansToRelatedPartiesMember",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureRelatedPartyTransactionsTransactionsWithRelatedPartiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "baba_LocalConsumerServicesSegmentMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for Local Consumer Services Segment.",
        "label": "Local Consumer Services Segment [Member]",
        "terseLabel": "Local consumer services"
       }
      }
     },
     "localname": "LocalConsumerServicesSegmentMember",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureGoodwillDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureRevenueBreakdownBySegmentDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSegmentInformationConsolidatedDepreciationAndImpairmentOfPropertyAndEquipmentAndOperatingLeaseCostRelatingToLandUseRightsBySegmentsAndOthersDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSegmentInformationSegmentEbitaAndSegmentEbitdaDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "baba_LogisticsServicesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the information pertaining to domestic and cross-border fulfilment services provided by Cainiao Network.",
        "label": "Logistics Services [Member]",
        "terseLabel": "Logistics services"
       }
      }
     },
     "localname": "LogisticsServicesMember",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureRelatedPartyTransactionsTransactionsWithRelatedPartiesDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureRevenueByTypeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "baba_LongTermBorrowingsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "All long-term borrowings.",
        "label": "Long Term Borrowings [Member]",
        "terseLabel": "Long-term borrowings"
       }
      }
     },
     "localname": "LongTermBorrowingsMember",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureBankBorrowingsGeneralDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "baba_MangoExcellentMediaCoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to Mango Excellent Media Co.",
        "label": "Mango Excellent Media Co [Member]",
        "terseLabel": "Mango Excellent Media Co"
       }
      }
     },
     "localname": "MangoExcellentMediaCoMember",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsEquityInvestmentsAndOthersDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "baba_MarketplaceSoftwareTechnologyServicesFeeAndOtherAmountsEarnedMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to marketplace software technology services fee and other amounts earned.",
        "label": "Marketplace software technology services fee and other amounts earned"
       }
      }
     },
     "localname": "MarketplaceSoftwareTechnologyServicesFeeAndOtherAmountsEarnedMember",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureRelatedPartyTransactionsTransactionsWithRelatedPartiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "baba_MeinianOneHealthHoldingIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "It represents information pertaining to Meinian Onehealth Healthcare Holdings Co; Ltd. (\"Meinian\").",
        "label": "Meinian One Health Holding Inc [Member]",
        "terseLabel": "Meinian"
       }
      }
     },
     "localname": "MeinianOneHealthHoldingIncMember",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsEquityInvestmentsAndOthersDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "baba_MembershipFeesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the information pertaining to membership fees.",
        "label": "Membership Fees [Member]",
        "terseLabel": "Membership fees"
       }
      }
     },
     "localname": "MembershipFeesMember",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureRevenueByTypeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "baba_MerchantDeposits": {
     "auth_ref": [],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedBalanceSheets": {
       "order": 4.0,
       "parentTag": "us-gaap_LiabilitiesCurrent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The current portion of money or property received from customers which is either to be returned upon satisfactory contract completion or applied to customer receivables in accordance with the terms of the contract or the understandings.",
        "label": "Merchant Deposits",
        "terseLabel": "Merchant deposits"
       }
      }
     },
     "localname": "MerchantDeposits",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "baba_MerchantDepositsPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for merchant deposits.",
        "label": "Merchant Deposits [Policy Text Block]",
        "terseLabel": "Merchant deposits"
       }
      }
     },
     "localname": "MerchantDepositsPolicyTextBlock",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "baba_MinimumPercentageDirectlyOwnedByForeignInvestorForLowerWithholdingIncomeTaxRate": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The minimum direct ownership percentage in the foreign invested enterprises owned by the foreign investors in Hong Kong, determining whether the lower withholding income tax rate can be applied for dividends distributed by the foreign invested enterprise to its investors in Hong Kong.",
        "label": "Minimum Percentage Directly Owned by Foreign Investor for Lower Withholding Income Tax Rate",
        "terseLabel": "Minimum percentage of ownership interests held by investors in Hong Kong to qualify for lower withholding tax rate (as a percent)"
       }
      }
     },
     "localname": "MinimumPercentageDirectlyOwnedByForeignInvestorForLowerWithholdingIncomeTaxRate",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureIncomeTaxExpensesGeneralDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "baba_NetIncomeLossIncludingPortionAttributableToNoncontrollingInterestAndOtherAdjustment": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The consolidated profit or loss for the period, net of income taxes, including the portion attributable to the noncontrolling interest and other adjustments not separately disclosed.",
        "label": "Net Income (Loss), Including Portion Attributable to Noncontrolling Interest And Other Adjustment",
        "terseLabel": "Net income for the year"
       }
      }
     },
     "localname": "NetIncomeLossIncludingPortionAttributableToNoncontrollingInterestAndOtherAdjustment",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfChangesInShareholdersEquity"
     ],
     "xbrltype": "monetaryItemType"
    },
    "baba_NonCurrentPortionOfPrincipalAmounts": {
     "auth_ref": [],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureUnsecuredSeniorNotesGeneralDetails2": {
       "order": 0.0,
       "parentTag": "us-gaap_LongTermDebt",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, before unamortized (discount) premium and debt issuance costs, of long-term debt, classified as noncurrent. Includes, but is not limited to, notes payable, bonds payable, commercial loans, mortgage loans, convertible debt, subordinated debt and other types of debt.",
        "label": "Non Current Portion Of Principal Amounts",
        "terseLabel": "Non-current portion of principal amounts of unsecured senior notes"
       }
      }
     },
     "localname": "NonCurrentPortionOfPrincipalAmounts",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureUnsecuredSeniorNotesGeneralDetails3"
     ],
     "xbrltype": "monetaryItemType"
    },
    "baba_NumberOfOfficersNominated": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of officers nominated by the Company.",
        "label": "Number of Officers Nominated",
        "terseLabel": "Number of officers nominated"
       }
      }
     },
     "localname": "NumberOfOfficersNominated",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsEquityInvestmentsAndOthersDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "baba_NumberOfOfficersOrEmployees": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the number of officers or employees the Company has the right to nominate.",
        "label": "Number of Officers or Employees",
        "terseLabel": "Number of officers or employees"
       }
      }
     },
     "localname": "NumberOfOfficersOrEmployees",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsEquityInvestmentsAndOthersDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "baba_OneListedReportingUnitMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for one listed reporting unit.",
        "label": "One Listed Reporting Unit [Member]",
        "terseLabel": "One listed reporting unit"
       }
      }
     },
     "localname": "OneListedReportingUnitMember",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureGoodwillDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "baba_OneUnlistedReportingUnitMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for one unlisted reporting unit.",
        "label": "One Unlisted Reporting Unit [Member]",
        "terseLabel": "One unlisted reporting unit"
       }
      }
     },
     "localname": "OneUnlistedReportingUnitMember",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureGoodwillDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "baba_OptionAgreementsAtFairValue": {
     "auth_ref": [],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureFairValueMeasurementDetails": {
       "order": 7.0,
       "parentTag": "us-gaap_AssetsFairValueDisclosure",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value as of the balance sheet date of option agreements.",
        "label": "Option Agreements, At Fair Value",
        "terseLabel": "Option agreements"
       }
      }
     },
     "localname": "OptionAgreementsAtFairValue",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureFairValueMeasurementDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "baba_OtherCommitmentToBePaidTwoToFiveYears": {
     "auth_ref": [],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureCommitmentsOtherCommitmentsDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_OtherCommitment",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of commitment classified as other to be paid in the second through fifth years following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Other Commitment, to be Paid, Two To Five Years",
        "terseLabel": "Later than 1 year and no later than 5 years"
       }
      }
     },
     "localname": "OtherCommitmentToBePaidTwoToFiveYears",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureCommitmentsOtherCommitmentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "baba_OtherComprehensiveIncomeLossForeignCurrencyTranslationGainLossArisingDuringPeriodNetOfTax": {
     "auth_ref": [],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfComprehensiveIncome": {
       "order": 2.0,
       "parentTag": "us-gaap_OtherComprehensiveIncomeLossNetOfTax",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount after tax, before reclassification adjustments of gain (loss) on foreign currency translation adjustments.",
        "label": "Other Comprehensive Income (Loss), Foreign Currency Translation Gain (Loss) Arising During Period, Net of Tax",
        "terseLabel": "Change in unrealized (losses) gains"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeLossForeignCurrencyTranslationGainLossArisingDuringPeriodNetOfTax",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfComprehensiveIncome"
     ],
     "xbrltype": "monetaryItemType"
    },
    "baba_OtherComprehensiveIncomeLossUnrealizedGainLossOnShareOfOtherComprehensiveIncomeOfEquityMethodInvestees": {
     "auth_ref": [],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfComprehensiveIncome": {
       "order": 0.0,
       "parentTag": "us-gaap_OtherComprehensiveIncomeLossNetOfTax",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase (decrease) in accumulated gain (loss) from share of other comprehensive income of equity method investees.",
        "label": "Other Comprehensive Income (Loss), Unrealized Gain (Loss) on Share of Other Comprehensive Income of Equity Method Investees",
        "terseLabel": "Change in unrealized (losses) gains"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeLossUnrealizedGainLossOnShareOfOtherComprehensiveIncomeOfEquityMethodInvestees",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfComprehensiveIncome"
     ],
     "xbrltype": "monetaryItemType"
    },
    "baba_OtherCostReimbursement": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "It represents amount of cost reimbursement received.",
        "label": "Other Cost Reimbursement",
        "terseLabel": "Other cost reimbursement"
       }
      }
     },
     "localname": "OtherCostReimbursement",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsEquityInvestmentsAndOthersDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "baba_OtherDepositLiabilityCurrent": {
     "auth_ref": [],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureAccruedExpensesAccountsPayableAndOtherLiabilitiesDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_AccountsPayableAndAccruedLiabilitiesCurrent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The current portion, due within one year or one operating cycle, if longer, of other deposits not separately disclosed in the balance sheet.",
        "label": "Other Deposit Liability Current",
        "terseLabel": "Other deposits and advances received"
       }
      }
     },
     "localname": "OtherDepositLiabilityCurrent",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureAccruedExpensesAccountsPayableAndOtherLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "baba_OtherLongTermBorrowingsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Long-term debt instruments that are not separately named.",
        "label": "Other Long Term Borrowings [Member]",
        "terseLabel": "Long-term other borrowings"
       }
      }
     },
     "localname": "OtherLongTermBorrowingsMember",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureBankBorrowingsGeneralDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "baba_OtherRelatedPartyTransactionsRelatingToServicesProvidedAndReceivedMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Other related party transactions not separately disclosed in the consolidated financial statements, relating to services provided and received.",
        "label": "Other related party transactions relating to services provided and received"
       }
      }
     },
     "localname": "OtherRelatedPartyTransactionsRelatingToServicesProvidedAndReceivedMember",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureRelatedPartyTransactionsTransactionsWithRelatedPartiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "baba_OtherRestrictedCashMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Other types of restricted cash and escrow receivables not separately disclosed.",
        "label": "Others",
        "terseLabel": "Others"
       }
      }
     },
     "localname": "OtherRestrictedCashMember",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureRestrictedCashAndEscrowReceivablesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "baba_OtherServicesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Other commercial arrangements, treasury management arrangements and cost sharing arrangements on technical and other administrative services.",
        "label": "Other services"
       }
      }
     },
     "localname": "OtherServicesMember",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureRelatedPartyTransactionsTransactionsWithRelatedPartiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "baba_OtherShortTermBorrowingsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Short-term debt instruments that are not separately named.",
        "label": "Other Short Term Borrowings [Member]",
        "terseLabel": "Short-term other borrowings"
       }
      }
     },
     "localname": "OtherShortTermBorrowingsMember",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureBankBorrowingsGeneralDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "baba_OtherTreasuryInvestmentsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Other treasury investments.",
        "label": "Other Treasury Investments [Member]",
        "terseLabel": "Other Treasury Investments"
       }
      }
     },
     "localname": "OtherTreasuryInvestmentsMember",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureEquitySecuritiesAndOtherInvestmentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "baba_PartnerCapitalInvestmentPlanRelatingToOrdinarySharesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents Partner Capital Investment Plan relating to ordinary shares of the Company, which the Company offered to selected members of the Alibaba Partnership. These rights and the underlying restricted shares are only subject to a non-compete provision but not other vesting conditions (employment or otherwise) and they entitle the holders to purchase restricted shares.",
        "label": "Partner Capital Investment Plan Relating To Ordinary Shares [Member]",
        "terseLabel": "Partner Capital Investment Plan"
       }
      }
     },
     "localname": "PartnerCapitalInvestmentPlanRelatingToOrdinarySharesMember",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSharebasedAwardsPartnerCapitalInvestmentPlanDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "baba_PayableToMerchantsAndThirdPartyMarketingAffiliates": {
     "auth_ref": [],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureAccruedExpensesAccountsPayableAndOtherLiabilitiesDetails": {
       "order": 3.0,
       "parentTag": "us-gaap_AccountsPayableAndAccruedLiabilitiesCurrent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Carrying value as of the balance sheet date of payable to merchants and third party marketing affiliates.",
        "label": "Payable to Merchants and Third Party Marketing Affiliates",
        "terseLabel": "Payable to merchants and third party marketing affiliates"
       }
      }
     },
     "localname": "PayableToMerchantsAndThirdPartyMarketingAffiliates",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureAccruedExpensesAccountsPayableAndOtherLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "baba_PaymentProcessingAndEscrowServicesFeeMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to payment processing and escrow services fee.",
        "label": "Payment processing and escrow services fee"
       }
      }
     },
     "localname": "PaymentProcessingAndEscrowServicesFeeMember",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureRelatedPartyTransactionsTransactionsWithRelatedPartiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "baba_PaymentsToAcquireAdditionalInterestInSubsidiariesFinancingActivities": {
     "auth_ref": [],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 2.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash outflow associated with the purchases of shares of a subsidiary, which were accounted for as equity transactions whereby the excess of purchase price over the carrying value of the related noncontrolling interests acquired were charged to additional paid-in capital, and no gains or losses were recognized.",
        "label": "Payments to Acquire Additional Interest in Subsidiaries Financing Activities",
        "negatedLabel": "Acquisition of additional equity interests in non-wholly owned subsidiaries"
       }
      }
     },
     "localname": "PaymentsToAcquireAdditionalInterestInSubsidiariesFinancingActivities",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "baba_PaymentsToAcquireInvestmentsAndOtherAssets": {
     "auth_ref": [],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 7.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash outflow for purchase of investments and other assets.",
        "label": "Payments to Acquire Investments and Other Assets",
        "negatedLabel": "Acquisitions of equity securities and other investments and other assets"
       }
      }
     },
     "localname": "PaymentsToAcquireInvestmentsAndOtherAssets",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "baba_PaymentsToAcquireInvestmentsExcludingExchangeableBonds": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash outflow associated with the purchase of equity investments, excluding the amount paid for exchangeable bonds, during the period.",
        "label": "Payments to Acquire Investments, Excluding Exchangeable Bonds",
        "terseLabel": "Total consideration"
       }
      }
     },
     "localname": "PaymentsToAcquireInvestmentsExcludingExchangeableBonds",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsEquityInvestmentsAndOthersDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "baba_PaymentsToAcquireLandUseRightsPropertyAndEquipment": {
     "auth_ref": [],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 4.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash outflow to acquire land use rights, property and equipment.",
        "label": "Payments to Acquire Land Use Rights, Property and Equipment",
        "negatedLabel": "Land use rights, property and equipment"
       }
      }
     },
     "localname": "PaymentsToAcquireLandUseRightsPropertyAndEquipment",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "baba_PaymentsToAcquireLicensedCopyrightsOperatingActivities": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash outflow to acquire licensed copyrights, classified as operating activities in the consolidated statements of cash flows.",
        "label": "Payments to Acquire Licensed copyrights, Operating Activities",
        "terseLabel": "Cash outflows for the acquisition of licensed copyrights"
       }
      }
     },
     "localname": "PaymentsToAcquireLicensedCopyrightsOperatingActivities",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesLongLivedAssetsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "baba_PaymentsToSubscribeExchangeableBonds": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash outflow for the subscription of exchangeable bonds.",
        "label": "Payments to Subscribe Exchangeable Bonds",
        "terseLabel": "Cash consideration for subscription of exchangeable bonds"
       }
      }
     },
     "localname": "PaymentsToSubscribeExchangeableBonds",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsEquityInvestmentsAndOthersDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "baba_PercentageOfRepurchaseOfEquityInterestFromAllShareholders": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of a proposal from acquired company to repurchase equity interest from all of its shareholders.",
        "label": "Percentage of Repurchase of Equity Interest From All Shareholders",
        "terseLabel": "Percentage of repurchase of equity interest"
       }
      }
     },
     "localname": "PercentageOfRepurchaseOfEquityInterestFromAllShareholders",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsEquityInvestmentsAndOthersDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "baba_PreEmptiveRightsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the information pertaining to pre-emptive rights.",
        "label": "Pre Emptive Rights [Member]",
        "terseLabel": "Pre-emptive rights"
       }
      }
     },
     "localname": "PreEmptiveRightsMember",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsEquityInvestmentsAndOthersDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "baba_PreferentialStatutoryIncomeTaxRate": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the preferential statutory income tax rate applied to entities with certain qualified enterprise classification/status under the income tax law.",
        "label": "Preferential Statutory Income Tax Rate",
        "terseLabel": "Preferential tax rate (as a percent)"
       }
      }
     },
     "localname": "PreferentialStatutoryIncomeTaxRate",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureIncomeTaxExpensesGeneralDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "baba_PrepaidCostOfRevenueSalesAndMarketingExpensesAndOthers": {
     "auth_ref": [],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosurePrepaymentsReceivablesAndOtherAssetsDetails": {
       "order": 6.0,
       "parentTag": "baba_PrepaidExpenseReceivablesAndOtherAssetsCurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of asset related to consideration paid in advance for cost of revenue, sales and marketing expenses and others that provide economic benefits within a future period of one year or the normal operating cycle, if longer.",
        "label": "Prepaid Cost of Revenue Sales and Marketing Expenses and Others",
        "terseLabel": "Prepaid cost of revenue, sales and marketing and other expenses"
       }
      }
     },
     "localname": "PrepaidCostOfRevenueSalesAndMarketingExpensesAndOthers",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosurePrepaymentsReceivablesAndOtherAssetsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "baba_PrepaidExpenseReceivablesAndOtherAssetsCurrent": {
     "auth_ref": [],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosurePrepaymentsReceivablesAndOtherAssetsDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedBalanceSheets": {
       "order": 4.0,
       "parentTag": "us-gaap_AssetsCurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of asset related to consideration paid in advance for costs that provide economic benefits in future periods; total amount due to the entity from outside sources, including trade accounts receivable, as well as any other types of receivables, net of allowances established for the purpose of reducing such receivables to an amount that approximates their net realizable value and amount of other assets that are expected to be realized or consumed within one year or the normal operating cycle, if longer.",
        "label": "Prepaid Expense Receivables and Other Assets Current",
        "terseLabel": "Prepayments, receivables and other assets",
        "totalLabel": "Total Current"
       }
      }
     },
     "localname": "PrepaidExpenseReceivablesAndOtherAssetsCurrent",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosurePrepaymentsReceivablesAndOtherAssetsDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "baba_PrepaidExpenseReceivablesAndOtherAssetsNoncurrent": {
     "auth_ref": [],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosurePrepaymentsReceivablesAndOtherAssetsDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedBalanceSheets": {
       "order": 5.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of asset related to consideration paid in advance for costs that provide economic benefits in future periods; total amount due to the entity, and amount of other assets that are expected to be realized or consumed after one year or the normal operating cycle, if longer.",
        "label": "Prepaid Expense Receivables and Other Assets Noncurrent",
        "terseLabel": "Prepayments, receivables and other assets",
        "totalLabel": "Total Non-current"
       }
      }
     },
     "localname": "PrepaidExpenseReceivablesAndOtherAssetsNoncurrent",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosurePrepaymentsReceivablesAndOtherAssetsDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "baba_PrepaidPropertyAndEquipmentNoncurrent": {
     "auth_ref": [],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosurePrepaymentsReceivablesAndOtherAssetsDetails": {
       "order": 0.0,
       "parentTag": "baba_PrepaidExpenseReceivablesAndOtherAssetsNoncurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Carrying amount as of the balance sheet date of amounts paid in advance for acquisition of property and equipment, expected to be capitalized after one year (or the normal operating cycle, if longer).",
        "label": "Prepaid Property and Equipment Noncurrent",
        "terseLabel": "Prepayment for acquisition of property and equipment"
       }
      }
     },
     "localname": "PrepaidPropertyAndEquipmentNoncurrent",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosurePrepaymentsReceivablesAndOtherAssetsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "baba_PrepaymentsReceivablesAndOtherAssetsDisclosureTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for prepayments, receivables and other assets. This disclosure includes current and non current portion of prepayments, receivables and other assets.",
        "label": "Prepayments Receivables and Other Assets Disclosure [Text Block]",
        "terseLabel": "Prepayments, receivables and other assets"
       }
      }
     },
     "localname": "PrepaymentsReceivablesAndOtherAssetsDisclosureTextBlock",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosurePrepaymentsReceivablesAndOtherAssets"
     ],
     "xbrltype": "textBlockItemType"
    },
    "baba_ProceedsFromDisposalsDistributionsAndDividendsOfEquityMethodInvestees": {
     "auth_ref": [],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 14.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash inflow associated with the disposals, distributions and dividends of equity method investees, classified as investing activities.",
        "label": "Proceeds from Disposals, Distributions and Dividends of Equity Method Investees",
        "terseLabel": "Disposals and distributions of equity method investees"
       }
      }
     },
     "localname": "ProceedsFromDisposalsDistributionsAndDividendsOfEquityMethodInvestees",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "baba_ProceedsFromDisposalsOfIntellectualPropertyRightsAndAssets": {
     "auth_ref": [],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 13.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash inflow from disposals of intellectual property rights and assets.",
        "label": "Proceeds from Disposals of Intellectual Property Rights and Assets",
        "terseLabel": "Disposals of intellectual property rights and assets"
       }
      }
     },
     "localname": "ProceedsFromDisposalsOfIntellectualPropertyRightsAndAssets",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "baba_ProceedsFromRelatedParty": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Right to receive proceeds from related party.",
        "label": "Proceeds From Related Party",
        "verboseLabel": "Consideration to be received from related party"
       }
      }
     },
     "localname": "ProceedsFromRelatedParty",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsEquityInvestmentsAndOthersDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "baba_ProfitSharePaymentsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the profit share payments earned by the company.",
        "label": "Profit Share Payments [Member]",
        "terseLabel": "Profit Share Payments"
       }
      }
     },
     "localname": "ProfitSharePaymentsMember",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureRelatedPartyTransactionsTransactionsWithRelatedPartiesDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsEquityInvestmentsAndOthersDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "baba_PropertyPlantAndEquipmentAndIntangibleAssetsNet": {
     "auth_ref": [],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesConsolidationDetails": {
       "order": 4.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sum of 1) Amount after accumulated depreciation, depletion and amortization of physical assets used in the normal conduct of business to produce goods and services and not intended for resale. Examples include, but are not limited to, land, buildings, machinery and equipment, office equipment, and furniture and fixtures. 2) the carrying amounts of all intangible assets, excluding goodwill, as of the balance sheet date, net of accumulated amortization and impairment charges.",
        "label": "Property, Plant and Equipment And Intangible Assets, Net",
        "verboseLabel": "Property and equipment, net and intangible assets, net"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentAndIntangibleAssetsNet",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesConsolidationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "baba_RedStarMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Red Star Group Limited, a company that is listed on the Shenzhen Stock Exchange, one of the largest consumer electronics retail chains in the PRC.",
        "label": "Red Star [Member]",
        "terseLabel": "Red Star"
       }
      }
     },
     "localname": "RedStarMember",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsEquityInvestmentsAndOthersDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "baba_RelatedPartiesProvidingOrReceivingServicesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "In general, related parties who provide and receive certain services to or from the Company.",
        "label": "Related parties who provide and receive certain services"
       }
      }
     },
     "localname": "RelatedPartiesProvidingOrReceivingServicesMember",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureRelatedPartyTransactionsTransactionsWithRelatedPartiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "baba_RelatedPartyTransactionLoanFacilityGuaranteed": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of loan facility of the related party, guaranteed by the company.",
        "label": "Related Party Transaction, Loan Facility Guaranteed",
        "terseLabel": "Loan facility guaranteed"
       }
      }
     },
     "localname": "RelatedPartyTransactionLoanFacilityGuaranteed",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureRelatedPartyTransactionsTransactionsWithRelatedPartiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "baba_RelatedPartyTransactionPercentageOfTotalRevenue": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents revenue from related parties as a percentage of total revenue.",
        "label": "Related Party Transaction Percentage Of Total Revenue",
        "terseLabel": "Percentage of total revenue that are from related parties"
       }
      }
     },
     "localname": "RelatedPartyTransactionPercentageOfTotalRevenue",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureRelatedPartyTransactionsTransactionsWithRelatedPartiesDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "baba_RelatedPartyTransactionRemainingTerms": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Remaining terms of the agreement with related parties.",
        "label": "Related Party Transaction, Remaining Terms",
        "terseLabel": "Remaining terms"
       }
      }
     },
     "localname": "RelatedPartyTransactionRemainingTerms",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureRelatedPartyTransactionsTransactionsWithRelatedPartiesDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "baba_ReserveLevelThresholdForMandatoryTransferPercentage": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the level of the statutory reserve fund balance as a percentage of registered capital for entities incorporated in the People's Republic of China which must be attained before mandatory transfers to the reserve are no longer required.",
        "label": "Reserve Level Threshold for Mandatory Transfer Percentage",
        "terseLabel": "Limit of statutory reserve fund as a percentage of registered capital, after which allocations to statutory reserve fund are no longer required"
       }
      }
     },
     "localname": "ReserveLevelThresholdForMandatoryTransferPercentage",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureRestrictedNetAssetsDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesOthersDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "baba_RestrictedCashAndCashEquivalentsAndEscrowReceivablesFairValueDisclosure": {
     "auth_ref": [],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureFairValueMeasurementDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_AssetsFairValueDisclosure",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value portion of cash and cash equivalent items which are restricted as to withdrawal or usage, and escrow receivables which are classified as current.",
        "label": "Restricted Cash and Cash Equivalents and Escrow Receivables, Fair Value Disclosure",
        "terseLabel": "Restricted cash and escrow receivables"
       }
      }
     },
     "localname": "RestrictedCashAndCashEquivalentsAndEscrowReceivablesFairValueDisclosure",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureFairValueMeasurementDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "baba_RestrictedCashAndCashEquivalentsAtCarryingValueAndEscrowReceivables": {
     "auth_ref": [],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedBalanceSheets": {
       "order": 2.0,
       "parentTag": "us-gaap_AssetsCurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The carrying amounts of cash and cash equivalent items which are restricted as to withdrawal or usage. Restrictions may include legally restricted deposits held as compensating balances against short-term borrowing arrangements, contracts entered into with others, or entity statements of intention with regard to particular deposits; however, time deposits and short-term certificates of deposit are not generally included in legally restricted deposits. Excludes compensating balance arrangements that are not agreements which legally restrict the use of cash amounts shown on the balance sheet. Also includes money received or receivable on escrow services in connection with the provision of online and mobile commerce related services.",
        "label": "Restricted Cash And Cash Equivalents At Carrying Value And Escrow Receivables",
        "terseLabel": "Restricted cash and escrow receivables"
       }
      }
     },
     "localname": "RestrictedCashAndCashEquivalentsAtCarryingValueAndEscrowReceivables",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureRestrictedCashAndEscrowReceivablesDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "baba_RestrictedCashAndEscrowReceivablesDisclosureTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for restricted cash and escrow receivables.",
        "label": "Restricted Cash and Escrow Receivables Disclosure [Text Block]",
        "terseLabel": "Restricted cash and escrow receivables"
       }
      }
     },
     "localname": "RestrictedCashAndEscrowReceivablesDisclosureTextBlock",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureRestrictedCashAndEscrowReceivables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "baba_RestrictedStockAndRestrictedStockUnitsRSUsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Stock, including a provision that prohibits sale or substantive sale of an equity instrument for a specified period of time or until specified performance conditions are met, and share instrument which is convertible to stock or an equivalent amount of cash, after a specified period of time or when specified performance conditions are met.",
        "label": "Restricted Stock And Restricted Stock Units R S Us [Member]",
        "terseLabel": "Restricted shares and RSUs"
       }
      }
     },
     "localname": "RestrictedStockAndRestrictedStockUnitsRSUsMember",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSharebasedAwardsRsusDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "baba_RestructuringReserveMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Category of equity that is for certain restructuring activities.",
        "label": "Restructuring Reserve [Member]",
        "terseLabel": "Restructuring reserve"
       }
      }
     },
     "localname": "RestructuringReserveMember",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfChangesInShareholdersEquity"
     ],
     "xbrltype": "domainItemType"
    },
    "baba_RevenuesDisclosureTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for revenue including a breakdown whether China or international and wholesale or retail, as well as a breakdown by type of service.",
        "label": "Revenues Disclosure [Text Block]",
        "terseLabel": "Revenue"
       }
      }
     },
     "localname": "RevenuesDisclosureTextBlock",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureRevenue"
     ],
     "xbrltype": "textBlockItemType"
    },
    "baba_SalesOfGoodsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the information pertaining to sales of goods.",
        "label": "Sales Of Goods [Member]",
        "terseLabel": "Sales of goods"
       }
      }
     },
     "localname": "SalesOfGoodsMember",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureRevenueByTypeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "baba_ScheduleOfAccruedExpensesAccountsPayableAndOtherLiabilitiesTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the (a) carrying value as of the balance sheet date of liabilities incurred (and for which invoices have typically been received) and payable to vendors for goods and services received that are used in an entity's business (accounts payable); (b) other payables; and (c) accrued liabilities. Examples include taxes, interest, rent and utilities. This disclosure includes both current and non-current portion.",
        "label": "Schedule of Accrued Expenses, Accounts Payable and Other Liabilities [Table Text Block]",
        "terseLabel": "Schedule of accrued expenses, accounts payable and other liabilities"
       }
      }
     },
     "localname": "ScheduleOfAccruedExpensesAccountsPayableAndOtherLiabilitiesTableTextBlock",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureAccruedExpensesAccountsPayableAndOtherLiabilitiesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "baba_ScheduleOfCostAndEquityMethodInvestmentsTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Summarization of information disclosed concerning cost method and equity method investments.",
        "label": "Schedule of Cost and Equity Method Investments [Table]"
       }
      }
     },
     "localname": "ScheduleOfCostAndEquityMethodInvestmentsTable",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureInvestmentsInEquityMethodInvesteesAdditionalDetailsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "baba_ScheduleOfDebtInstrumentsTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A table or schedule providing information pertaining to short-term and long-term debt instruments or arrangements, including identification, terms, features, collateral requirements and other information necessary to a fair presentation.",
        "label": "Schedule of Debt Instruments [Table]"
       }
      }
     },
     "localname": "ScheduleOfDebtInstrumentsTable",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureBankBorrowings",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureBankBorrowingsGeneralDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureBankBorrowingsMaturityScheduleDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureBankBorrowingsTables"
     ],
     "xbrltype": "stringItemType"
    },
    "baba_ScheduleOfDepreciationAndAmortizationExpensesOfPropertyAndEquipmentAndLandUseRightsBySegmentTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the total depreciation and amortization expenses of property and equipment and land use rights by segments.",
        "label": "Schedule of Depreciation and Amortization Expenses of Property and Equipment and Land Use Rights, by Segment [Table Text Block]",
        "terseLabel": "Schedule of depreciation and impairment of property and equipment and land use rights by segment"
       }
      }
     },
     "localname": "ScheduleOfDepreciationAndAmortizationExpensesOfPropertyAndEquipmentAndLandUseRightsBySegmentTableTextBlock",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSegmentInformationTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "baba_ScheduleOfPropertyPlantAndEquipmentUsefulLifeTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the useful life of long-lived, physical assets that are used in the normal conduct of business to produce goods and services and not intended for resale.",
        "label": "Schedule of Property Plant and Equipment Useful Life [Table Text Block]",
        "terseLabel": "Schedule of estimated useful lives of property and equipment"
       }
      }
     },
     "localname": "ScheduleOfPropertyPlantAndEquipmentUsefulLifeTableTextBlock",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "baba_ScheduleOfRevenueIncomeFromOperationsAndAdjustedEbitaBySegmentTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of each segment's revenue, income from operations, adjusted earnings before interest, taxes and amortization (\"Adjusted EBITA\").",
        "label": "Schedule of Revenue, Income from Operations and Adjusted EBITA, by Segment [Table Text Block]",
        "terseLabel": "Schedule of each segment's revenue, income from operations and adjusted EBITA"
       }
      }
     },
     "localname": "ScheduleOfRevenueIncomeFromOperationsAndAdjustedEbitaBySegmentTableTextBlock",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSegmentInformationTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "baba_ScheduleOfShareBasedPaymentAwardStockOtherThanOptionsValuationAssumptionsTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the significant assumptions used during the year to estimate the fair value of share based awards other than stock options, including, but not limited to: (a) expected term of share awards and similar instruments, (b) expected volatility of the entity's comparable companies shares , (c) expected dividends, (d) risk-free rate(s), and (e) discount for post-vesting sale restrictions.",
        "label": "Schedule of Share Based Payment Award Stock Other than Options Valuation Assumptions Table [Text Block]",
        "terseLabel": "Schedule of fair value assumptions"
       }
      }
     },
     "localname": "ScheduleOfShareBasedPaymentAwardStockOtherThanOptionsValuationAssumptionsTableTextBlock",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureShareBasedAwardsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "baba_ScheduleOfSignificantAccountingPoliciesLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "No definition available.",
        "label": "Schedule of Significant Accounting Policies [Line Items]",
        "terseLabel": "Summary of significant accounting policies"
       }
      }
     },
     "localname": "ScheduleOfSignificantAccountingPoliciesLineItems",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesLongLivedAssetsDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesOthersDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesVariousDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "baba_ScheduleOfSignificantAccountingPoliciesTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Summarization of information required and determined to be disclosed concerning significant accounting policies.",
        "label": "Schedule of Significant Accounting Policies [Table]"
       }
      }
     },
     "localname": "ScheduleOfSignificantAccountingPoliciesTable",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesLongLivedAssetsDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesOthersDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesVariousDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "baba_SectorAndEntityDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sector-wise and entity-wise classification pertaining to income tax rate status.",
        "label": "Sector and Entity [Domain]"
       }
      }
     },
     "localname": "SectorAndEntityDomain",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureIncomeTaxExpensesGeneralDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "baba_SegmentInformationDisclosureTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for reporting segments including data and tables. Reportable segments include those that meet any of the following quantitative thresholds a) its reported revenue is 10 percent or more of the combined revenue of all operating segments after elimination of inter-company transaction b) the absolute amount of its reported profit or loss is 10 percent or more of the greater, in absolute amount of 1) the combined reported profit of all operating segments that did not report a loss or 2) the combined reported loss of all operating segments that did report a loss c) its assets are 10 percent or more of the combined assets of all operating segments.",
        "label": "Segment Information Disclosure [Text Block]",
        "terseLabel": "Segment information"
       }
      }
     },
     "localname": "SegmentInformationDisclosureTextBlock",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSegmentInformation"
     ],
     "xbrltype": "textBlockItemType"
    },
    "baba_SeniorNotes2014Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member represents senior notes 2014.",
        "label": "Senior Notes2014 [Member]",
        "terseLabel": "2014 Senior Notes"
       }
      }
     },
     "localname": "SeniorNotes2014Member",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureUnsecuredSeniorNotesGeneralDetails3"
     ],
     "xbrltype": "domainItemType"
    },
    "baba_SeniorNotes2017Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member represents senior notes 2017.",
        "label": "Senior Notes2017 [Member]",
        "terseLabel": "2017 Senior Notes"
       }
      }
     },
     "localname": "SeniorNotes2017Member",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureUnsecuredSeniorNotesGeneralDetails3"
     ],
     "xbrltype": "domainItemType"
    },
    "baba_SeniorNotes2021Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member represents senior notes 2021.",
        "label": "Senior Notes2021 [Member]",
        "terseLabel": "2021 Senior Notes"
       }
      }
     },
     "localname": "SeniorNotes2021Member",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureUnsecuredSeniorNotesGeneralDetails3"
     ],
     "xbrltype": "domainItemType"
    },
    "baba_ShareAndAssetPurchaseAgreementMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Share and asset purchase agreement (together with all subsequent amendments, the ?SAPA?) entered into by the entity.",
        "label": "Share And Asset Purchase Agreement [Member]",
        "terseLabel": "SAPA"
       }
      }
     },
     "localname": "ShareAndAssetPurchaseAgreementMember",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsEquityInvestmentsAndOthersDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "baba_ShareBasedAwardsRelatingToAntFinancialServicesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Share-based awards relating to Ant Group, granted by Ant Group and Junhan, a major equity holder of Ant Group.",
        "label": "Share Based Awards Relating To Ant Financial Services [Member]",
        "terseLabel": "Share-based awards relating to Ant Group"
       }
      }
     },
     "localname": "ShareBasedAwardsRelatingToAntFinancialServicesMember",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureShareBasedAwardsShareBasedAwardsRelatingToAntGroupDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "baba_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsExpectedToVestWeightedAverageGrantDateFairValue": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The weighted average fair value of nonvested awards on equity-based plans excluding option plans that are expected to vest (for example, phantom stock or unit plan, stock or unit appreciation rights plan, revenue or profit achievement stock award plan) for which the employer is contingently obligated to issue equity instruments or transfer assets to an employee who has not yet satisfied service or performance criteria necessary to gain title to proceeds from the sale of the award or underlying shares or units.",
        "label": "Share Based Compensation Arrangement by Share Based Payment Award Equity Instruments Other than Options Expected to Vest Weighted Average Grant Date Fair Value",
        "terseLabel": "Expected to vest"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsExpectedToVestWeightedAverageGrantDateFairValue",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSharebasedAwardsRsusDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "baba_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageRemainingContractualTerm": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average remaining contractual term for option awards granted in period, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Options, Grants in Period, Weighted Average Remaining Contractual Term",
        "terseLabel": "Weighted average remaining contractual life, granted"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageRemainingContractualTerm",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSharebasedAwardsShareOptionsDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "baba_ShareBasedCompensationArrangementByShareBasedPaymentAwardOtherThanOptionsExpectedToVestOutstandingNumber": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "As of the balance sheet date, the number of shares expected to vest awards other than stock options outstanding can be converted under the equity-based awards plan.",
        "label": "Share Based Compensation Arrangement by Share Based Payment Award Other than Options Expected to Vest Outstanding Number",
        "terseLabel": "Expected to vest"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOtherThanOptionsExpectedToVestOutstandingNumber",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSharebasedAwardsRsusDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "baba_ShareBasedCompensationArrangementByShareBasedPaymentPlanExpirationPeriod": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Period from the date of the establishment of plan award expires, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Plan, Expiration Period",
        "terseLabel": "Plan term"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentPlanExpirationPeriod",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSharebasedAwardsGeneralDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "baba_ShareOfAdditionalPaidInCapitalAndOtherComprehensiveIncomeOfEquityMethodInvestees": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Equity impact of the share of additional paid-in capital and other comprehensive income of equity method investees.",
        "label": "Share of Additional Paid-in Capital and Other Comprehensive Income of Equity Method Investees",
        "terseLabel": "Share of additional paid-in capital and other comprehensive income of equity method investees"
       }
      }
     },
     "localname": "ShareOfAdditionalPaidInCapitalAndOtherComprehensiveIncomeOfEquityMethodInvestees",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfChangesInShareholdersEquity"
     ],
     "xbrltype": "monetaryItemType"
    },
    "baba_ShareOfOtherComprehensiveIncomeOfEquityMethodInvestees": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "n/a.",
        "label": "Share of Other Comprehensive Income of Equity Method Investees",
        "terseLabel": "Share of other comprehensive income of equity method investees:"
       }
      }
     },
     "localname": "ShareOfOtherComprehensiveIncomeOfEquityMethodInvestees",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfComprehensiveIncome"
     ],
     "xbrltype": "stringItemType"
    },
    "baba_ShortTermBorrowingsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "All short-term borrowings.",
        "label": "Short Term Borrowings [Member]",
        "terseLabel": "Short-term borrowings"
       }
      }
     },
     "localname": "ShortTermBorrowingsMember",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureBankBorrowingsGeneralDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "baba_ShortTermInvestmentsBankTimeDepositsAndOtherShortTermInvestments": {
     "auth_ref": [],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedBalanceSheets": {
       "order": 1.0,
       "parentTag": "us-gaap_AssetsCurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Any certificate of deposit or savings account held by a bank or other financial institution for a short-term specified period of time between three months and one year and other investments not otherwise specified in the taxonomy that will be realized in a short period of time, usually less than one year or the normal operating cycle, whichever is longer.",
        "label": "Short Term Investments Bank Time Deposits And Other Short Term Investments",
        "terseLabel": "Short-term investments"
       }
      }
     },
     "localname": "ShortTermInvestmentsBankTimeDepositsAndOtherShortTermInvestments",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "baba_ShortTermInvestmentsPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for short term investments, primarily in fixed deposits with maturities between three months and one year and investments in money market funds or other investments whereby the Company has the intention to redeem within one year.",
        "label": "Short Term Investments [Policy Text Block]",
        "terseLabel": "Short-term investments"
       }
      }
     },
     "localname": "ShortTermInvestmentsPolicyTextBlock",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "baba_SignificantMergersAndAcquisitionsAndInvestmentsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "No definition available.",
        "label": "Significant mergers and acquisitions and investments"
       }
      }
     },
     "localname": "SignificantMergersAndAcquisitionsAndInvestmentsAbstract",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "xbrltype": "stringItemType"
    },
    "baba_SignificantMergersAndAcquisitionsAndInvestmentsTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for significant mergers and acquisitions and investments.",
        "label": "Significant Mergers And Acquisitions And Investments [Text Block]",
        "terseLabel": "Significant mergers and acquisitions and investments"
       }
      }
     },
     "localname": "SignificantMergersAndAcquisitionsAndInvestmentsTextBlock",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestments"
     ],
     "xbrltype": "textBlockItemType"
    },
    "baba_SoftwareEnterpriseMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents classification of Software Enterprise .",
        "label": "Software Enterprise [Member]",
        "terseLabel": "Software Enterprise"
       }
      }
     },
     "localname": "SoftwareEnterpriseMember",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureIncomeTaxExpensesGeneralDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "baba_SpecialIncomeTaxPercentageReductionInPreferentialTaxRate": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the percentage reduction in preferential income tax rate during the three years following the full income tax exemption period.",
        "label": "Special Income Tax Percentage Reduction in Preferential Tax Rate",
        "terseLabel": "Reduction in preferential tax rate (as a percent)"
       }
      }
     },
     "localname": "SpecialIncomeTaxPercentageReductionInPreferentialTaxRate",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureIncomeTaxExpensesGeneralDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "baba_SpecialIncomeTaxReducedPreferentialTaxRatePeriod": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the period following the full income tax exemption for which reduced preferential income tax rate is granted under income tax law.",
        "label": "Special Income Tax Reduced Preferential Tax Rate Period",
        "terseLabel": "Period of 50% reduction to income tax rate"
       }
      }
     },
     "localname": "SpecialIncomeTaxReducedPreferentialTaxRatePeriod",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureIncomeTaxExpensesGeneralDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "baba_StatutoryReservesPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for statutory reserves.",
        "label": "Statutory Reserves [Policy Text Block]",
        "terseLabel": "Statutory reserves"
       }
      }
     },
     "localname": "StatutoryReservesPolicyTextBlock",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "baba_StoExpressCoLtdMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for STO Express Co Ltd.",
        "label": "Sto Express Co Ltd [Member]",
        "terseLabel": "STO Express"
       }
      }
     },
     "localname": "StoExpressCoLtdMember",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsEquityInvestmentsAndOthersDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "baba_StockBasedAwards2014PlanMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information related the stock based awards adopted in 2014 by the entity.",
        "label": "Stock Based Awards2014 Plan [Member]",
        "terseLabel": "2014 Plan"
       }
      }
     },
     "localname": "StockBasedAwards2014PlanMember",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSharebasedAwardsGeneralDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "baba_StockIssuedDuringPeriodSharesShareBasedCompensationAndEmployeeStockOwnershipPlan": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of shares (or other type of equity) issued during the period as a result of any equity-based compensation plan including an employee stock ownership plan (ESOP), net of any shares forfeited. Shares issued could result from the issuance of restricted stock, the exercise of stock options, stock issued under employee stock purchase plans, and/or other benefit plans.",
        "label": "Stock Issued During Period Shares Share Based Compensation and Employee Stock Ownership Plan",
        "terseLabel": "Issuance of shares, including vesting of RSUs and early exercised options and exercise of share options (in shares)"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodSharesShareBasedCompensationAndEmployeeStockOwnershipPlan",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfChangesInShareholdersEquity"
     ],
     "xbrltype": "sharesItemType"
    },
    "baba_StockIssuedDuringPeriodValueShareBasedCompensationAndEmployeeStockOwnershipPlan": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Value of stock (or other type of equity) issued during the period as a result of any equity-based compensation plan including an employee stock ownership plan (ESOP), net of stock value of such awards forfeited. Stock issued could result from the issuance of restricted stock, the exercise of stock options, stock issued under employee stock purchase plans, and/or other benefit plans.",
        "label": "Stock Issued During Period Value Share Based Compensation and Employee Stock Ownership Plan",
        "terseLabel": "Issuance of shares, including vesting of RSUs and early exercised options and exercise of share options"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodValueShareBasedCompensationAndEmployeeStockOwnershipPlan",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfChangesInShareholdersEquity"
     ],
     "xbrltype": "monetaryItemType"
    },
    "baba_StockOptionAndRestrictedStockUnitsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Equity-based compensation award, including i) An arrangement whereby an employee, director or consultant of the entity is entitled to receive in the future, subject to vesting and other restrictions, a number of shares in the entity at a specified price, as defined in the agreement. Although there are variations, normally, after vesting, when an option is exercised, the employee-holder pays the strike value in cash to the issuing employer-entity and receives equity shares. The equity shares can be sold into the market for cash at the current market price without restriction; ii) Share instrument which is convertible to stock or an equivalent amount of cash, after a specified period of time or when specified performance conditions are met.",
        "label": "Stock Option And Restricted Stock Units [Member]",
        "terseLabel": "Share options and RSUs"
       }
      }
     },
     "localname": "StockOptionAndRestrictedStockUnitsMember",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureShareBasedAwardsShareBasedAwardsRelatingToAntGroupDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "baba_StockOptionAndRestrictedStockUnitsWithFourYearVestingScheduleAndInitialVestingAtFirstAnniversaryMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Equity-based compensation award with a four-year vesting schedule at initial vesting at first anniversary, including i) An arrangement whereby an employee, director or consultant of the entity is entitled to receive in the future, subject to vesting and other restrictions, a number of shares in the entity at a specified price, as defined in the agreement. Although there are variations, normally, after vesting, when an option is exercised, the employee-holder pays the strike value in cash to the issuing employer-entity and receives equity shares. The equity shares can be sold into the market for cash at the current market price without restriction; ii) Share instrument which is convertible to stock or an equivalent amount of cash, after a specified period of time or when specified performance conditions are met.",
        "label": "Stock Option And Restricted Stock Units With Four Year Vesting Schedule And Initial Vesting At First Anniversary [Member]",
        "terseLabel": "Share-based awards with four-year vesting schedule and initial vesting at first anniversary"
       }
      }
     },
     "localname": "StockOptionAndRestrictedStockUnitsWithFourYearVestingScheduleAndInitialVestingAtFirstAnniversaryMember",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureShareBasedAwardsShareBasedAwardsRelatingToAntGroupDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "baba_StockOptionAndRestrictedStockUnitsWithFourYearVestingScheduleAndInitialVestingAtSecondAnniversaryMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Equity-based compensation award with a four-year vesting schedule at initial vesting at second anniversary, including i) An arrangement whereby an employee, director or consultant of the entity is entitled to receive in the future, subject to vesting and other restrictions, a number of shares in the entity at a specified price, as defined in the agreement. Although there are variations, normally, after vesting, when an option is exercised, the employee-holder pays the strike value in cash to the issuing employer-entity and receives equity shares. The equity shares can be sold into the market for cash at the current market price without restriction; ii) Share instrument which is convertible to stock or an equivalent amount of cash, after a specified period of time or when specified performance conditions are met.",
        "label": "Stock Option And Restricted Stock Units With Four Year Vesting Schedule And Initial Vesting At Second Anniversary [Member]",
        "terseLabel": "Share-based awards with four-year vesting schedule and initial vesting at second anniversary"
       }
      }
     },
     "localname": "StockOptionAndRestrictedStockUnitsWithFourYearVestingScheduleAndInitialVestingAtSecondAnniversaryMember",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureShareBasedAwardsShareBasedAwardsRelatingToAntGroupDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "baba_StockOptionAndRestrictedStockUnitsWithFourYearVestingScheduleMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Equity-based compensation award with a four-year vesting schedule, including i) An arrangement whereby an employee, director or consultant of the entity is entitled to receive in the future, subject to vesting and other restrictions, a number of shares in the entity at a specified price, as defined in the agreement. Although there are variations, normally, after vesting, when an option is exercised, the employee-holder pays the strike value in cash to the issuing employer-entity and receives equity shares. The equity shares can be sold into the market for cash at the current market price without restriction; ii) Share instrument which is convertible to stock or an equivalent amount of cash, after a specified period of time or when specified performance conditions are met.",
        "label": "Stock Option And Restricted Stock Units With Four Year Vesting Schedule [Member]",
        "terseLabel": "Share-based awards with four-year vesting schedule"
       }
      }
     },
     "localname": "StockOptionAndRestrictedStockUnitsWithFourYearVestingScheduleMember",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureShareBasedAwardsShareBasedAwardsRelatingToAntGroupDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "baba_StockOptionAndRestrictedStockUnitsWithSixYearVestingScheduleMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Equity-based compensation award with a six-year vesting schedule, including i) An arrangement whereby an employee, director or consultant of the entity is entitled to receive in the future, subject to vesting and other restrictions, a number of shares in the entity at a specified price, as defined in the agreement. Although there are variations, normally, after vesting, when an option is exercised, the employee-holder pays the strike value in cash to the issuing employer-entity and receives equity shares. The equity shares can be sold into the market for cash at the current market price without restriction; ii) Share instrument which is convertible to stock or an equivalent amount of cash, after a specified period of time or when specified performance conditions are met.",
        "label": "Stock Option And Restricted Stock Units With Six Year Vesting Schedule [Member]",
        "terseLabel": "Share-based awards with six-year vesting schedule"
       }
      }
     },
     "localname": "StockOptionAndRestrictedStockUnitsWithSixYearVestingScheduleMember",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureShareBasedAwardsShareBasedAwardsRelatingToAntGroupDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "baba_StockholdersEquityTreasuryStockPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for its treasury shares.",
        "label": "Stockholders Equity Treasury Stock [Policy Text Block]",
        "terseLabel": "Treasury shares"
       }
      }
     },
     "localname": "StockholdersEquityTreasuryStockPolicyTextBlock",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "baba_SubscriptionRightsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Rights to acquire restricted shares of the entity. These rights and the underlying restricted shares are only subject to a non-compete provision but not other vesting conditions (employment or\notherwise) and they entitle the holders to purchase restricted shares at an agreed upon price.",
        "label": "Subscription Rights [Member]",
        "terseLabel": "Subscription rights"
       }
      }
     },
     "localname": "SubscriptionRightsMember",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSharebasedAwardsPartnerCapitalInvestmentPlanDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "baba_SummaryOfInvestmentsCarryingValue": {
     "auth_ref": [],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureEquitySecuritiesAndOtherInvestmentsDetails": {
       "order": 1.0,
       "parentTag": "baba_SummaryOfInvestmentsCost",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Carrying value of investments held, excluding investment in related party.",
        "label": "Summary of Investments, Carrying Value",
        "terseLabel": "Carrying value"
       }
      }
     },
     "localname": "SummaryOfInvestmentsCarryingValue",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureEquitySecuritiesAndOtherInvestmentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "baba_SummaryOfInvestmentsCost": {
     "auth_ref": [],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureEquitySecuritiesAndOtherInvestmentsDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Cost of investments held, excluding investment in related party.",
        "label": "Summary of Investments, Cost",
        "totalLabel": "Original cost"
       }
      }
     },
     "localname": "SummaryOfInvestmentsCost",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureEquitySecuritiesAndOtherInvestmentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "baba_SummaryOfInvestmentsDifferenceBetweenFairValueAndUnpaidPrincipalBalance": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Difference between the fair value and unpaid principal balance of the investments.",
        "label": "Summary Of Investments, Difference Between Fair Value And Unpaid Principal Balance",
        "terseLabel": "Aggregate fair value was (lower) higher than their aggregate unpaid principal balance"
       }
      }
     },
     "localname": "SummaryOfInvestmentsDifferenceBetweenFairValueAndUnpaidPrincipalBalance",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureEquitySecuritiesAndOtherInvestmentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "baba_SummaryOfInvestmentsOtherThanInvestmentsInRelatedPartiesGrossUnrecognizedGainLosses": {
     "auth_ref": [],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureEquitySecuritiesAndOtherInvestmentsDetails": {
       "order": 0.0,
       "parentTag": "baba_SummaryOfInvestmentsCost",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of accumulated unrealized gross gains (losses) on the entity's investments.",
        "label": "Summary Of Investments, Other Than Investments In Related Parties, Gross Unrecognized Gain (Losses)",
        "terseLabel": "Cumulative net gains (losses)"
       }
      }
     },
     "localname": "SummaryOfInvestmentsOtherThanInvestmentsInRelatedPartiesGrossUnrecognizedGainLosses",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureEquitySecuritiesAndOtherInvestmentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "baba_SunArtRetailGroupLimitedMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to Sun Art Retail Group Limited.",
        "label": "Sun Art Retail Group Limited [Member]",
        "terseLabel": "Sun Art Retail Group Limited"
       }
      }
     },
     "localname": "SunArtRetailGroupLimitedMember",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureRevenueBreakdownBySegmentDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsEquityInvestmentsAndOthersDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsSunArtDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsTables"
     ],
     "xbrltype": "domainItemType"
    },
    "baba_SunArtRetailGroupLtdMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sun Art Retail Group Ltd.",
        "label": "Sun Art Retail Group Ltd Member",
        "terseLabel": "Sun Art Retail Group Limited"
       }
      }
     },
     "localname": "SunArtRetailGroupLtdMember",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsSunArtDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "baba_SunArtRetailGroupsLimitedMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sun art retail groups limited.",
        "label": "Sun Art Retail Groups Limited [Member]",
        "terseLabel": "Sun Art Retail Group Limited"
       }
      }
     },
     "localname": "SunArtRetailGroupsLimitedMember",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsSunArtDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "baba_TaobaoChinaSoftwareCoLtdMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents Taobao (China) Software Co. Ltd. (\"Taobao China\"), a subsidiary entity of the Company, primarily engaged in the operations of Taobao Marketplace.",
        "label": "Taobao China Software Co Ltd [Member]",
        "terseLabel": "Taobao China"
       }
      }
     },
     "localname": "TaobaoChinaSoftwareCoLtdMember",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureIncomeTaxExpensesGeneralDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "baba_TermOfSmeAnnualFee": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The term of the SME annual fee the company will receive annually from related party.",
        "label": "Term of SME Annual Fee",
        "terseLabel": "SME annual fee term (in years)"
       }
      }
     },
     "localname": "TermOfSmeAnnualFee",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureRelatedPartyTransactionsTransactionsWithRelatedPartiesDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "baba_TimeDepositsFairValueDisclosure": {
     "auth_ref": [],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureFairValueMeasurementDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_AssetsFairValueDisclosure",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value portion of certificate of deposit or savings account held with a bank or other financial institution with a maturity between three months and one year.",
        "label": "Time Deposits Fair Value Disclosure",
        "terseLabel": "Time deposits"
       }
      }
     },
     "localname": "TimeDepositsFairValueDisclosure",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureFairValueMeasurementDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "baba_TotalConsiderationEquityInterestOptionToAcquire": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Total consideration of equity interest the Company may elect to acquire through call option.",
        "label": "Total Consideration, Equity Interest, Option to Acquire",
        "terseLabel": "Total consideration"
       }
      }
     },
     "localname": "TotalConsiderationEquityInterestOptionToAcquire",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsEquityInvestmentsAndOthersDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "baba_TradeNamesTrademarksAndDomainNamesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Rights acquired through registration of a trademark to gain or protect exclusive use of a business name, symbol or other device or style, or rights either acquired through registration of a business name to gain or protect exclusive use thereof. Also include string of typographic characters used to describe the location of a specific individual, business, computer, or piece of information online.",
        "label": "Trade Names Trademarks And Domain Names [Member]",
        "terseLabel": "Trade names, trademarks and domain names"
       }
      }
     },
     "localname": "TradeNamesTrademarksAndDomainNamesMember",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureIntangibleAssetsNetGeneralDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsSunArtDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesLongLivedAssetsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "baba_TransactionsWithNoncontrollingInterests": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The increase (decrease) in stockholders' equity during the period due to transactions with noncontrolling interests.",
        "label": "Transactions with Noncontrolling Interests",
        "terseLabel": "Transactions with noncontrolling interests"
       }
      }
     },
     "localname": "TransactionsWithNoncontrollingInterests",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfChangesInShareholdersEquity"
     ],
     "xbrltype": "monetaryItemType"
    },
    "baba_TreasuryInvestmentOriginalMaturityTerm": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The original maturity of the treasury investments included in debt investments.",
        "label": "Treasury Investment Original Maturity Term",
        "terseLabel": "Treasury investment original maturity term"
       }
      }
     },
     "localname": "TreasuryInvestmentOriginalMaturityTerm",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesVariousDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "baba_TreasuryInvestmentRemainingMaturityTerm": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The remaining maturity of the treasury investments included in debt investments.",
        "label": "Treasury Investment Remaining Maturity Term",
        "terseLabel": "Treasury investment remaining maturity term"
       }
      }
     },
     "localname": "TreasuryInvestmentRemainingMaturityTerm",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesVariousDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "baba_TreasuryStockIssuedCertainEquityInvestmentPlansForManagementShare": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of treasury shares or units issued for the purpose of certain equity investment plans for management.",
        "label": "Treasury Stock Issued, Certain Equity Investment Plans for Management, Share",
        "terseLabel": "Number of ordinary shares included in treasury shares account"
       }
      }
     },
     "localname": "TreasuryStockIssuedCertainEquityInvestmentPlansForManagementShare",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesOthersDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "baba_USD1500MillionFixedRateNotesDue2021Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fixed Rate Note, in the amount of USD 1,500 million, denominated in US dollars, due 2021.",
        "label": "U S D1500 Million Fixed Rate Notes Due2021 [Member]",
        "terseLabel": "US$1,500 million 3.125% notes due 2021"
       }
      }
     },
     "localname": "USD1500MillionFixedRateNotesDue2021Member",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureUnsecuredSeniorNotesGeneralDetails3"
     ],
     "xbrltype": "domainItemType"
    },
    "baba_USD2250MillionFixedRateNotesDue2024Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fixed Rate Note, in the amount of USD 2,250 million, denominated in US dollars, due 2024.",
        "label": "U S D2250 Million Fixed Rate Notes Due2024 [Member]",
        "terseLabel": "US$2,250 million 3.600% notes due 2024"
       }
      }
     },
     "localname": "USD2250MillionFixedRateNotesDue2024Member",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureUnsecuredSeniorNotesGeneralDetails3"
     ],
     "xbrltype": "domainItemType"
    },
    "baba_USD4.0BillionSyndicatedLoanMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The 4.0 billion facility, denominated in US dollars, syndicated with certain banks.",
        "label": "U S D4.0 Billion Syndicated Loan [Member]",
        "terseLabel": "US$4.0 billion syndicated loan denominated in US$"
       }
      }
     },
     "localname": "USD4.0BillionSyndicatedLoanMember",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureBankBorrowingsGeneralDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "baba_UnrealizedGainLossEquityInterestOptionToAcquire": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Unrealized gain/(loss) relating to option the Company may elect to acquire equity interest.",
        "label": "Unrealized Gain/(Loss), Equity Interest, Option to Acquire",
        "negatedLabel": "Losses relating to options"
       }
      }
     },
     "localname": "UnrealizedGainLossEquityInterestOptionToAcquire",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsEquityInvestmentsAndOthersDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "baba_UnrecordedUnconditionalPurchaseObligationDueInTwoToFiveYears": {
     "auth_ref": [],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureCommitmentsCapitalCommitmentsDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_UnrecordedUnconditionalPurchaseObligationBalanceSheetAmount",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of the fixed and determinable portion of the unrecorded unconditional purchase obligation maturing in the second through fifth fiscal years following the latest fiscal year.",
        "label": "Unrecorded Unconditional Purchase Obligation Due in Two To Five Years",
        "terseLabel": "Later than 1 year and no later than 5 years"
       }
      }
     },
     "localname": "UnrecordedUnconditionalPurchaseObligationDueInTwoToFiveYears",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureCommitmentsCapitalCommitmentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "baba_Usd1000MillionFixedRateNotesDue2037Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fixed Rate Note, in the amount of USD 1,000 million, denominated in US dollars, due 2037.",
        "label": "Usd1000 Million Fixed Rate Notes Due2037 [Member]",
        "terseLabel": "US$1,000 million 4.000% notes due 2037"
       }
      }
     },
     "localname": "Usd1000MillionFixedRateNotesDue2037Member",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureUnsecuredSeniorNotesGeneralDetails3"
     ],
     "xbrltype": "domainItemType"
    },
    "baba_Usd1000MillionFixedRateNotesDue2041Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fixed Rate Note, in the amount of USD 1,000 million, denominated in US dollars, due 2041.",
        "label": "Usd1000 Million Fixed Rate Notes Due2041 [Member]",
        "terseLabel": "US$1,000 million 2.700% notes due 2041"
       }
      }
     },
     "localname": "Usd1000MillionFixedRateNotesDue2041Member",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureUnsecuredSeniorNotesGeneralDetails3"
     ],
     "xbrltype": "domainItemType"
    },
    "baba_Usd1000MillionFixedRateNotesDue2057Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fixed Rate Note, in the amount of USD 1,000 million, denominated in US dollars, due 2057.",
        "label": "Usd1000 Million Fixed Rate Notes Due2057 [Member]",
        "terseLabel": "US$1,000 million 4.400% notes due 2057"
       }
      }
     },
     "localname": "Usd1000MillionFixedRateNotesDue2057Member",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureUnsecuredSeniorNotesGeneralDetails3"
     ],
     "xbrltype": "domainItemType"
    },
    "baba_Usd1000MillionFixedRateNotesDue2061Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fixed Rate Note, in the amount of USD 1,000 million, denominated in US dollars, due 2061.",
        "label": "Usd1000 Million Fixed Rate Notes Due2061 [Member]",
        "terseLabel": "US$1,000 million 3.250% notes due 2061"
       }
      }
     },
     "localname": "Usd1000MillionFixedRateNotesDue2061Member",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureUnsecuredSeniorNotesGeneralDetails3"
     ],
     "xbrltype": "domainItemType"
    },
    "baba_Usd1500MillionFixedRateNotesDue2031Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fixed Rate Note, in the amount of USD 1,500 million, denominated in US dollars, due 2031.",
        "label": "Usd1500 Million Fixed Rate Notes Due2031 [Member]",
        "terseLabel": "US$1,500 million 2.125% notes due 2031"
       }
      }
     },
     "localname": "Usd1500MillionFixedRateNotesDue2031Member",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureUnsecuredSeniorNotesGeneralDetails3"
     ],
     "xbrltype": "domainItemType"
    },
    "baba_Usd1500MillionFixedRateNotesDue2051Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fixed Rate Note, in the amount of USD 1,500 million, denominated in US dollars, due 2051.",
        "label": "Usd1500 Million Fixed Rate Notes Due2051 [Member]",
        "terseLabel": "US$1,500 million 3.150% notes due 2051"
       }
      }
     },
     "localname": "Usd1500MillionFixedRateNotesDue2051Member",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureUnsecuredSeniorNotesGeneralDetails3"
     ],
     "xbrltype": "domainItemType"
    },
    "baba_Usd1750MillionFixedRateNotesDue2047Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fixed Rate Note, in the amount of USD 1,750 million, denominated in US dollars, due 2047.",
        "label": "Usd1750 Million Fixed Rate Notes Due2047 [Member]",
        "terseLabel": "US$1,750 million 4.200% notes due 2047"
       }
      }
     },
     "localname": "Usd1750MillionFixedRateNotesDue2047Member",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureUnsecuredSeniorNotesGeneralDetails3"
     ],
     "xbrltype": "domainItemType"
    },
    "baba_Usd2550MillionFixedRateNotesDue2027Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fixed Rate Note, in the amount of USD 2,550 million, denominated in US dollars, due 2027.",
        "label": "Usd2550 Million Fixed Rate Notes Due2027 [Member]",
        "terseLabel": "US$2,550 million 3.400% notes due 2027"
       }
      }
     },
     "localname": "Usd2550MillionFixedRateNotesDue2027Member",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureUnsecuredSeniorNotesGeneralDetails3"
     ],
     "xbrltype": "domainItemType"
    },
    "baba_Usd5.15BillionLoanFacilityAgreementMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The US$5.15 billion revolving credit facility with certain financial institutions entered in April 2017.",
        "label": "Usd5.15 Billion Loan Facility Agreement [Member]",
        "terseLabel": "US$5.15 billion revolving credit facility agreement"
       }
      }
     },
     "localname": "Usd5.15BillionLoanFacilityAgreementMember",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureBankBorrowingsGeneralDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "baba_Usd6.5BillionLoanFacilityAgreementMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The US$6.5 billion revolving credit facility with certain financial institutions originally entered in April 2017 and amended in June 2021.",
        "label": "Usd6.5 Billion Loan Facility Agreement [Member]",
        "terseLabel": "USD6.5 billion revolving credit facility agreement"
       }
      }
     },
     "localname": "Usd6.5BillionLoanFacilityAgreementMember",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureBankBorrowingsGeneralDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "baba_Usd700MillionFixedRateNotesDue2023Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fixed Rate Note, in the amount of USD 700 million, denominated in US dollars, due 2023.",
        "label": "Usd700 Million Fixed Rate Notes Due2023 [Member]",
        "terseLabel": "US$700 million 2.800% notes due 2023"
       }
      }
     },
     "localname": "Usd700MillionFixedRateNotesDue2023Member",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureUnsecuredSeniorNotesGeneralDetails3"
     ],
     "xbrltype": "domainItemType"
    },
    "baba_Usd700MillionFixedRateNotesDue2034Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fixed Rate Note, in the amount of USD 700 million, denominated in US dollars, due 2034.",
        "label": "Usd700 Million Fixed Rate Notes Due2034 [Member]",
        "terseLabel": "US$700 million 4.500% notes due 2034"
       }
      }
     },
     "localname": "Usd700MillionFixedRateNotesDue2034Member",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureUnsecuredSeniorNotesGeneralDetails3"
     ],
     "xbrltype": "domainItemType"
    },
    "baba_VariousArrangementsToAcquireEquityInvestmentsAndBusinessCombinationsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the information pertaining to business combinations and equity investments under various arrangements.",
        "label": "Various Arrangements To Acquire Equity Investments And Business Combinations [Member]",
        "terseLabel": "Business combinations and equity investments under various arrangements"
       }
      }
     },
     "localname": "VariousArrangementsToAcquireEquityInvestmentsAndBusinessCombinationsMember",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureCommitmentsInvestmentCommitmentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "baba_WealthManagementProductsFairValueDisclosure": {
     "auth_ref": [],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureFairValueMeasurementDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_AssetsFairValueDisclosure",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value portion of wealth management products.",
        "label": "Wealth Management Products, Fair Value Disclosure",
        "terseLabel": "Wealth management products"
       }
      }
     },
     "localname": "WealthManagementProductsFairValueDisclosure",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureFairValueMeasurementDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "baba_WholesaleMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "China commerce wholesale is primarily generated from 1688.com and includes fees from memberships and value added services and revenue from customer management. And international commerce wholesale is primarily generated from Alibaba.com and includes fees from memberships and value added services and revenue from customer management.",
        "label": "Wholesale [Member]",
        "terseLabel": "Wholesale"
       }
      }
     },
     "localname": "WholesaleMember",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureRevenueBreakdownBySegmentDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "baba_WithholdingIncomeTaxRateOnDividendsDeclaredByPRCCompaniesToForeignInvestors": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the withholding income tax rate imposed under the income law, on dividends declared by PRC companies to its foreign investors.",
        "label": "Withholding Income Tax Rate on Dividends Declared by P R C Companies to Foreign Investors",
        "terseLabel": "Withholding income tax rate on dividends declared by PRC companies to their foreign investors (as a percent)"
       }
      }
     },
     "localname": "WithholdingIncomeTaxRateOnDividendsDeclaredByPRCCompaniesToForeignInvestors",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureIncomeTaxExpensesGeneralDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "baba_WithholdingIncomeTaxRateOnDividendsDeclaredByPRCCompaniesToForeignInvestorsMeetingCertainCriteria": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the lower withholding income tax rate imposed under the income law, on dividends declared by PRC companies to its foreign investors if direct foreign investors with at least 25% equity interest in the PRC company are incorporated in Hong Kong and meet the conditions or requirements pursuant to the tax arrangement between mainland China and Hong Kong S.A.R.",
        "label": "Withholding Income Tax Rate on Dividends Declared by P R C Companies to Foreign Investors Meeting Certain Criteria",
        "terseLabel": "Lower withholding income tax rate on dividends declared by PRC companies to foreign investors with certain criteria met (as a percent)"
       }
      }
     },
     "localname": "WithholdingIncomeTaxRateOnDividendsDeclaredByPRCCompaniesToForeignInvestorsMeetingCertainCriteria",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureIncomeTaxExpensesGeneralDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "baba_WithholdingTaxOnDividendsPayment": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the withholding tax rate on dividends payment to shareholders.",
        "label": "Withholding Tax on Dividends Payment",
        "terseLabel": "Withholding tax to be imposed upon payments of dividends to shareholders (as a percent)"
       }
      }
     },
     "localname": "WithholdingTaxOnDividendsPayment",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureIncomeTaxExpensesGeneralDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "baba_YtoExpressGroupCo.LtdMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to YTO Express Group Co., Ltd.",
        "label": "Yto Express Group Co. Ltd [Member]",
        "terseLabel": "YTO Express Group Co., Ltd"
       }
      }
     },
     "localname": "YtoExpressGroupCo.LtdMember",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsEquityInvestmentsAndOthersDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "baba_ZhejiangTmallTechnologyCoLtdMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents Zhejiang Tmall Technology Co. Ltd. (\"Tmall China\"), , a subsidiary entity of the Company, primarily engaged in the operations of Tmall.",
        "label": "Zhejiang Tmall Technology Co Ltd [Member]",
        "terseLabel": "Tmall China"
       }
      }
     },
     "localname": "ZhejiangTmallTechnologyCoLtdMember",
     "nsuri": "http://www.alibabagroup.com/20230331",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureIncomeTaxExpensesGeneralDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "country_CN": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "CHINA",
        "terseLabel": "PRC"
       }
      }
     },
     "localname": "CN",
     "nsuri": "http://xbrl.sec.gov/country/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureIncomeTaxExpensesCompositionOfDeferredTaxAssetsAndLiabilitiesDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureIncomeTaxExpensesGeneralDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureIncomeTaxExpensesReconciliationsDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesOthersDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "country_HK": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "HONG KONG",
        "terseLabel": "Hong Kong"
       }
      }
     },
     "localname": "HK",
     "nsuri": "http://xbrl.sec.gov/country/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureIncomeTaxExpensesCompositionOfDeferredTaxAssetsAndLiabilitiesDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureIncomeTaxExpensesGeneralDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "country_ID": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "INDONESIA",
        "terseLabel": "Indonesia"
       }
      }
     },
     "localname": "ID",
     "nsuri": "http://xbrl.sec.gov/country/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureIncomeTaxExpensesCompositionOfDeferredTaxAssetsAndLiabilitiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "country_KY": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "CAYMAN ISLANDS",
        "terseLabel": "Cayman Islands"
       }
      }
     },
     "localname": "KY",
     "nsuri": "http://xbrl.sec.gov/country/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureIncomeTaxExpensesGeneralDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "country_SG": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "SINGAPORE",
        "terseLabel": "Singapore"
       }
      }
     },
     "localname": "SG",
     "nsuri": "http://xbrl.sec.gov/country/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureIncomeTaxExpensesCompositionOfDeferredTaxAssetsAndLiabilitiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "dei_AddressTypeDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "An entity may have several addresses for different purposes and this domain represents all such types.",
        "label": "Address Type [Domain]"
       }
      }
     },
     "localname": "AddressTypeDomain",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "domainItemType"
    },
    "dei_AdrMember": {
     "auth_ref": [
      "r878"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "American Depositary Receipt (or American Depositary Share, ADS).",
        "label": "ADR [Member]",
        "terseLabel": "American Depositary Shares (\"ADSs\")"
       }
      }
     },
     "localname": "AdrMember",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureIncomeTaxExpensesReconciliationsDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesBasisOfPresentationDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "domainItemType"
    },
    "dei_AmendmentFlag": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Boolean flag that is true when the XBRL content amends previously-filed or accepted submission.",
        "label": "Amendment Flag"
       }
      }
     },
     "localname": "AmendmentFlag",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_AuditorFirmId": {
     "auth_ref": [
      "r879",
      "r880",
      "r881"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "PCAOB issued Audit Firm Identifier",
        "label": "Auditor Firm ID"
       }
      }
     },
     "localname": "AuditorFirmId",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "nonemptySequenceNumberItemType"
    },
    "dei_AuditorLocation": {
     "auth_ref": [
      "r879",
      "r880",
      "r881"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Auditor Location"
       }
      }
     },
     "localname": "AuditorLocation",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "internationalNameItemType"
    },
    "dei_AuditorName": {
     "auth_ref": [
      "r879",
      "r880",
      "r881"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Auditor Name"
       }
      }
     },
     "localname": "AuditorName",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "internationalNameItemType"
    },
    "dei_BusinessContactMember": {
     "auth_ref": [
      "r880",
      "r881"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Business contact for the entity",
        "label": "Business Contact [Member]",
        "terseLabel": "Business contact"
       }
      }
     },
     "localname": "BusinessContactMember",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "domainItemType"
    },
    "dei_CityAreaCode": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Area code of city",
        "label": "City Area Code"
       }
      }
     },
     "localname": "CityAreaCode",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_ContactPersonnelFaxNumber": {
     "auth_ref": [
      "r880"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fax Number of contact personnel.",
        "label": "Contact Personnel Fax Number"
       }
      }
     },
     "localname": "ContactPersonnelFaxNumber",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_ContactPersonnelName": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Name of contact personnel",
        "label": "Contact Personnel Name"
       }
      }
     },
     "localname": "ContactPersonnelName",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_CoverAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Cover page.",
        "label": "Cover [Abstract]"
       }
      }
     },
     "localname": "CoverAbstract",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "xbrltype": "stringItemType"
    },
    "dei_CurrentFiscalYearEndDate": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "End date of current fiscal year in the format --MM-DD.",
        "label": "Current Fiscal Year End Date"
       }
      }
     },
     "localname": "CurrentFiscalYearEndDate",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "gMonthDayItemType"
    },
    "dei_DocumentAccountingStandard": {
     "auth_ref": [
      "r880"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The basis of accounting the registrant has used to prepare the financial statements included in this filing This can either be 'U.S. GAAP', 'International Financial Reporting Standards', or 'Other'.",
        "label": "Document Accounting Standard"
       }
      }
     },
     "localname": "DocumentAccountingStandard",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "accountingStandardItemType"
    },
    "dei_DocumentAnnualReport": {
     "auth_ref": [
      "r879",
      "r880",
      "r881"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Boolean flag that is true only for a form used as an annual report.",
        "label": "Document Annual Report"
       }
      }
     },
     "localname": "DocumentAnnualReport",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_DocumentFiscalPeriodFocus": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fiscal period values are FY, Q1, Q2, and Q3.  1st, 2nd and 3rd quarter 10-Q or 10-QT statements have value Q1, Q2, and Q3 respectively, with 10-K, 10-KT or other fiscal year statements having FY.",
        "label": "Document Fiscal Period Focus"
       }
      }
     },
     "localname": "DocumentFiscalPeriodFocus",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "fiscalPeriodItemType"
    },
    "dei_DocumentFiscalYearFocus": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This is focus fiscal year of the document report in YYYY format. For a 2006 annual report, which may also provide financial information from prior periods, fiscal 2006 should be given as the fiscal year focus. Example: 2006.",
        "label": "Document Fiscal Year Focus"
       }
      }
     },
     "localname": "DocumentFiscalYearFocus",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "gYearItemType"
    },
    "dei_DocumentInformationLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "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.",
        "label": "Document Information [Line Items]"
       }
      }
     },
     "localname": "DocumentInformationLineItems",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "stringItemType"
    },
    "dei_DocumentInformationTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Container to support the formal attachment of each official or unofficial, public or private document as part of a submission package.",
        "label": "Document Information [Table]"
       }
      }
     },
     "localname": "DocumentInformationTable",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "stringItemType"
    },
    "dei_DocumentPeriodEndDate": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "For the EDGAR submission types of Form 8-K: the date of the report, the date of the earliest event reported; for the EDGAR submission types of Form N-1A: the filing date; for all other submission types: the end of the reporting or transition period.  The format of the date is YYYY-MM-DD.",
        "label": "Document Period End Date"
       }
      }
     },
     "localname": "DocumentPeriodEndDate",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "dateItemType"
    },
    "dei_DocumentRegistrationStatement": {
     "auth_ref": [
      "r874"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Boolean flag that is true only for a form used as a registration statement.",
        "label": "Document Registration Statement"
       }
      }
     },
     "localname": "DocumentRegistrationStatement",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_DocumentShellCompanyReport": {
     "auth_ref": [
      "r880"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Boolean flag that is true for a Shell Company Report pursuant to section 13 or 15(d) of the Exchange Act.",
        "label": "Document Shell Company Report"
       }
      }
     },
     "localname": "DocumentShellCompanyReport",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_DocumentTransitionReport": {
     "auth_ref": [
      "r882"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Boolean flag that is true only for a form used as a transition report.",
        "label": "Document Transition Report"
       }
      }
     },
     "localname": "DocumentTransitionReport",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_DocumentType": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The type of document being provided (such as 10-K, 10-Q, 485BPOS, etc). The document type is limited to the same value as the supporting SEC submission type, or the word 'Other'.",
        "label": "Document Type"
       }
      }
     },
     "localname": "DocumentType",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "submissionTypeItemType"
    },
    "dei_EntityAddressAddressLine1": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Address Line 1 such as Attn, Building Name, Street Name",
        "label": "Entity Address, Address Line One"
       }
      }
     },
     "localname": "EntityAddressAddressLine1",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_EntityAddressAddressLine2": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Address Line 2 such as Street or Suite number",
        "label": "Entity Address, Address Line Two"
       }
      }
     },
     "localname": "EntityAddressAddressLine2",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_EntityAddressAddressLine3": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Address Line 3 such as an Office Park",
        "label": "Entity Address, Address Line Three"
       }
      }
     },
     "localname": "EntityAddressAddressLine3",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_EntityAddressCityOrTown": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Name of the City or Town",
        "label": "Entity Address, City or Town"
       }
      }
     },
     "localname": "EntityAddressCityOrTown",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_EntityAddressCountry": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "ISO 3166-1 alpha-2 country code.",
        "label": "Entity Address, Country"
       }
      }
     },
     "localname": "EntityAddressCountry",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "countryCodeItemType"
    },
    "dei_EntityAddressPostalZipCode": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Code for the postal or zip code",
        "label": "Entity Address, Postal Zip Code"
       }
      }
     },
     "localname": "EntityAddressPostalZipCode",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_EntityAddressesAddressTypeAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The axis of a table defines the relationship between the domain members or categories in the table and the line items or concepts that complete the table.",
        "label": "Entity Addresses, Address Type [Axis]"
       }
      }
     },
     "localname": "EntityAddressesAddressTypeAxis",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "stringItemType"
    },
    "dei_EntityCentralIndexKey": {
     "auth_ref": [
      "r876"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A unique 10-digit SEC-issued value to identify entities that have filed disclosures with the SEC. It is commonly abbreviated as CIK.",
        "label": "Entity Central Index Key"
       }
      }
     },
     "localname": "EntityCentralIndexKey",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "centralIndexKeyItemType"
    },
    "dei_EntityCommonStockSharesOutstanding": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicate number of shares or other units outstanding of each of registrant's classes of capital or common stock or other ownership interests, if and as stated on cover of related periodic report. Where multiple classes or units exist define each class/interest by adding class of stock items such as Common Class A [Member], Common Class B [Member] or Partnership Interest [Member] onto the Instrument [Domain] of the Entity Listings, Instrument.",
        "label": "Entity Common Stock, Shares Outstanding"
       }
      }
     },
     "localname": "EntityCommonStockSharesOutstanding",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "sharesItemType"
    },
    "dei_EntityCurrentReportingStatus": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicate 'Yes' or 'No' whether registrants (1) have filed all reports required to be filed by Section 13 or 15(d) of the Securities Exchange Act of 1934 during the preceding 12 months (or for such shorter period that registrants were required to file such reports), and (2) have been subject to such filing requirements for the past 90 days. This information should be based on the registrant's current or most recent filing containing the related disclosure.",
        "label": "Entity Current Reporting Status"
       }
      }
     },
     "localname": "EntityCurrentReportingStatus",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "yesNoItemType"
    },
    "dei_EntityDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "All the names of the entities being reported upon in a document. Any legal structure used to conduct activities or to hold assets. Some examples of such structures are corporations, partnerships, limited liability companies, grantor trusts, and other trusts. This item does not include business and geographical segments which are included in the geographical or business segments domains.",
        "label": "Entity [Domain]"
       }
      }
     },
     "localname": "EntityDomain",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureIncomeTaxExpensesGeneralDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureRisksAndContingenciesDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsSunArtDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "dei_EntityEmergingGrowthCompany": {
     "auth_ref": [
      "r876"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicate if registrant meets the emerging growth company criteria.",
        "label": "Entity Emerging Growth Company"
       }
      }
     },
     "localname": "EntityEmergingGrowthCompany",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_EntityFileNumber": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Commission file number. The field allows up to 17 characters. The prefix may contain 1-3 digits, the sequence number may contain 1-8 digits, the optional suffix may contain 1-4 characters, and the fields are separated with a hyphen.",
        "label": "Securities Act File Number"
       }
      }
     },
     "localname": "EntityFileNumber",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "fileNumberItemType"
    },
    "dei_EntityFilerCategory": {
     "auth_ref": [
      "r876"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicate whether the registrant is one of the following: Large Accelerated Filer, Accelerated Filer, Non-accelerated Filer. Definitions of these categories are stated in Rule 12b-2 of the Exchange Act. This information should be based on the registrant's current or most recent filing containing the related disclosure.",
        "label": "Entity Filer Category"
       }
      }
     },
     "localname": "EntityFilerCategory",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "filerCategoryItemType"
    },
    "dei_EntityIncorporationStateCountryCode": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Two-character EDGAR code representing the state or country of incorporation.",
        "label": "Entity Incorporation, State or Country Code"
       }
      }
     },
     "localname": "EntityIncorporationStateCountryCode",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "edgarStateCountryItemType"
    },
    "dei_EntityInteractiveDataCurrent": {
     "auth_ref": [
      "r883"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Boolean flag that is true when the registrant has submitted electronically every Interactive Data File required to be submitted pursuant to Rule 405 of Regulation S-T during the preceding 12 months (or for such shorter period that the registrant was required to submit such files).",
        "label": "Entity Interactive Data Current"
       }
      }
     },
     "localname": "EntityInteractiveDataCurrent",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "yesNoItemType"
    },
    "dei_EntityListingDepositoryReceiptRatio": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of underlying shares represented by one American Depository Receipt (ADR) or Global Depository Receipt (GDR). A value of '3' means that one ADR represents 3 underlying shares. If one underlying share represents 2 ADR's then the value would be represented as '0.5'.",
        "label": "Entity Listing, Depository Receipt Ratio",
        "verboseLabel": "ADS ratio"
       }
      }
     },
     "localname": "EntityListingDepositoryReceiptRatio",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureEarningsPerShareAdsDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSharebasedAwardsGeneralDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedIncomeStatementsParenthetical"
     ],
     "xbrltype": "pureItemType"
    },
    "dei_EntityRegistrantName": {
     "auth_ref": [
      "r876"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The exact name of the entity filing the report as specified in its charter, which is required by forms filed with the SEC.",
        "label": "Entity Registrant Name"
       }
      }
     },
     "localname": "EntityRegistrantName",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_EntityShellCompany": {
     "auth_ref": [
      "r876"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Boolean flag that is true when the registrant is a shell company as defined in Rule 12b-2 of the Exchange Act.",
        "label": "Entity Shell Company"
       }
      }
     },
     "localname": "EntityShellCompany",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_EntityVoluntaryFilers": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicate 'Yes' or 'No' if the registrant is not required to file reports pursuant to Section 13 or Section 15(d) of the Act.",
        "label": "Entity Voluntary Filers"
       }
      }
     },
     "localname": "EntityVoluntaryFilers",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "yesNoItemType"
    },
    "dei_EntityWellKnownSeasonedIssuer": {
     "auth_ref": [
      "r884"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicate 'Yes' or 'No' if the registrant is a well-known seasoned issuer, as defined in Rule 405 of the Securities Act. Is used on Form Type: 10-K, 10-Q, 8-K, 20-F, 6-K, 10-K/A, 10-Q/A, 20-F/A, 6-K/A, N-CSR, N-Q, N-1A.",
        "label": "Entity Well-known Seasoned Issuer"
       }
      }
     },
     "localname": "EntityWellKnownSeasonedIssuer",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "yesNoItemType"
    },
    "dei_IcfrAuditorAttestationFlag": {
     "auth_ref": [
      "r879",
      "r880",
      "r881"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "ICFR Auditor Attestation Flag"
       }
      }
     },
     "localname": "IcfrAuditorAttestationFlag",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_LegalEntityAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The set of legal entities associated with a report.",
        "label": "Legal Entity [Axis]"
       }
      }
     },
     "localname": "LegalEntityAxis",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureIncomeTaxExpensesGeneralDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureRisksAndContingenciesDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsSunArtDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "dei_LocalPhoneNumber": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Local phone number for entity.",
        "label": "Local Phone Number"
       }
      }
     },
     "localname": "LocalPhoneNumber",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_Security12bTitle": {
     "auth_ref": [
      "r875"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Title of a 12(b) registered security.",
        "label": "Title of 12(b) Security"
       }
      }
     },
     "localname": "Security12bTitle",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "securityTitleItemType"
    },
    "dei_SecurityExchangeName": {
     "auth_ref": [
      "r877"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Name of the Exchange on which a security is registered.",
        "label": "Security Exchange Name"
       }
      }
     },
     "localname": "SecurityExchangeName",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "edgarExchangeCodeItemType"
    },
    "dei_TradingSymbol": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Trading symbol of an instrument as listed on an exchange.",
        "label": "Trading Symbol"
       }
      }
     },
     "localname": "TradingSymbol",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "tradingSymbolItemType"
    },
    "srt_ConsolidatedEntitiesAxis": {
     "auth_ref": [
      "r318",
      "r636",
      "r637",
      "r640",
      "r641",
      "r733",
      "r835",
      "r937",
      "r940",
      "r941"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Consolidated Entities [Axis]"
       }
      }
     },
     "localname": "ConsolidatedEntitiesAxis",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesConsolidationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_ConsolidatedEntitiesDomain": {
     "auth_ref": [
      "r318",
      "r636",
      "r637",
      "r640",
      "r641",
      "r733",
      "r835",
      "r937",
      "r940",
      "r941"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Consolidated Entities [Domain]"
       }
      }
     },
     "localname": "ConsolidatedEntitiesDomain",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesConsolidationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_ConsolidationItemsAxis": {
     "auth_ref": [
      "r318",
      "r372",
      "r389",
      "r390",
      "r391",
      "r392",
      "r393",
      "r395",
      "r398",
      "r481",
      "r482",
      "r483",
      "r484",
      "r486",
      "r487",
      "r489",
      "r491",
      "r492",
      "r938",
      "r939"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Consolidation Items [Axis]"
       }
      }
     },
     "localname": "ConsolidationItemsAxis",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSegmentInformationConsolidatedDepreciationAndImpairmentOfPropertyAndEquipmentAndOperatingLeaseCostRelatingToLandUseRightsBySegmentsAndOthersDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSegmentInformationReconciliationFromAdjustedEbitaToConsolidatedNetIncomeDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSegmentInformationSegmentEbitaAndSegmentEbitdaDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_ConsolidationItemsDomain": {
     "auth_ref": [
      "r318",
      "r372",
      "r389",
      "r390",
      "r391",
      "r392",
      "r393",
      "r395",
      "r398",
      "r481",
      "r482",
      "r483",
      "r484",
      "r486",
      "r487",
      "r489",
      "r491",
      "r492",
      "r938",
      "r939"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Consolidation Items [Domain]"
       }
      }
     },
     "localname": "ConsolidationItemsDomain",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSegmentInformationConsolidatedDepreciationAndImpairmentOfPropertyAndEquipmentAndOperatingLeaseCostRelatingToLandUseRightsBySegmentsAndOthersDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSegmentInformationReconciliationFromAdjustedEbitaToConsolidatedNetIncomeDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSegmentInformationSegmentEbitaAndSegmentEbitdaDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_EquityMethodInvesteeNameDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investment, Name [Domain]"
       }
      }
     },
     "localname": "EquityMethodInvesteeNameDomain",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureIncomeTaxExpensesCompositionOfDeferredTaxAssetsAndLiabilitiesDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureIncomeTaxExpensesReconciliationsDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureInvestmentsInEquityMethodInvesteesAdditionalDetailsDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosurePrepaymentsReceivablesAndOtherAssetsDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureRelatedPartyTransactionsTransactionsWithRelatedPartiesDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsEquityInvestmentsAndOthersDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsSunArtDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_MaximumMember": {
     "auth_ref": [
      "r477",
      "r478",
      "r479",
      "r480",
      "r547",
      "r769",
      "r807",
      "r836",
      "r837",
      "r856",
      "r864",
      "r873",
      "r942",
      "r987",
      "r988",
      "r989",
      "r990",
      "r991",
      "r992"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Maximum [Member]",
        "terseLabel": "Maximum"
       }
      }
     },
     "localname": "MaximumMember",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureBankBorrowingsGeneralDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureCommitmentsInvestmentCommitmentsDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureLeasesDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureRelatedPartyTransactionsTransactionsWithRelatedPartiesDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSharebasedAwardsGeneralDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSharebasedAwardsRsusDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSharebasedAwardsShareOptionsDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsEquityInvestmentsAndOthersDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsSunArtDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesLongLivedAssetsDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesOthersDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesVariousDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_MinimumMember": {
     "auth_ref": [
      "r477",
      "r478",
      "r479",
      "r480",
      "r547",
      "r769",
      "r807",
      "r836",
      "r837",
      "r856",
      "r864",
      "r873",
      "r942",
      "r987",
      "r988",
      "r989",
      "r990",
      "r991",
      "r992"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Minimum [Member]",
        "terseLabel": "Minimum"
       }
      }
     },
     "localname": "MinimumMember",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureBankBorrowingsGeneralDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureCommitmentsOtherCommitmentsDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSharebasedAwardsShareOptionsDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsEquityInvestmentsAndOthersDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesLongLivedAssetsDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesOthersDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesVariousDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_OwnershipAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Ownership [Axis]"
       }
      }
     },
     "localname": "OwnershipAxis",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsSunArtDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_OwnershipDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Ownership [Domain]"
       }
      }
     },
     "localname": "OwnershipDomain",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsSunArtDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_ProductOrServiceAxis": {
     "auth_ref": [
      "r399",
      "r771",
      "r857",
      "r871",
      "r935",
      "r936",
      "r944",
      "r996"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Product and Service [Axis]"
       }
      }
     },
     "localname": "ProductOrServiceAxis",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureRevenueBreakdownBySegmentDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureRevenueByTypeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_ProductsAndServicesDomain": {
     "auth_ref": [
      "r399",
      "r771",
      "r857",
      "r871",
      "r935",
      "r936",
      "r944",
      "r996"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Product and Service [Domain]"
       }
      }
     },
     "localname": "ProductsAndServicesDomain",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureRevenueBreakdownBySegmentDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureRevenueByTypeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_RangeAxis": {
     "auth_ref": [
      "r477",
      "r478",
      "r479",
      "r480",
      "r538",
      "r547",
      "r579",
      "r580",
      "r581",
      "r742",
      "r769",
      "r807",
      "r836",
      "r837",
      "r856",
      "r864",
      "r873",
      "r929",
      "r942",
      "r988",
      "r989",
      "r990",
      "r991",
      "r992"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Statistical Measurement [Axis]"
       }
      }
     },
     "localname": "RangeAxis",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureBankBorrowingsGeneralDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureCommitmentsInvestmentCommitmentsDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureCommitmentsOtherCommitmentsDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureLeasesDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureRelatedPartyTransactionsTransactionsWithRelatedPartiesDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSharebasedAwardsGeneralDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSharebasedAwardsRsusDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSharebasedAwardsShareOptionsDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsEquityInvestmentsAndOthersDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsSunArtDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesLongLivedAssetsDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesOthersDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesVariousDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_RangeMember": {
     "auth_ref": [
      "r477",
      "r478",
      "r479",
      "r480",
      "r538",
      "r547",
      "r579",
      "r580",
      "r581",
      "r742",
      "r769",
      "r807",
      "r836",
      "r837",
      "r856",
      "r864",
      "r873",
      "r929",
      "r942",
      "r988",
      "r989",
      "r990",
      "r991",
      "r992"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Statistical Measurement [Domain]"
       }
      }
     },
     "localname": "RangeMember",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureBankBorrowingsGeneralDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureCommitmentsInvestmentCommitmentsDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureCommitmentsOtherCommitmentsDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureLeasesDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureRelatedPartyTransactionsTransactionsWithRelatedPartiesDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSharebasedAwardsGeneralDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSharebasedAwardsRsusDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSharebasedAwardsShareOptionsDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsEquityInvestmentsAndOthersDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsSunArtDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesLongLivedAssetsDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesOthersDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesVariousDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_ScenarioForecastMember": {
     "auth_ref": [
      "r548",
      "r906"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Forecast [Member]",
        "terseLabel": "Scenario Forecast"
       }
      }
     },
     "localname": "ScenarioForecastMember",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureBankBorrowingsGeneralDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_ScenarioUnspecifiedDomain": {
     "auth_ref": [
      "r337",
      "r548",
      "r886",
      "r906"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Scenario [Domain]"
       }
      }
     },
     "localname": "ScenarioUnspecifiedDomain",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureBankBorrowingsGeneralDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis": {
     "auth_ref": [
      "r420"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investment, Name [Axis]"
       }
      }
     },
     "localname": "ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureIncomeTaxExpensesCompositionOfDeferredTaxAssetsAndLiabilitiesDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureIncomeTaxExpensesReconciliationsDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureInvestmentsInEquityMethodInvesteesAdditionalDetailsDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosurePrepaymentsReceivablesAndOtherAssetsDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureRelatedPartyTransactionsTransactionsWithRelatedPartiesDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsEquityInvestmentsAndOthersDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsSunArtDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_SegmentGeographicalDomain": {
     "auth_ref": [
      "r400",
      "r401",
      "r826",
      "r827",
      "r828",
      "r829",
      "r830",
      "r831",
      "r832",
      "r833",
      "r834",
      "r858",
      "r872",
      "r944"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Geographical [Domain]"
       }
      }
     },
     "localname": "SegmentGeographicalDomain",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureIncomeTaxExpensesCompositionOfDeferredTaxAssetsAndLiabilitiesDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureIncomeTaxExpensesGeneralDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureIncomeTaxExpensesReconciliationsDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesOthersDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_StatementGeographicalAxis": {
     "auth_ref": [
      "r400",
      "r401",
      "r821",
      "r826",
      "r827",
      "r828",
      "r829",
      "r830",
      "r831",
      "r832",
      "r833",
      "r834",
      "r858",
      "r872",
      "r944"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Geographical [Axis]"
       }
      }
     },
     "localname": "StatementGeographicalAxis",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureIncomeTaxExpensesCompositionOfDeferredTaxAssetsAndLiabilitiesDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureIncomeTaxExpensesGeneralDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureIncomeTaxExpensesReconciliationsDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesOthersDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_StatementScenarioAxis": {
     "auth_ref": [
      "r337",
      "r548",
      "r886",
      "r887",
      "r906"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Scenario [Axis]"
       }
      }
     },
     "localname": "StatementScenarioAxis",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureBankBorrowingsGeneralDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AccountingPoliciesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Accounting Policies [Abstract]"
       }
      }
     },
     "localname": "AccountingPoliciesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_AccountingStandardsUpdate201902Member": {
     "auth_ref": [
      "r773",
      "r774",
      "r775"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Accounting Standards Update 2019-02 Entertainment - Films - Other Assets - Film Costs (Subtopic 926-20) and Entertainment - Broadcasters - Intangibles - Goodwill and Other (Subtopic 920-350): Improvements to Accounting for Costs of Films and License Agreements for Program Materials (a consensus of the FASB Emerging Issues Task Force).",
        "label": "Accounting Standards Update 2019-02 [Member]",
        "terseLabel": "ASU 2019-02"
       }
      }
     },
     "localname": "AccountingStandardsUpdate201902Member",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesLongLivedAssetsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_AccountsNotesAndLoansReceivableLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "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.",
        "label": "Accounts, Notes, Loans and Financing Receivable [Line Items]",
        "terseLabel": "Due from employee additional disclosure"
       }
      }
     },
     "localname": "AccountsNotesAndLoansReceivableLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosurePrepaymentsReceivablesAndOtherAssetsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AccountsPayableAndAccruedLiabilitiesCurrent": {
     "auth_ref": [
      "r24"
     ],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureAccruedExpensesAccountsPayableAndOtherLiabilitiesDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesConsolidationDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      },
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedBalanceSheets": {
       "order": 3.0,
       "parentTag": "us-gaap_LiabilitiesCurrent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sum of the carrying values as of the balance sheet date of obligations incurred through that date and due within one year (or the operating cycle, if longer), including liabilities incurred (and for which invoices have typically been received) and payable to vendors for goods and services received, taxes, interest, rent and utilities, accrued salaries and bonuses, payroll taxes and fringe benefits.",
        "label": "Accounts Payable and Accrued Liabilities, Current",
        "terseLabel": "Accrued expenses, accounts payable and other liabilities",
        "totalLabel": "Current accrued expenses, accounts payable and other liabilities"
       }
      }
     },
     "localname": "AccountsPayableAndAccruedLiabilitiesCurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureAccruedExpensesAccountsPayableAndOtherLiabilitiesDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesConsolidationDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AccountsPayableAndAccruedLiabilitiesCurrentAndNoncurrentAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Accounts Payable and Accrued Liabilities [Abstract]"
       }
      }
     },
     "localname": "AccountsPayableAndAccruedLiabilitiesCurrentAndNoncurrentAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_AccountsPayableAndAccruedLiabilitiesDisclosureTextBlock": {
     "auth_ref": [
      "r22"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for accounts payable and accrued liabilities at the end of the reporting period.",
        "label": "Accounts Payable and Accrued Liabilities Disclosure [Text Block]",
        "terseLabel": "Accrued expenses, accounts payable and other liabilities"
       }
      }
     },
     "localname": "AccountsPayableAndAccruedLiabilitiesDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureAccruedExpensesAccountsPayableAndOtherLiabilities"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_AccountsPayableAndAccruedLiabilitiesNoncurrentAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Accounts Payable and Accrued Liabilities, Noncurrent [Abstract]",
        "terseLabel": "Non-current:"
       }
      }
     },
     "localname": "AccountsPayableAndAccruedLiabilitiesNoncurrentAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureAccruedExpensesAccountsPayableAndOtherLiabilitiesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AccountsPayableAndOtherAccruedLiabilitiesCurrent": {
     "auth_ref": [],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureAccruedExpensesAccountsPayableAndOtherLiabilitiesDetails": {
       "order": 11.0,
       "parentTag": "us-gaap_AccountsPayableAndAccruedLiabilitiesCurrent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of liabilities incurred to vendors for goods and services received, and accrued liabilities classified as other, payable within one year or the normal operating cycle, if longer.",
        "label": "Accounts Payable and Other Accrued Liabilities, Current",
        "terseLabel": "Others"
       }
      }
     },
     "localname": "AccountsPayableAndOtherAccruedLiabilitiesCurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureAccruedExpensesAccountsPayableAndOtherLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AccountsReceivableNetCurrent": {
     "auth_ref": [
      "r403",
      "r404"
     ],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosurePrepaymentsReceivablesAndOtherAssetsDetails": {
       "order": 0.0,
       "parentTag": "baba_PrepaidExpenseReceivablesAndOtherAssetsCurrent",
       "weight": 1.0
      },
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesConsolidationDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after allowance for credit loss, of right to consideration from customer for product sold and service rendered in normal course of business, classified as current.",
        "label": "Accounts Receivable, after Allowance for Credit Loss, Current",
        "terseLabel": "Accounts receivable, net of allowance",
        "totalLabel": "Accounts Receivable, after Allowance for Credit Loss, Current, Total"
       }
      }
     },
     "localname": "AccountsReceivableNetCurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosurePrepaymentsReceivablesAndOtherAssetsDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesConsolidationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AccountsReceivableNetCurrentAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Accounts Receivable, after Allowance for Credit Loss, Current [Abstract]",
        "terseLabel": "Accounts receivable"
       }
      }
     },
     "localname": "AccountsReceivableNetCurrentAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesVariousDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AccruedIncomeTaxesCurrent": {
     "auth_ref": [
      "r6",
      "r219",
      "r237"
     ],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedBalanceSheets": {
       "order": 2.0,
       "parentTag": "us-gaap_LiabilitiesCurrent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Carrying amount as of the balance sheet date of the unpaid sum of the known and estimated amounts payable to satisfy all currently due domestic and foreign income tax obligations.",
        "label": "Accrued Income Taxes, Current",
        "terseLabel": "Income tax payable"
       }
      }
     },
     "localname": "AccruedIncomeTaxesCurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AccruedLiabilitiesCurrentAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Accrued Liabilities, Current [Abstract]",
        "terseLabel": "Current:"
       }
      }
     },
     "localname": "AccruedLiabilitiesCurrentAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureAccruedExpensesAccountsPayableAndOtherLiabilitiesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AccumulatedOtherComprehensiveIncomeLossForeignCurrencyTranslationAdjustmentNetOfTax": {
     "auth_ref": [
      "r283",
      "r285",
      "r286",
      "r287",
      "r668"
     ],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedBalanceSheets": {
       "order": 5.0,
       "parentTag": "us-gaap_StockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Accumulated adjustment, net of tax, that results from the process of translating subsidiary financial statements and foreign equity investments into the reporting currency from the functional currency of the reporting entity, net of reclassification of realized foreign currency translation gains or losses.",
        "label": "Accumulated Other Comprehensive Income (Loss), Foreign Currency Translation Adjustment, Net of Tax",
        "periodEndLabel": "Accumulated Other Comprehensive Income (Loss), Foreign Currency Translation Adjustment, Net of Tax, Ending Balance",
        "periodStartLabel": "Accumulated Other Comprehensive Income (Loss), Foreign Currency Translation Adjustment, Net of Tax, Beginning Balance",
        "terseLabel": "Cumulative translation adjustments"
       }
      }
     },
     "localname": "AccumulatedOtherComprehensiveIncomeLossForeignCurrencyTranslationAdjustmentNetOfTax",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTaxAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Accumulated Other Comprehensive Income (Loss), Net of Tax [Abstract]",
        "terseLabel": "Accumulated other comprehensive (loss) income"
       }
      }
     },
     "localname": "AccumulatedOtherComprehensiveIncomeLossNetOfTaxAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedBalanceSheets"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AccumulatedOtherComprehensiveIncomeMember": {
     "auth_ref": [
      "r38",
      "r40",
      "r175",
      "r724",
      "r810",
      "r811",
      "r892",
      "r893",
      "r894",
      "r903",
      "r904",
      "r905"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Accumulated increase (decrease) in equity from transactions and other events and circumstances from non-owner sources, attributable to the parent. Excludes net income (loss), and accumulated changes in equity from transactions resulting from investments by owners and distributions to owners.",
        "label": "AOCI Attributable to Parent [Member]",
        "terseLabel": "Accumulated other comprehensive income (loss)"
       }
      }
     },
     "localname": "AccumulatedOtherComprehensiveIncomeMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfChangesInShareholdersEquity"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_AccumulatedTranslationAdjustmentMember": {
     "auth_ref": [
      "r37",
      "r40",
      "r175",
      "r295",
      "r296",
      "r684",
      "r685",
      "r686",
      "r687",
      "r689",
      "r892"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Accumulated other comprehensive income (loss) resulting from foreign currency translation adjustments, foreign currency transactions designated and effective as economic hedges of a net investment in a foreign entity and intra-entity foreign currency transactions that are of a long-term-investment nature, attributable to the parent.",
        "label": "Accumulated Foreign Currency Adjustment Attributable to Parent [Member]",
        "terseLabel": "Cumulative translation adjustments"
       }
      }
     },
     "localname": "AccumulatedTranslationAdjustmentMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfChangesInShareholdersEquity"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife": {
     "auth_ref": [
      "r96"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average amortization period of finite-lived intangible assets acquired either individually or as part of a group of assets, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days.",
        "label": "Acquired Finite-Lived Intangible Assets, Weighted Average Useful Life",
        "terseLabel": "Weighted average amortization period"
       }
      }
     },
     "localname": "AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsEquityInvestmentsAndOthersDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsSunArtDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_AdditionalPaidInCapital": {
     "auth_ref": [
      "r13",
      "r870"
     ],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedBalanceSheets": {
       "order": 1.0,
       "parentTag": "us-gaap_StockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of excess of issue price over par or stated value of stock and from other transaction involving stock or stockholder. Includes, but is not limited to, additional paid-in capital (APIC) for common and preferred stock.",
        "label": "Additional Paid in Capital",
        "terseLabel": "Additional paid-in capital",
        "totalLabel": "Additional Paid in Capital, Total"
       }
      }
     },
     "localname": "AdditionalPaidInCapital",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AdditionalPaidInCapitalMember": {
     "auth_ref": [
      "r588",
      "r589",
      "r590",
      "r903",
      "r904",
      "r905",
      "r978"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Excess of issue price over par or stated value of the entity's capital stock and amounts received from other transactions involving the entity's stock or stockholders.",
        "label": "Additional Paid-in Capital [Member]",
        "terseLabel": "Additional paid-in capital"
       }
      }
     },
     "localname": "AdditionalPaidInCapitalMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfChangesInShareholdersEquity"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_AdjustmentsForNewAccountingPronouncementsAxis": {
     "auth_ref": [
      "r258",
      "r259",
      "r260",
      "r261",
      "r262",
      "r324",
      "r325",
      "r326",
      "r328",
      "r337",
      "r409",
      "r410",
      "r423",
      "r424",
      "r425",
      "r426",
      "r429",
      "r430",
      "r588",
      "r589",
      "r590",
      "r612",
      "r613",
      "r614",
      "r615",
      "r631",
      "r632",
      "r633",
      "r643",
      "r644",
      "r645",
      "r646",
      "r647",
      "r648",
      "r649",
      "r651",
      "r652",
      "r653",
      "r654",
      "r655",
      "r671",
      "r672",
      "r673",
      "r674",
      "r675",
      "r676",
      "r680",
      "r681",
      "r692",
      "r693",
      "r696",
      "r697",
      "r698",
      "r699",
      "r718",
      "r720",
      "r721",
      "r722",
      "r723",
      "r724",
      "r773",
      "r774",
      "r775",
      "r808",
      "r809",
      "r810",
      "r811",
      "r812",
      "r813",
      "r814",
      "r815",
      "r816",
      "r817",
      "r818",
      "r819"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by amendment to accounting standards.",
        "label": "Accounting Standards Update [Axis]"
       }
      }
     },
     "localname": "AdjustmentsForNewAccountingPronouncementsAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesLongLivedAssetsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AdjustmentsNoncashItemsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Adjustments, Noncash Items, to Reconcile Net Income (Loss) to Cash Provided by (Used in) Operating Activities [Abstract]",
        "terseLabel": "Adjustments to reconcile net income to net cash provided by operating activities:"
       }
      }
     },
     "localname": "AdjustmentsNoncashItemsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue": {
     "auth_ref": [
      "r142",
      "r143",
      "r550"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase to additional paid-in capital (APIC) for recognition of cost for award under share-based payment arrangement.",
        "label": "APIC, Share-Based Payment Arrangement, Increase for Cost Recognition",
        "terseLabel": "Amortization of compensation cost",
        "totalLabel": "APIC, Share-Based Payment Arrangement, Increase for Cost Recognition, Total"
       }
      }
     },
     "localname": "AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfChangesInShareholdersEquity"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AdvertisingCostsPolicyTextBlock": {
     "auth_ref": [
      "r593"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for advertising cost.",
        "label": "Advertising Cost [Policy Text Block]",
        "terseLabel": "Sales and marketing expenses"
       }
      }
     },
     "localname": "AdvertisingCostsPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_AllocatedShareBasedCompensationExpense": {
     "auth_ref": [
      "r583"
     ],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSegmentInformationSegmentEbitaAndSegmentEbitdaDetails": {
       "order": 1.0,
       "parentTag": "baba_AdjustedEarningsBeforeInterestTaxesAndAmortization",
       "weight": -1.0
      },
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 1.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of expense for award under share-based payment arrangement. Excludes amount capitalized.",
        "label": "Share-Based Payment Arrangement, Expense",
        "negatedLabel": "Share-based compensation expense",
        "terseLabel": "Share-based compensation expense",
        "verboseLabel": "Add: Share-based compensation expense"
       }
      }
     },
     "localname": "AllocatedShareBasedCompensationExpense",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSegmentInformationReconciliationFromAdjustedEbitaToConsolidatedNetIncomeDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSegmentInformationSegmentEbitaAndSegmentEbitdaDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureShareBasedAwardsShareBasedAwardsRelatingToAntGroupDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSharebasedAwardsExpenseByFunctionDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSharebasedAwardsRsusDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSharebasedAwardsShareOptionsDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AllowanceForDoubtfulAccountsReceivableCurrent": {
     "auth_ref": [
      "r278",
      "r407",
      "r431"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of allowance for credit loss on accounts receivable, classified as current.",
        "label": "Accounts Receivable, Allowance for Credit Loss, Current",
        "terseLabel": "Allowance for doubtful accounts"
       }
      }
     },
     "localname": "AllowanceForDoubtfulAccountsReceivableCurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesVariousDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AmortizationOfIntangibleAssets": {
     "auth_ref": [
      "r68",
      "r94",
      "r100"
     ],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 10.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The aggregate expense charged against earnings to allocate the cost of intangible assets (nonphysical assets not used in production) in a systematic and rational manner to the periods expected to benefit from such assets. As a noncash expense, this element is added back to net income when calculating cash provided by or used in operations using the indirect method.",
        "label": "Amortization of Intangible Assets",
        "terseLabel": "Amortization expenses",
        "verboseLabel": "Amortization of intangible assets and licensed copyrights"
       }
      }
     },
     "localname": "AmortizationOfIntangibleAssets",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesLongLivedAssetsDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AmountOfDilutiveSecuritiesStockOptionsAndRestrictiveStockUnits": {
     "auth_ref": [
      "r908"
     ],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureEarningsPerShareAdsDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase (decrease) to net income used for calculating diluted earnings per share (EPS), resulting from the assumed exercise of stock options or restrictive stock units (RSUs).",
        "label": "Dilutive Securities, Effect on Basic Earnings Per Share, Options and Restrictive Stock Units",
        "terseLabel": "Dilution effect arising from share-based awards operated by subsidiaries and equity method investees"
       }
      }
     },
     "localname": "AmountOfDilutiveSecuritiesStockOptionsAndRestrictiveStockUnits",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureEarningsPerShareAdsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AmountOfRestrictedNetAssetsForConsolidatedAndUnconsolidatedSubsidiaries": {
     "auth_ref": [
      "r313"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of restricted net assets of consolidated and unconsolidated subsidiaries as of the end of the most recently completed fiscal year.",
        "label": "Amount of Restricted Net Assets for Consolidated and Unconsolidated Subsidiaries",
        "terseLabel": "Restricted net assets"
       }
      }
     },
     "localname": "AmountOfRestrictedNetAssetsForConsolidatedAndUnconsolidatedSubsidiaries",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureRestrictedNetAssetsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ArrangementsAndNonarrangementTransactionsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Collaborative arrangement and arrangement other than collaborative applicable to revenue-generating activity or operations.",
        "label": "Collaborative Arrangement and Arrangement Other than Collaborative [Domain]"
       }
      }
     },
     "localname": "ArrangementsAndNonarrangementTransactionsMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureRevenueBreakdownBySegmentDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsEquityInvestmentsAndOthersDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_Assets": {
     "auth_ref": [
      "r217",
      "r236",
      "r273",
      "r314",
      "r380",
      "r391",
      "r397",
      "r421",
      "r481",
      "r482",
      "r484",
      "r485",
      "r486",
      "r488",
      "r490",
      "r492",
      "r493",
      "r636",
      "r640",
      "r670",
      "r870",
      "r938",
      "r939",
      "r985"
     ],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesConsolidationDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedBalanceSheets": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sum of the carrying amounts as of the balance sheet date of all assets that are recognized. Assets are probable future economic benefits obtained or controlled by an entity as a result of past transactions or events.",
        "label": "Assets",
        "totalLabel": "Total assets"
       }
      }
     },
     "localname": "Assets",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesConsolidationDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AssetsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Assets [Abstract]",
        "terseLabel": "Assets"
       }
      }
     },
     "localname": "AssetsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedBalanceSheets"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AssetsCurrent": {
     "auth_ref": [
      "r266",
      "r281",
      "r314",
      "r421",
      "r481",
      "r482",
      "r484",
      "r485",
      "r486",
      "r488",
      "r490",
      "r492",
      "r493",
      "r636",
      "r640",
      "r670",
      "r870",
      "r938",
      "r939",
      "r985"
     ],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedBalanceSheets": {
       "order": 0.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sum of the carrying amounts as of the balance sheet date of all assets that are expected to be realized in cash, sold, or consumed within one year (or the normal operating cycle, if longer). Assets are probable future economic benefits obtained or controlled by an entity as a result of past transactions or events.",
        "label": "Assets, Current",
        "terseLabel": "Current assets",
        "totalLabel": "Total current assets"
       }
      }
     },
     "localname": "AssetsCurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureInvestmentsInEquityMethodInvesteesSummarizedFinancialInformationOfEquityMethodInvestmentsDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AssetsCurrentAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Assets, Current [Abstract]",
        "terseLabel": "Current assets:"
       }
      }
     },
     "localname": "AssetsCurrentAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedBalanceSheets"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AssetsFairValueDisclosure": {
     "auth_ref": [
      "r199"
     ],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureFairValueMeasurementDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value portion of probable future economic benefits obtained or controlled by an entity as a result of past transactions or events.",
        "label": "Assets, Fair Value Disclosure",
        "totalLabel": "Assets"
       }
      }
     },
     "localname": "AssetsFairValueDisclosure",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureFairValueMeasurementDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AssetsFairValueDisclosureAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Assets, Fair Value Disclosure [Abstract]",
        "terseLabel": "Assets"
       }
      }
     },
     "localname": "AssetsFairValueDisclosureAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureFairValueMeasurementDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AssetsNoncurrent": {
     "auth_ref": [
      "r314",
      "r421",
      "r481",
      "r482",
      "r484",
      "r485",
      "r486",
      "r488",
      "r490",
      "r492",
      "r493",
      "r636",
      "r640",
      "r670",
      "r938",
      "r939",
      "r985"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sum of the carrying amounts as of the balance sheet date of all assets that are expected to be realized in cash, sold or consumed after one year or beyond the normal operating cycle, if longer.",
        "label": "Assets, Noncurrent",
        "terseLabel": "Non-current assets",
        "totalLabel": "Assets, Noncurrent, Total"
       }
      }
     },
     "localname": "AssetsNoncurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureInvestmentsInEquityMethodInvesteesSummarizedFinancialInformationOfEquityMethodInvestmentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AwardTypeAxis": {
     "auth_ref": [
      "r554",
      "r555",
      "r556",
      "r558",
      "r559",
      "r560",
      "r561",
      "r562",
      "r563",
      "r564",
      "r565",
      "r566",
      "r567",
      "r568",
      "r569",
      "r570",
      "r571",
      "r572",
      "r573",
      "r574",
      "r575",
      "r578",
      "r579",
      "r580",
      "r581",
      "r582"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of award under share-based payment arrangement.",
        "label": "Award Type [Axis]"
       }
      }
     },
     "localname": "AwardTypeAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureShareBasedAwardsShareBasedAwardsRelatingToAntGroupDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureShareBasedAwardsTables",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSharebasedAwardsPartnerCapitalInvestmentPlanDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSharebasedAwardsRsusDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSharebasedAwardsShareOptionsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_BalanceSheetLocationAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by location on balance sheet (statement of financial position).",
        "label": "Balance Sheet Location [Axis]"
       }
      }
     },
     "localname": "BalanceSheetLocationAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsEquityInvestmentsAndOthersDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_BalanceSheetLocationDomain": {
     "auth_ref": [
      "r192",
      "r195"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Location in the balance sheet (statement of financial position).",
        "label": "Balance Sheet Location [Domain]"
       }
      }
     },
     "localname": "BalanceSheetLocationDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsEquityInvestmentsAndOthersDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_BasisOfAccountingPolicyPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for basis of accounting, or basis of presentation, used to prepare the financial statements (for example, US Generally Accepted Accounting Principles, Other Comprehensive Basis of Accounting, IFRS).",
        "label": "Basis of Accounting, Policy [Policy Text Block]",
        "terseLabel": "Basis of presentation"
       }
      }
     },
     "localname": "BasisOfAccountingPolicyPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_BusinessAcquisitionAcquireeDomain": {
     "auth_ref": [
      "r630",
      "r862",
      "r863"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Identification of the acquiree in a material business combination (or series of individually immaterial business combinations), which may include the name or other type of identification of the acquiree.",
        "label": "Business Acquisition, Acquiree [Domain]"
       }
      }
     },
     "localname": "BusinessAcquisitionAcquireeDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureRevenueBreakdownBySegmentDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsOtherAcquisitionsDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsSunArtDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsTables"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_BusinessAcquisitionAxis": {
     "auth_ref": [
      "r157",
      "r158",
      "r630",
      "r862",
      "r863"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by business combination or series of individually immaterial business combinations.",
        "label": "Business Acquisition [Axis]"
       }
      }
     },
     "localname": "BusinessAcquisitionAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureRevenueBreakdownBySegmentDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsOtherAcquisitionsDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsSunArtDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsTables"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_BusinessAcquisitionLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "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.",
        "label": "Business Acquisition [Line Items]",
        "terseLabel": "Other acquisitions",
        "verboseLabel": "Acquisition"
       }
      }
     },
     "localname": "BusinessAcquisitionLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsOtherAcquisitionsDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsSunArtDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsTables"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_BusinessCombinationAcquisitionOfLessThan100PercentNoncontrollingInterestFairValue": {
     "auth_ref": [
      "r161"
     ],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsSunArtDetails": {
       "order": 4.0,
       "parentTag": "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedLessNoncontrollingInterest",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This element represents the fair value of the noncontrolling interest in the acquiree at the acquisition date.",
        "label": "Business Combination, Acquisition of Less than 100 Percent, Noncontrolling Interest, Fair Value",
        "negatedLabel": "Noncontrolling interests"
       }
      }
     },
     "localname": "BusinessCombinationAcquisitionOfLessThan100PercentNoncontrollingInterestFairValue",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsSunArtDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_BusinessCombinationConsiderationTransferredAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Business Combination, Consideration Transferred [Abstract]",
        "verboseLabel": "Total purchase price is comprised of:"
       }
      }
     },
     "localname": "BusinessCombinationConsiderationTransferredAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsOtherAcquisitionsDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsSunArtDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_BusinessCombinationConsiderationTransferredIncludingEquityInterestInAcquireeHeldPriorToCombination1": {
     "auth_ref": [
      "r154",
      "r164"
     ],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsOtherAcquisitionsDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value at acquisition-date of the assets transferred by the acquirer, liabilities incurred by the acquirer, and equity interests issued by the acquirer, including but not limited to, instruments or interests issued or issuable in consideration for the business combination.",
        "label": "Business Combination, Consideration Transferred, Including Equity Interest in Acquiree Held Prior to Combination",
        "terseLabel": "Total",
        "totalLabel": "Total"
       }
      }
     },
     "localname": "BusinessCombinationConsiderationTransferredIncludingEquityInterestInAcquireeHeldPriorToCombination1",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsOtherAcquisitionsDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsSunArtDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_BusinessCombinationConsiderationTransferredOther1": {
     "auth_ref": [
      "r165"
     ],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsOtherAcquisitionsDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_BusinessCombinationConsiderationTransferredIncludingEquityInterestInAcquireeHeldPriorToCombination1",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of tangible or intangible assets, including a business or subsidiary of the acquirer transferred by the entity to the former owners of the acquiree. Excludes cash.",
        "label": "Business Combination, Consideration Transferred, Other",
        "terseLabel": "- non-cash consideration"
       }
      }
     },
     "localname": "BusinessCombinationConsiderationTransferredOther1",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsOtherAcquisitionsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsMarketableSecurities": {
     "auth_ref": [
      "r160"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of investments in debt and equity securities, including, but not limited to, held-to-maturity, trading and available-for-sale expected to be converted to cash, sold or exchanged within one year or the normal operating cycle, if longer, acquired at the acquisition date.",
        "label": "Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Current Assets, Marketable Securities",
        "verboseLabel": "Short-term investments"
       }
      }
     },
     "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsMarketableSecurities",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsSunArtDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxLiabilities": {
     "auth_ref": [
      "r160"
     ],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsOtherAcquisitionsDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet",
       "weight": -1.0
      },
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsSunArtDetails": {
       "order": 3.0,
       "parentTag": "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedLessNoncontrollingInterest",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of deferred tax liability attributable to taxable temporary differences assumed at the acquisition date.",
        "label": "Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Deferred Tax Liabilities",
        "negatedLabel": "Deferred tax liabilities"
       }
      }
     },
     "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxLiabilities",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsOtherAcquisitionsDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsSunArtDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill": {
     "auth_ref": [
      "r160"
     ],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsOtherAcquisitionsDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet",
       "weight": 1.0
      },
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsSunArtDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedLessNoncontrollingInterest",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of intangible assets, excluding goodwill, acquired at the acquisition date.",
        "label": "Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Intangible Assets, Other than Goodwill",
        "terseLabel": "Identifiable intangible assets",
        "totalLabel": "Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Intangible Assets, Other than Goodwill, Total",
        "verboseLabel": "Amortizable intangible assets"
       }
      }
     },
     "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsOtherAcquisitionsDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsSunArtDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedInventory": {
     "auth_ref": [
      "r159",
      "r160"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of inventory recognized as of the acquisition date.",
        "label": "Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Inventory",
        "verboseLabel": "Inventories"
       }
      }
     },
     "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedInventory",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsSunArtDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet": {
     "auth_ref": [
      "r159",
      "r160"
     ],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsOtherAcquisitionsDetails": {
       "order": 0.0,
       "parentTag": "baba_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLessNoncontrollingInterest",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount recognized as of the acquisition date for the identifiable assets acquired in excess of (less than) the aggregate liabilities assumed.",
        "label": "Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Net",
        "totalLabel": "Subtotal"
       }
      }
     },
     "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsOtherAcquisitionsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment": {
     "auth_ref": [
      "r159",
      "r160"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of property, plant, and equipment recognized as of the acquisition date.",
        "label": "Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Property, Plant, and Equipment",
        "terseLabel": "Property and equipment",
        "totalLabel": "Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Property, Plant, and Equipment, Total"
       }
      }
     },
     "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsSunArtDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedLessNoncontrollingInterest": {
     "auth_ref": [
      "r160"
     ],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsOtherAcquisitionsDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsSunArtDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount recognized as of the acquisition date for the assets, including goodwill, in excess of (less than) the aggregate liabilities assumed, less the noncontrolling interest in the acquiree.",
        "label": "Business Combination, Recognized Identifiable Assets Acquired, Goodwill, and Liabilities Assumed, Less Noncontrolling Interest",
        "totalLabel": "Total"
       }
      }
     },
     "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedLessNoncontrollingInterest",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsOtherAcquisitionsDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsSunArtDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNetAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Business Combination, Recognized Identifiable Assets Acquired, Goodwill, and Liabilities Assumed, Net [Abstract]",
        "terseLabel": "The allocation of the purchase price at the date of acquisition"
       }
      }
     },
     "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNetAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsSunArtDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_BusinessCombinationStepAcquisitionEquityInterestInAcquireeFairValue1": {
     "auth_ref": [
      "r155"
     ],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsOtherAcquisitionsDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_BusinessCombinationConsiderationTransferredIncludingEquityInterestInAcquireeHeldPriorToCombination1",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value at acquisition-date of the equity interest in the acquiree held by the acquirer, immediately before the acquisition date for businesses combined in stages.",
        "label": "Business Combination, Step Acquisition, Equity Interest in Acquiree, Fair Value",
        "negatedLabel": "Fair value of previously held equity interests",
        "verboseLabel": "- fair value of previously held equity interests"
       }
      }
     },
     "localname": "BusinessCombinationStepAcquisitionEquityInterestInAcquireeFairValue1",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsOtherAcquisitionsDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsSunArtDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_BusinessCombinationStepAcquisitionEquityInterestInAcquireeIncludingSubsequentAcquisitionPercentage": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of voting equity interests acquired in a business combination achieved in stages, including equity interests in the acquiree held by the acquirer immediately before the acquisition date and acquired at the acquisition date.",
        "label": "Business Combination, Step Acquisition, Equity Interest in Acquiree, Including Subsequent Acquisition, Percentage",
        "verboseLabel": "Equity interest in consolidated subsidiary (as a percent)"
       }
      }
     },
     "localname": "BusinessCombinationStepAcquisitionEquityInterestInAcquireeIncludingSubsequentAcquisitionPercentage",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsSunArtDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_BusinessCombinationStepAcquisitionEquityInterestInAcquireeRemeasurementGain": {
     "auth_ref": [
      "r156"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "In a business combination achieved in stages, this element represents the amount of gain recognized by the entity as a result of remeasuring to fair value the equity interest in the acquiree it held before the business combination.",
        "label": "Business Combination, Step Acquisition, Equity Interest in Acquiree, Remeasurement Gain",
        "verboseLabel": "Gain recognized in relation to the revaluation of previously held equity interest relating to obtaining control"
       }
      }
     },
     "localname": "BusinessCombinationStepAcquisitionEquityInterestInAcquireeRemeasurementGain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsSunArtDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_BusinessCombinationStepAcquisitionEquityInterestInAcquireeRemeasurementGainOrLoss": {
     "auth_ref": [
      "r156"
     ],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 3.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "In a business combination achieved in stages, this element represents the amount of net gain (loss) recognized by the entity as a result of remeasuring to fair value the equity interest in the acquiree it held before the business combination.",
        "label": "Business Combination, Step Acquisition, Equity Interest in Acquiree, Remeasurement Gain (Loss), Net",
        "negatedLabel": "Revaluation (gain) loss on previously held equity interest",
        "terseLabel": "Gain (loss) recognized in relation to revaluation of previously held equity interests",
        "totalLabel": "Business Combination, Step Acquisition, Equity Interest in Acquiree, Remeasurement Gain (Loss), Net, Total"
       }
      }
     },
     "localname": "BusinessCombinationStepAcquisitionEquityInterestInAcquireeRemeasurementGainOrLoss",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsOtherAcquisitionsDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CapitalAdditionsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Contractual obligation to increase property, plant and equipment either through construction or future purchases.",
        "label": "Capital Addition Purchase Commitments [Member]",
        "terseLabel": "Capital commitments"
       }
      }
     },
     "localname": "CapitalAdditionsMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureCommitmentsCapitalCommitmentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CashAcquiredFromAcquisition": {
     "auth_ref": [
      "r53"
     ],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfCashFlows2": {
       "order": 1.0,
       "parentTag": "us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash inflow associated with the acquisition of business during the period (for example, cash that was held by the acquired business).",
        "label": "Cash Acquired from Acquisition",
        "terseLabel": "Cash acquired in business combinations"
       }
      }
     },
     "localname": "CashAcquiredFromAcquisition",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CashAndCashEquivalentsAtCarryingValue": {
     "auth_ref": [
      "r70",
      "r269",
      "r839"
     ],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedBalanceSheets": {
       "order": 0.0,
       "parentTag": "us-gaap_AssetsCurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of currency on hand as well as demand deposits with banks or financial institutions. Includes other kinds of accounts that have the general characteristics of demand deposits. Also includes short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates. Excludes cash and cash equivalents within disposal group and discontinued operation.",
        "label": "Cash and Cash Equivalents, at Carrying Value",
        "terseLabel": "Cash and cash equivalents",
        "totalLabel": "Cash and Cash Equivalents, at Carrying Value, Total",
        "verboseLabel": "Amount of cash and cash equivalents"
       }
      }
     },
     "localname": "CashAndCashEquivalentsAtCarryingValue",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureRelatedPartyTransactionsTransactionsWithRelatedPartiesDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CashAndCashEquivalentsPolicyTextBlock": {
     "auth_ref": [
      "r71"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for cash and cash equivalents, including the policy for determining which items are treated as cash equivalents. Other information that may be disclosed includes (1) the nature of any restrictions on the entity's use of its cash and cash equivalents, (2) whether the entity's cash and cash equivalents are insured or expose the entity to credit risk, (3) the classification of any negative balance accounts (overdrafts), and (4) the carrying basis of cash equivalents (for example, at cost) and whether the carrying amount of cash equivalents approximates fair value.",
        "label": "Cash and Cash Equivalents, Policy [Policy Text Block]",
        "terseLabel": "Cash and cash equivalents"
       }
      }
     },
     "localname": "CashAndCashEquivalentsPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_CashCashEquivalentsAndShortTermInvestments": {
     "auth_ref": [
      "r891"
     ],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesConsolidationDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Cash includes currency on hand as well as demand deposits with banks or financial institutions. It also includes other kinds of accounts that have the general characteristics of demand deposits in that the customer may deposit additional funds at any time and effectively may withdraw funds at any time without prior notice or penalty. Cash equivalents, excluding items classified as marketable securities, include short-term, highly liquid Investments that are both readily convertible to known amounts of cash, and so near their maturity that they present minimal risk of changes in value because of changes in interest rates. Generally, only investments with original maturities of three months or less qualify under that definition. Original maturity means original maturity to the entity holding the investment. For example, both a three-month US Treasury bill and a three-year Treasury note purchased three months from maturity qualify as cash equivalents. However, a Treasury note purchased three years ago does not become a cash equivalent when its remaining maturity is three months. Short-term investments, exclusive of cash equivalents, generally consist of marketable securities intended to be sold within one year (or the normal operating cycle if longer) and may include trading securities, available-for-sale securities, or held-to-maturity securities (if maturing within one year), as applicable.",
        "label": "Cash, Cash Equivalents, and Short-Term Investments",
        "terseLabel": "Cash and cash equivalents and short-term investments",
        "totalLabel": "Cash, Cash Equivalents, and Short-Term Investments, Total"
       }
      }
     },
     "localname": "CashCashEquivalentsAndShortTermInvestments",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesConsolidationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents": {
     "auth_ref": [
      "r64",
      "r70",
      "r73"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash and cash equivalents, and cash and cash equivalents restricted to withdrawal or usage. Excludes amount for disposal group and discontinued operations. Cash includes, but is not limited to, currency on hand, demand deposits with banks or financial institutions, and other accounts with general characteristics of demand deposits. Cash equivalents include, but are not limited to, short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates.",
        "label": "Cash, Cash Equivalents, Restricted Cash, and Restricted Cash Equivalents",
        "periodEndLabel": "Cash and cash equivalents, restricted cash and escrow receivables at end of year",
        "periodStartLabel": "Cash and cash equivalents, restricted cash and escrow receivables at beginning of year",
        "totalLabel": "Cash, Cash Equivalents, Restricted Cash, and Restricted Cash Equivalents, Total"
       }
      }
     },
     "localname": "CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect": {
     "auth_ref": [
      "r64",
      "r205"
     ],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase (decrease) in cash, cash equivalents, and cash and cash equivalents restricted to withdrawal or usage; including effect from exchange rate change. Cash includes, but is not limited to, currency on hand, demand deposits with banks or financial institutions, and other accounts with general characteristics of demand deposits. Cash equivalents include, but are not limited to, short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates.",
        "label": "Cash, Cash Equivalents, Restricted Cash, and Restricted Cash Equivalents, Period Increase (Decrease), Including Exchange Rate Effect",
        "totalLabel": "Increase (Decrease) in cash and cash equivalents, restricted cash and escrow receivables"
       }
      }
     },
     "localname": "CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ClassOfStockDisclosuresAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class of Stock Disclosures [Abstract]",
        "terseLabel": "Treasury shares"
       }
      }
     },
     "localname": "ClassOfStockDisclosuresAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesOthersDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ClassOfStockDomain": {
     "auth_ref": [
      "r275",
      "r276",
      "r277",
      "r314",
      "r343",
      "r347",
      "r354",
      "r356",
      "r364",
      "r365",
      "r421",
      "r481",
      "r484",
      "r485",
      "r486",
      "r492",
      "r493",
      "r525",
      "r526",
      "r528",
      "r529",
      "r531",
      "r670",
      "r838",
      "r885",
      "r898",
      "r907"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Share of stock differentiated by the voting rights the holder receives. Examples include, but are not limited to, common stock, redeemable preferred stock, nonredeemable preferred stock, and convertible stock.",
        "label": "Class of Stock [Domain]"
       }
      }
     },
     "localname": "ClassOfStockDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureIncomeTaxExpensesReconciliationsDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesBasisOfPresentationDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ClassOfStockLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "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.",
        "label": "Class of Stock [Line Items]",
        "verboseLabel": "Basis of presentation"
       }
      }
     },
     "localname": "ClassOfStockLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesBasisOfPresentationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_CollectibilityOfReceivablesMember": {
     "auth_ref": [
      "r933"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The assets of an enterprise may include receivables that arose from credit sales, loans, or other transactions. The conditions under which receivables exist usually involve some degree of uncertainty about their collectability, in which case a contingency exist.",
        "label": "Collectibility of Receivables [Member]",
        "terseLabel": "Collectability of payments made relating to trade assurance program"
       }
      }
     },
     "localname": "CollectibilityOfReceivablesMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureRisksAndContingenciesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CommitmentsAndContingencies": {
     "auth_ref": [
      "r31",
      "r224",
      "r245"
     ],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedBalanceSheets": {
       "order": 0.0,
       "parentTag": "us-gaap_LiabilitiesAndStockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the caption on the face of the balance sheet to indicate that the entity has entered into (1) purchase or supply arrangements that will require expending a portion of its resources to meet the terms thereof, and (2) is exposed to potential losses or, less frequently, gains, arising from (a) possible claims against a company's resources due to future performance under contract terms, and (b) possible losses or likely gains from uncertainties that will ultimately be resolved when one or more future events that are deemed likely to occur do occur or fail to occur.",
        "label": "Commitments and Contingencies",
        "terseLabel": "Commitments and contingencies"
       }
      }
     },
     "localname": "CommitmentsAndContingencies",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CommitmentsAndContingenciesPolicyTextBlock": {
     "auth_ref": [
      "r110",
      "r822"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for commitments and contingencies, which may include policies for recognizing and measuring loss and gain contingencies.",
        "label": "Commitments and Contingencies, Policy [Policy Text Block]",
        "terseLabel": "Commitments and contingencies"
       }
      }
     },
     "localname": "CommitmentsAndContingenciesPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_CommitmentsDisclosureTextBlock": {
     "auth_ref": [
      "r107"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for significant arrangements with third parties, which includes operating lease arrangements and arrangements in which the entity has agreed to expend funds to procure goods or services, or has agreed to commit resources to supply goods or services, and operating lease arrangements. Descriptions may include identification of the specific goods and services, period of time covered, minimum quantities and amounts, and cancellation rights.",
        "label": "Commitments Disclosure [Text Block]",
        "terseLabel": "Commitments"
       }
      }
     },
     "localname": "CommitmentsDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureCommitments"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_CommonStockMember": {
     "auth_ref": [
      "r903",
      "r904",
      "r978"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Stock that is subordinate to all other stock of the issuer.",
        "label": "Common Stock [Member]",
        "terseLabel": "Ordinary Shares"
       }
      }
     },
     "localname": "CommonStockMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfChangesInShareholdersEquity"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CommonStockParOrStatedValuePerShare": {
     "auth_ref": [
      "r12"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Face amount or stated value per share of common stock.",
        "label": "Common Stock, Par or Stated Value Per Share",
        "terseLabel": "Ordinary shares- par value",
        "verboseLabel": "Ordinary shares par value (in USD per share)"
       }
      }
     },
     "localname": "CommonStockParOrStatedValuePerShare",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedBalanceSheetsParenthetical"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_CommonStockSharesAuthorized": {
     "auth_ref": [
      "r12"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The maximum number of common shares permitted to be issued by an entity's charter and bylaws.",
        "label": "Common Stock, Shares Authorized",
        "terseLabel": "Ordinary shares- shares authorized",
        "verboseLabel": "Ordinary shares authorized (in shares)"
       }
      }
     },
     "localname": "CommonStockSharesAuthorized",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedBalanceSheetsParenthetical"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_CommonStockSharesIssued": {
     "auth_ref": [
      "r12"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Total number of common shares of an entity that have been sold or granted to shareholders (includes common shares that were issued, repurchased and remain in the treasury). These shares represent capital invested by the firm's shareholders and owners, and may be all or only a portion of the number of shares authorized. Shares issued include shares outstanding and shares held in the treasury.",
        "label": "Common Stock, Shares, Issued",
        "terseLabel": "Ordinary shares, shares issued"
       }
      }
     },
     "localname": "CommonStockSharesIssued",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedBalanceSheetsParenthetical"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_CommonStockSharesOutstanding": {
     "auth_ref": [
      "r12",
      "r119"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of shares of common stock outstanding. Common stock represent the ownership interest in a corporation.",
        "label": "Common Stock, Shares, Outstanding",
        "periodEndLabel": "Balance (in shares)",
        "periodStartLabel": "Balance (in shares)",
        "terseLabel": "Ordinary shares, shares outstanding"
       }
      }
     },
     "localname": "CommonStockSharesOutstanding",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedBalanceSheetsParenthetical",
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfChangesInShareholdersEquity"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_CommonStockValue": {
     "auth_ref": [
      "r12",
      "r870"
     ],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedBalanceSheets": {
       "order": 0.0,
       "parentTag": "us-gaap_StockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Aggregate par or stated value of issued nonredeemable common stock (or common stock redeemable solely at the option of the issuer). This item includes treasury stock repurchased by the entity. Note: elements for number of nonredeemable common shares, par value and other disclosure concepts are in another section within stockholders' equity.",
        "label": "Common Stock, Value, Issued",
        "terseLabel": "Ordinary shares, US$0.000003125 par value; 32,000,000,000 shares authorized as of March 31, 2022 and 2023; 21,357,323,112 and 20,526,017,712 shares issued and outstanding as of March 31, 2022 and 2023, respectively"
       }
      }
     },
     "localname": "CommonStockValue",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ComponentsOfDeferredTaxAssetsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Components of Deferred Tax Assets [Abstract]",
        "terseLabel": "Deferred tax assets"
       }
      }
     },
     "localname": "ComponentsOfDeferredTaxAssetsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureIncomeTaxExpensesCompositionOfDeferredTaxAssetsAndLiabilitiesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ComponentsOfDeferredTaxAssetsAndLiabilitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Components of Deferred Tax Assets and Liabilities [Abstract]",
        "terseLabel": "Composition of deferred tax assets and liabilities"
       }
      }
     },
     "localname": "ComponentsOfDeferredTaxAssetsAndLiabilitiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureIncomeTaxExpensesCompositionOfDeferredTaxAssetsAndLiabilitiesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ComponentsOfDeferredTaxLiabilitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Components of Deferred Tax Liabilities [Abstract]",
        "terseLabel": "Deferred tax liabilities"
       }
      }
     },
     "localname": "ComponentsOfDeferredTaxLiabilitiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureIncomeTaxExpensesCompositionOfDeferredTaxAssetsAndLiabilitiesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ComponentsOfIncomeTaxExpenseBenefitContinuingOperationsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Components of Income Tax Expense (Benefit), Continuing Operations [Abstract]",
        "terseLabel": "Composition of income tax expenses"
       }
      }
     },
     "localname": "ComponentsOfIncomeTaxExpenseBenefitContinuingOperationsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureIncomeTaxExpensesGeneralDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ComprehensiveIncomeNetOfTax": {
     "auth_ref": [
      "r41",
      "r290",
      "r292",
      "r302",
      "r796",
      "r803"
     ],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfComprehensiveIncome": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount after tax of increase (decrease) in equity from transactions and other events and circumstances from net income and other comprehensive income, attributable to parent entity. Excludes changes in equity resulting from investments by owners and distributions to owners.",
        "label": "Comprehensive Income (Loss), Net of Tax, Attributable to Parent",
        "totalLabel": "Total comprehensive income attributable to ordinary shareholders"
       }
      }
     },
     "localname": "ComprehensiveIncomeNetOfTax",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfComprehensiveIncome"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ComprehensiveIncomeNetOfTaxAttributableToNoncontrollingInterest": {
     "auth_ref": [
      "r169",
      "r170",
      "r185",
      "r290",
      "r292",
      "r301",
      "r795",
      "r802"
     ],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfComprehensiveIncome": {
       "order": 0.0,
       "parentTag": "us-gaap_ComprehensiveIncomeNetOfTax",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount after tax of increase (decrease) in equity from transactions and other events and circumstances from net income (loss) and other comprehensive income (loss), attributable to noncontrolling interests. Excludes changes in equity resulting from investments by owners and distributions to owners.",
        "label": "Comprehensive Income (Loss), Net of Tax, Attributable to Noncontrolling Interest",
        "negatedLabel": "Total comprehensive loss attributable to noncontrolling interests",
        "totalLabel": "Comprehensive Income (Loss), Net of Tax, Attributable to Noncontrolling Interest, Total"
       }
      }
     },
     "localname": "ComprehensiveIncomeNetOfTaxAttributableToNoncontrollingInterest",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfComprehensiveIncome"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest": {
     "auth_ref": [
      "r168",
      "r185",
      "r290",
      "r292",
      "r300",
      "r794",
      "r801"
     ],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfComprehensiveIncome": {
       "order": 1.0,
       "parentTag": "us-gaap_ComprehensiveIncomeNetOfTax",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount after tax of increase (decrease) in equity from transactions and other events and circumstances from net income and other comprehensive income. Excludes changes in equity resulting from investments by owners and distributions to owners.",
        "label": "Comprehensive Income (Loss), Net of Tax, Including Portion Attributable to Noncontrolling Interest",
        "totalLabel": "Total comprehensive income"
       }
      }
     },
     "localname": "ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfComprehensiveIncome"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ConsolidationLessThanWhollyOwnedSubsidiaryParentOwnershipInterestEffectsOfChangesNetLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "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.",
        "label": "Consolidation, Less than Wholly Owned Subsidiary, Parent Ownership Interest, Effects of Changes, Net [Line Items]",
        "terseLabel": "Organization and principal activities"
       }
      }
     },
     "localname": "ConsolidationLessThanWhollyOwnedSubsidiaryParentOwnershipInterestEffectsOfChangesNetLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureOrganizationAndPrincipalActivitiesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ConsolidationLessThanWhollyOwnedSubsidiaryParentOwnershipInterestEffectsOfChangesNetTable": {
     "auth_ref": [
      "r176",
      "r186"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Summarization of information required and determined to be disclosed concerning the effects of any changes in a parent's ownership interest in a subsidiary on the equity attributable to the parent which may have occurred during the period. The changes represented by this element did not result in the deconsolidation of the subsidiary.",
        "label": "Consolidation, Less than Wholly Owned Subsidiary, Parent Ownership Interest, Effects of Changes, Net [Table]"
       }
      }
     },
     "localname": "ConsolidationLessThanWhollyOwnedSubsidiaryParentOwnershipInterestEffectsOfChangesNetTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureOrganizationAndPrincipalActivitiesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ConsolidationPolicyTextBlock": {
     "auth_ref": [
      "r173",
      "r842"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy regarding (1) the principles it follows in consolidating or combining the separate financial statements, including the principles followed in determining the inclusion or exclusion of subsidiaries or other entities in the consolidated or combined financial statements and (2) its treatment of interests (for example, common stock, a partnership interest or other means of exerting influence) in other entities, for example consolidation or use of the equity or cost methods of accounting. The accounting policy may also address the accounting treatment for intercompany accounts and transactions, noncontrolling interest, and the income statement treatment in consolidation for issuances of stock by a subsidiary.",
        "label": "Consolidation, Policy [Policy Text Block]",
        "terseLabel": "Consolidation"
       }
      }
     },
     "localname": "ConsolidationPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ConstructionInProgressMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Structure or a modification to a structure under construction. Includes recently completed structures or modifications to structures that have not been placed into service.",
        "label": "Construction in Progress [Member]",
        "terseLabel": "Construction in progress"
       }
      }
     },
     "localname": "ConstructionInProgressMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosurePropertyAndEquipmentNetDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ContractWithCustomerLiability": {
     "auth_ref": [
      "r533",
      "r534",
      "r537"
     ],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureDeferredRevenueAndCustomerAdvancesDetails": {
       "order": 1.0,
       "parentTag": "baba_DeferredRevenueAndCustomerAdvancesTotal",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of obligation to transfer good or service to customer for which consideration has been received or is receivable.",
        "label": "Contract with Customer, Liability",
        "terseLabel": "Deferred revenue",
        "totalLabel": "Contract with Customer, Liability, Total"
       }
      }
     },
     "localname": "ContractWithCustomerLiability",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureDeferredRevenueAndCustomerAdvancesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ContractWithCustomerLiabilityAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Contract with Customer, Liability [Abstract]"
       }
      }
     },
     "localname": "ContractWithCustomerLiabilityAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_ContractWithCustomerLiabilityNoncurrent": {
     "auth_ref": [
      "r533",
      "r534",
      "r537"
     ],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureDeferredRevenueAndCustomerAdvancesDetailsCal2": {
       "order": 1.0,
       "parentTag": "baba_DeferredRevenueAndCustomerAdvancesTotal",
       "weight": 1.0
      },
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedBalanceSheets": {
       "order": 0.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of obligation to transfer good or service to customer for which consideration has been received or is receivable, classified as noncurrent.",
        "label": "Contract with Customer, Liability, Noncurrent",
        "terseLabel": "Deferred revenue",
        "verboseLabel": "Non-current portion"
       }
      }
     },
     "localname": "ContractWithCustomerLiabilityNoncurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureDeferredRevenueAndCustomerAdvancesDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CorporateDebtSecuritiesMember": {
     "auth_ref": [
      "r859",
      "r861",
      "r997"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Debt securities issued by domestic or foreign corporate business, banks and other entities with a promise of repayment.",
        "label": "Corporate Debt Securities [Member]",
        "terseLabel": "Debt investments"
       }
      }
     },
     "localname": "CorporateDebtSecuritiesMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureEquitySecuritiesAndOtherInvestmentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CorporateNonSegmentMember": {
     "auth_ref": [
      "r80",
      "r390",
      "r391",
      "r392",
      "r393",
      "r398",
      "r910"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Corporate headquarters or functional department that may not earn revenues or may earn revenues that are only incidental to the activities of the entity and is not considered an operating segment.",
        "label": "Corporate, Non-Segment [Member]",
        "terseLabel": "Unallocated"
       }
      }
     },
     "localname": "CorporateNonSegmentMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSegmentInformationReconciliationFromAdjustedEbitaToConsolidatedNetIncomeDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSegmentInformationSegmentEbitaAndSegmentEbitdaDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CostOfRevenue": {
     "auth_ref": [
      "r50",
      "r314",
      "r421",
      "r481",
      "r482",
      "r484",
      "r485",
      "r486",
      "r488",
      "r490",
      "r492",
      "r493",
      "r670",
      "r938"
     ],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedIncomeStatements": {
       "order": 1.0,
       "parentTag": "us-gaap_OperatingIncomeLoss",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The aggregate cost of goods produced and sold and services rendered during the reporting period.",
        "label": "Cost of Revenue",
        "negatedLabel": "Cost of revenue",
        "totalLabel": "Cost of Revenue, Total"
       }
      }
     },
     "localname": "CostOfRevenue",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureInvestmentsInEquityMethodInvesteesSummarizedFinancialInformationOfEquityMethodInvestmentsDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedIncomeStatements"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CostOfSalesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Primary financial statement caption encompassing cost of sales.",
        "label": "Cost of Sales [Member]",
        "terseLabel": "Cost of revenue"
       }
      }
     },
     "localname": "CostOfSalesMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSharebasedAwardsExpenseByFunctionDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesLongLivedAssetsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CostOfSalesPolicyTextBlock": {
     "auth_ref": [
      "r946"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for cost of product sold and service rendered.",
        "label": "Cost of Goods and Service [Policy Text Block]",
        "terseLabel": "Cost of revenue"
       }
      }
     },
     "localname": "CostOfSalesPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_CurrentIncomeTaxExpenseBenefit": {
     "auth_ref": [
      "r152",
      "r609",
      "r622",
      "r901"
     ],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureIncomeTaxExpensesGeneralDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_IncomeTaxExpenseBenefit",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of current income tax expense (benefit) pertaining to taxable income (loss) from continuing operations.",
        "label": "Current Income Tax Expense (Benefit)",
        "terseLabel": "Current income tax expense",
        "totalLabel": "Current Income Tax Expense (Benefit), Total"
       }
      }
     },
     "localname": "CurrentIncomeTaxExpenseBenefit",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureIncomeTaxExpensesGeneralDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CustomerRelationshipsMember": {
     "auth_ref": [
      "r163"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Customer relationship that exists between an entity and its customer, for example, but not limited to, tenant relationships.",
        "label": "Customer Relationships [Member]",
        "terseLabel": "User base and customer relationships"
       }
      }
     },
     "localname": "CustomerRelationshipsMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureIntangibleAssetsNetGeneralDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsSunArtDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesLongLivedAssetsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_DebtDisclosureAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Debt Disclosure [Abstract]"
       }
      }
     },
     "localname": "DebtDisclosureAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_DebtDisclosureTextBlock": {
     "auth_ref": [
      "r113",
      "r310",
      "r499",
      "r500",
      "r501",
      "r502",
      "r503",
      "r504",
      "r505",
      "r510",
      "r517",
      "r518",
      "r520"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for information about short-term and long-term debt arrangements, which includes amounts of borrowings under each line of credit, note payable, commercial paper issue, bonds indenture, debenture issue, own-share lending arrangements and any other contractual agreement to repay funds, and about the underlying arrangements, rationale for a classification as long-term, including repayment terms, interest rates, collateral provided, restrictions on use of assets and activities, whether or not in compliance with debt covenants, and other matters important to users of the financial statements, such as the effects of refinancing and noncompliance with debt covenants.",
        "label": "Debt Disclosure [Text Block]",
        "terseLabel": "Bank borrowings",
        "verboseLabel": "Unsecured senior notes"
       }
      }
     },
     "localname": "DebtDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureBankBorrowings",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureUnsecuredSeniorNotes"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_DebtInstrumentAxis": {
     "auth_ref": [
      "r5",
      "r6",
      "r7",
      "r218",
      "r221",
      "r233",
      "r318",
      "r494",
      "r495",
      "r496",
      "r497",
      "r498",
      "r500",
      "r506",
      "r507",
      "r508",
      "r509",
      "r511",
      "r512",
      "r513",
      "r514",
      "r515",
      "r516",
      "r695",
      "r851",
      "r852",
      "r853",
      "r854",
      "r855",
      "r899"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of debt instrument, including, but not limited to, draws against credit facilities.",
        "label": "Debt Instrument [Axis]"
       }
      }
     },
     "localname": "DebtInstrumentAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureBankBorrowings",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureBankBorrowingsGeneralDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureBankBorrowingsMaturityScheduleDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureBankBorrowingsTables",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureUnsecuredSeniorNotesGeneralDetails3"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DebtInstrumentBasisSpreadOnVariableRate1": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage points added to the reference rate to compute the variable rate on the debt instrument.",
        "label": "Debt Instrument, Basis Spread on Variable Rate",
        "terseLabel": "Spread over variable rate"
       }
      }
     },
     "localname": "DebtInstrumentBasisSpreadOnVariableRate1",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureBankBorrowingsGeneralDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_DebtInstrumentCarryingAmount": {
     "auth_ref": [
      "r7",
      "r221",
      "r233",
      "r521"
     ],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureUnsecuredSeniorNotesGeneralDetails3": {
       "order": 1.0,
       "parentTag": "us-gaap_LongTermDebt",
       "weight": 1.0
      },
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureUnsecuredSeniorNotesMaturityScheduleDetails2": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, before unamortized (discount) premium and debt issuance costs, of long-term debt. Includes, but is not limited to, notes payable, bonds payable, commercial loans, mortgage loans, convertible debt, subordinated debt and other types of debt.",
        "label": "Long-Term Debt, Gross",
        "terseLabel": "Total principal amounts of unsecured senior notes",
        "totalLabel": "Total principal amount"
       }
      }
     },
     "localname": "DebtInstrumentCarryingAmount",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureUnsecuredSeniorNotesGeneralDetails3",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureUnsecuredSeniorNotesMaturityScheduleDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtInstrumentCollateralAmount": {
     "auth_ref": [
      "r230"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of assets pledged to secure a debt instrument.",
        "label": "Debt Instrument, Collateral Amount",
        "terseLabel": "Collateral amount pledged"
       }
      }
     },
     "localname": "DebtInstrumentCollateralAmount",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureBankBorrowingsGeneralDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtInstrumentFaceAmount": {
     "auth_ref": [
      "r207",
      "r209",
      "r494",
      "r695",
      "r852",
      "r853"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Face (par) amount of debt instrument at time of issuance.",
        "label": "Debt Instrument, Face Amount",
        "terseLabel": "Principal amount"
       }
      }
     },
     "localname": "DebtInstrumentFaceAmount",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureBankBorrowingsGeneralDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureUnsecuredSeniorNotesGeneralDetails3"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtInstrumentFairValue": {
     "auth_ref": [
      "r508",
      "r669",
      "r852",
      "r853"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value portion of debt instrument payable, including, but not limited to, notes payable and loans payable.",
        "label": "Debt Instrument, Fair Value Disclosure",
        "terseLabel": "Fair value",
        "totalLabel": "Debt Instrument, Fair Value Disclosure, Total"
       }
      }
     },
     "localname": "DebtInstrumentFairValue",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureUnsecuredSeniorNotesMaturityScheduleDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtInstrumentInterestRateDuringPeriod": {
     "auth_ref": [
      "r28",
      "r207",
      "r513"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The average effective interest rate during the reporting period.",
        "label": "Debt Instrument, Interest Rate During Period",
        "terseLabel": "Weighted average interest rate for the year"
       }
      }
     },
     "localname": "DebtInstrumentInterestRateDuringPeriod",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureBankBorrowingsGeneralDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_DebtInstrumentInterestRateEffectivePercentage": {
     "auth_ref": [
      "r28",
      "r207",
      "r524",
      "r695"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Effective interest rate for the funds borrowed under the debt agreement considering interest compounding and original issue discount or premium.",
        "label": "Debt Instrument, Interest Rate, Effective Percentage",
        "terseLabel": "Interest rates",
        "verboseLabel": "Effective interest rate"
       }
      }
     },
     "localname": "DebtInstrumentInterestRateEffectivePercentage",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureBankBorrowingsGeneralDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureUnsecuredSeniorNotesGeneralDetails3"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_DebtInstrumentInterestRateStatedPercentage": {
     "auth_ref": [
      "r28",
      "r495"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Contractual interest rate for funds borrowed, under the debt agreement.",
        "label": "Debt Instrument, Interest Rate, Stated Percentage",
        "terseLabel": "Fixed interest rate"
       }
      }
     },
     "localname": "DebtInstrumentInterestRateStatedPercentage",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureUnsecuredSeniorNotesGeneralDetails3"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_DebtInstrumentLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "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.",
        "label": "Debt Instrument [Line Items]",
        "terseLabel": "Bank borrowings",
        "verboseLabel": "Unsecured senior notes"
       }
      }
     },
     "localname": "DebtInstrumentLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureBankBorrowings",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureBankBorrowingsGeneralDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureBankBorrowingsMaturityScheduleDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureBankBorrowingsTables",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureUnsecuredSeniorNotes",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureUnsecuredSeniorNotesGeneralDetails3",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureUnsecuredSeniorNotesMaturityScheduleDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureUnsecuredSeniorNotesTables"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DebtInstrumentNameDomain": {
     "auth_ref": [
      "r29",
      "r318",
      "r494",
      "r495",
      "r496",
      "r497",
      "r498",
      "r500",
      "r506",
      "r507",
      "r508",
      "r509",
      "r511",
      "r512",
      "r513",
      "r514",
      "r515",
      "r516",
      "r695",
      "r851",
      "r852",
      "r853",
      "r854",
      "r855",
      "r899"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The name for the particular debt instrument or borrowing that distinguishes it from other debt instruments or borrowings, including draws against credit facilities.",
        "label": "Debt Instrument, Name [Domain]"
       }
      }
     },
     "localname": "DebtInstrumentNameDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureBankBorrowings",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureBankBorrowingsGeneralDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureBankBorrowingsMaturityScheduleDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureBankBorrowingsTables",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureUnsecuredSeniorNotesGeneralDetails3"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_DebtInstrumentTable": {
     "auth_ref": [
      "r29",
      "r120",
      "r123",
      "r124",
      "r125",
      "r206",
      "r207",
      "r209",
      "r231",
      "r318",
      "r494",
      "r495",
      "r496",
      "r497",
      "r498",
      "r500",
      "r506",
      "r507",
      "r508",
      "r509",
      "r511",
      "r512",
      "r513",
      "r514",
      "r515",
      "r516",
      "r519",
      "r695",
      "r851",
      "r852",
      "r853",
      "r854",
      "r855",
      "r899"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A table or schedule providing information pertaining to long-term debt instruments or arrangements, including identification, terms, features, collateral requirements and other information necessary to a fair presentation. These are debt arrangements that originally required repayment more than twelve months after issuance or greater than the normal operating cycle of the company, if longer.",
        "label": "Schedule of Long-Term Debt Instruments [Table]"
       }
      }
     },
     "localname": "DebtInstrumentTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureUnsecuredSeniorNotes",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureUnsecuredSeniorNotesGeneralDetails3",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureUnsecuredSeniorNotesMaturityScheduleDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureUnsecuredSeniorNotesTables"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNet": {
     "auth_ref": [
      "r208",
      "r506",
      "r522",
      "r852",
      "r853"
     ],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureUnsecuredSeniorNotesGeneralDetails3": {
       "order": 0.0,
       "parentTag": "us-gaap_LongTermDebt",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of unamortized debt discount (premium) and debt issuance costs.",
        "label": "Debt Instrument, Unamortized Discount (Premium) and Debt Issuance Costs, Net",
        "negatedLabel": "Unamortized discount and debt issuance costs",
        "terseLabel": "Unamortized discount and debt issuance costs",
        "totalLabel": "Debt Instrument, Unamortized Discount (Premium) and Debt Issuance Costs, Net, Total"
       }
      }
     },
     "localname": "DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNet",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureUnsecuredSeniorNotesGeneralDetails3"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtLongtermAndShorttermCombinedAmount": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the aggregate of total long-term debt, including current maturities and short-term debt.",
        "label": "Debt, Long-Term and Short-Term, Combined Amount",
        "totalLabel": "Total borrowings"
       }
      }
     },
     "localname": "DebtLongtermAndShorttermCombinedAmount",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureBankBorrowingsMaturityScheduleDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtPolicyTextBlock": {
     "auth_ref": [
      "r111"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy related to debt. Includes, but is not limited to, debt issuance costs, the effects of refinancings, method of amortizing debt issuance costs and original issue discount, and classifications of debt.",
        "label": "Debt, Policy [Policy Text Block]",
        "terseLabel": "Bank borrowing and unsecured senior notes"
       }
      }
     },
     "localname": "DebtPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_DebtSecuritiesHeldToMaturityAllowanceForCreditLoss": {
     "auth_ref": [
      "r415",
      "r431",
      "r433",
      "r434"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of allowance for credit loss for debt security measured at amortized cost (held-to-maturity).",
        "label": "Debt Securities, Held-to-Maturity, Allowance for Credit Loss",
        "periodEndLabel": "Debt Securities, Held-to-Maturity, Allowance for Credit Loss, Ending Balance",
        "periodStartLabel": "Debt Securities, Held-to-Maturity, Allowance for Credit Loss, Beginning Balance",
        "terseLabel": "Debt securities, Held-to-maturity, allowance for credit loss",
        "totalLabel": "Debt Securities, Held-to-Maturity, Allowance for Credit Loss, Total"
       }
      }
     },
     "localname": "DebtSecuritiesHeldToMaturityAllowanceForCreditLoss",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureEquitySecuritiesAndOtherInvestmentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtSecuritiesUnrealizedGainLossExcludingOtherThanTemporaryImpairment": {
     "auth_ref": [
      "r805"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of unrealized gain (loss) on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), investment in debt security measured at amortized cost (held-to-maturity) and investment in debt security measured at fair value with change in fair value recognized in net income (trading). Excludes other-than-temporary impairment (OTTI).",
        "label": "Debt Securities, Unrealized Gain (Loss), Excluding Other-than-temporary Impairment",
        "verboseLabel": "Unrealized gains (losses) recorded"
       }
      }
     },
     "localname": "DebtSecuritiesUnrealizedGainLossExcludingOtherThanTemporaryImpairment",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureEquitySecuritiesAndOtherInvestmentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeconsolidationGainOrLossAmount": {
     "auth_ref": [
      "r177"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of gain (loss) from deconsolidation of subsidiary and derecognition of group of assets constituting transfer of business or nonprofit activity, excluding conveyance of oil and gas mineral rights and transfer of good or service in contract with customer.",
        "label": "Deconsolidation, Gain (Loss), Amount",
        "verboseLabel": "Deconsolidation gain"
       }
      }
     },
     "localname": "DeconsolidationGainOrLossAmount",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsEquityInvestmentsAndOthersDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredCostsCapitalizedPrepaidAndOtherAssetsDisclosureAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Deferred Costs, Capitalized, Prepaid, and Other Assets Disclosure [Abstract]"
       }
      }
     },
     "localname": "DeferredCostsCapitalizedPrepaidAndOtherAssetsDisclosureAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_DeferredCostsCapitalizedPrepaidAndOtherAssetsDisclosureTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the amounts paid in advance for capitalized costs that will be expensed with the passage of time or the occurrence of a triggering event, and will be charged against earnings within one year or the normal operating cycle, if longer; the aggregate carrying amount of current assets, not separately presented elsewhere in the balance sheet; and other deferred costs.",
        "label": "Deferred Costs, Capitalized, Prepaid, and Other Assets Disclosure [Table Text Block]",
        "terseLabel": "Schedule of components of prepayments, receivables and other assets"
       }
      }
     },
     "localname": "DeferredCostsCapitalizedPrepaidAndOtherAssetsDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosurePrepaymentsReceivablesAndOtherAssetsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_DeferredIncomeTaxExpenseBenefit": {
     "auth_ref": [
      "r68",
      "r152",
      "r610",
      "r621",
      "r622",
      "r901"
     ],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureIncomeTaxExpensesGeneralDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_IncomeTaxExpenseBenefit",
       "weight": 1.0
      },
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 16.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of deferred income tax expense (benefit) pertaining to income (loss) from continuing operations.",
        "label": "Deferred Income Tax Expense (Benefit)",
        "terseLabel": "Deferred income taxes",
        "totalLabel": "Deferred Income Tax Expense (Benefit), Total",
        "verboseLabel": "Deferred taxation"
       }
      }
     },
     "localname": "DeferredIncomeTaxExpenseBenefit",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureIncomeTaxExpensesGeneralDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredIncomeTaxLiabilities": {
     "auth_ref": [
      "r9",
      "r10",
      "r220",
      "r232",
      "r604"
     ],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureIncomeTaxExpensesCompositionOfDeferredTaxAssetsAndLiabilitiesDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_DeferredTaxLiabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of deferred tax liability attributable to taxable temporary differences.",
        "label": "Deferred Tax Liabilities, Gross",
        "negatedTotalLabel": "Total deferred tax liabilities",
        "totalLabel": "Deferred Tax Liabilities, Gross, Total"
       }
      }
     },
     "localname": "DeferredIncomeTaxLiabilities",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureIncomeTaxExpensesCompositionOfDeferredTaxAssetsAndLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredIncomeTaxLiabilitiesNet": {
     "auth_ref": [
      "r597",
      "r598"
     ],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedBalanceSheets": {
       "order": 1.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after deferred tax asset, of deferred tax liability attributable to taxable differences with jurisdictional netting.",
        "label": "Deferred Income Tax Liabilities, Net",
        "terseLabel": "Deferred tax liabilities"
       }
      }
     },
     "localname": "DeferredIncomeTaxLiabilitiesNet",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredTaxAssetsGoodwillAndIntangibleAssets": {
     "auth_ref": [],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureIncomeTaxExpensesCompositionOfDeferredTaxAssetsAndLiabilitiesDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_DeferredTaxAssetsGross",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount before allocation of valuation allowances of deferred tax asset attributable to deductible temporary differences from intangible assets including goodwill.",
        "label": "Deferred Tax Assets, Goodwill and Intangible Assets",
        "terseLabel": "Licensed copyrights"
       }
      }
     },
     "localname": "DeferredTaxAssetsGoodwillAndIntangibleAssets",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureIncomeTaxExpensesCompositionOfDeferredTaxAssetsAndLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredTaxAssetsGross": {
     "auth_ref": [
      "r605"
     ],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureIncomeTaxExpensesCompositionOfDeferredTaxAssetsAndLiabilitiesDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_DeferredTaxAssetsNet",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount before allocation of valuation allowances of deferred tax asset attributable to deductible temporary differences and carryforwards.",
        "label": "Deferred Tax Assets, Gross",
        "totalLabel": "Total deferred tax assets, gross"
       }
      }
     },
     "localname": "DeferredTaxAssetsGross",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureIncomeTaxExpensesCompositionOfDeferredTaxAssetsAndLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredTaxAssetsNet": {
     "auth_ref": [
      "r974"
     ],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureIncomeTaxExpensesCompositionOfDeferredTaxAssetsAndLiabilitiesDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_DeferredTaxLiabilities",
       "weight": -1.0
      },
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosurePrepaymentsReceivablesAndOtherAssetsDetails": {
       "order": 2.0,
       "parentTag": "baba_PrepaidExpenseReceivablesAndOtherAssetsNoncurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount after allocation of valuation allowances of deferred tax asset attributable to deductible temporary differences and carryforwards.",
        "label": "Deferred Tax Assets, Net of Valuation Allowance",
        "terseLabel": "Deferred tax assets (Note 7)",
        "totalLabel": "Total deferred tax assets"
       }
      }
     },
     "localname": "DeferredTaxAssetsNet",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureIncomeTaxExpensesCompositionOfDeferredTaxAssetsAndLiabilitiesDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosurePrepaymentsReceivablesAndOtherAssetsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredTaxAssetsValuationAllowance": {
     "auth_ref": [
      "r606"
     ],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureIncomeTaxExpensesCompositionOfDeferredTaxAssetsAndLiabilitiesDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_DeferredTaxAssetsNet",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of deferred tax assets for which it is more likely than not that a tax benefit will not be realized.",
        "label": "Deferred Tax Assets, Valuation Allowance",
        "negatedLabel": "Valuation allowance"
       }
      }
     },
     "localname": "DeferredTaxAssetsValuationAllowance",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureIncomeTaxExpensesCompositionOfDeferredTaxAssetsAndLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredTaxLiabilities": {
     "auth_ref": [
      "r145",
      "r974"
     ],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureIncomeTaxExpensesCompositionOfDeferredTaxAssetsAndLiabilitiesDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after deferred tax asset, of deferred tax liability attributable to taxable differences without jurisdictional netting.",
        "label": "Deferred Tax Liabilities, Net",
        "negatedTotalLabel": "Net deferred tax liabilities",
        "totalLabel": "Deferred Tax Liabilities, Net, Total"
       }
      }
     },
     "localname": "DeferredTaxLiabilities",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureIncomeTaxExpensesCompositionOfDeferredTaxAssetsAndLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredTaxLiabilitiesGoodwillAndIntangibleAssetsIntangibleAssets": {
     "auth_ref": [
      "r150",
      "r975"
     ],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureIncomeTaxExpensesCompositionOfDeferredTaxAssetsAndLiabilitiesDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_DeferredIncomeTaxLiabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of deferred tax liability attributable to taxable temporary differences from intangible assets other than goodwill.",
        "label": "Deferred Tax Liabilities, Intangible Assets",
        "negatedLabel": "Identifiable intangible assets"
       }
      }
     },
     "localname": "DeferredTaxLiabilitiesGoodwillAndIntangibleAssetsIntangibleAssets",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureIncomeTaxExpensesCompositionOfDeferredTaxAssetsAndLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DefinedContributionPlanCostRecognized": {
     "auth_ref": [
      "r546"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cost for defined contribution plan.",
        "label": "Defined Contribution Plan, Cost",
        "terseLabel": "Contribution amount charged to the consolidated income statements"
       }
      }
     },
     "localname": "DefinedContributionPlanCostRecognized",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesVariousDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DepreciationAndAmortizationAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Depreciation, Depletion and Amortization [Abstract]",
        "terseLabel": "Depreciation"
       }
      }
     },
     "localname": "DepreciationAndAmortizationAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosurePropertyAndEquipmentNetDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DepreciationDepletionAndAmortization": {
     "auth_ref": [
      "r68",
      "r375"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The aggregate expense recognized in the current period that allocates the cost of tangible assets, intangible assets, or depleting assets to periods that benefit from use of the assets.",
        "label": "Depreciation, Depletion and Amortization",
        "terseLabel": "Depreciation",
        "totalLabel": "Depreciation, Depletion and Amortization, Total"
       }
      }
     },
     "localname": "DepreciationDepletionAndAmortization",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosurePropertyAndEquipmentNetDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeContractTypeDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Financial instrument or contract with one or more underlyings, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset.",
        "label": "Derivative Contract [Domain]"
       }
      }
     },
     "localname": "DerivativeContractTypeDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureEquitySecuritiesAndOtherInvestmentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_DerivativeInstrumentRiskAxis": {
     "auth_ref": [
      "r193",
      "r194",
      "r196",
      "r197",
      "r841"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of derivative contract.",
        "label": "Derivative Instrument [Axis]"
       }
      }
     },
     "localname": "DerivativeInstrumentRiskAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureEquitySecuritiesAndOtherInvestmentsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DerivativeLiabilityFairValueOfCollateral": {
     "auth_ref": [
      "r282"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value of securities pledged as collateral against derivative liabilities.",
        "label": "Derivative Liability, Fair Value of Collateral",
        "terseLabel": "Derivative liability, fair value of collateral"
       }
      }
     },
     "localname": "DerivativeLiabilityFairValueOfCollateral",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureEquitySecuritiesAndOtherInvestmentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativesPolicyTextBlock": {
     "auth_ref": [
      "r188",
      "r189",
      "r190",
      "r191",
      "r198",
      "r317"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for its derivative instruments and hedging activities.",
        "label": "Derivatives, Policy [Policy Text Block]",
        "terseLabel": "Derivatives and hedging"
       }
      }
     },
     "localname": "DerivativesPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock": {
     "auth_ref": [
      "r553",
      "r584",
      "r585",
      "r587",
      "r592",
      "r865"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for share-based payment arrangement.",
        "label": "Share-Based Payment Arrangement [Text Block]",
        "terseLabel": "Share-based awards"
       }
      }
     },
     "localname": "DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureShareBasedAwards"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Share-Based Payment Arrangement [Abstract]"
       }
      }
     },
     "localname": "DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_DueFromAffiliateCurrent": {
     "auth_ref": [
      "r211",
      "r730",
      "r734"
     ],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosurePrepaymentsReceivablesAndOtherAssetsDetails": {
       "order": 3.0,
       "parentTag": "baba_PrepaidExpenseReceivablesAndOtherAssetsCurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of receivables due from an entity that is affiliated with the reporting entity by means of direct or indirect ownership, due within 1 year (or 1 business cycle).",
        "label": "Due from Affiliate, Current",
        "terseLabel": "Amounts due from related companies"
       }
      }
     },
     "localname": "DueFromAffiliateCurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosurePrepaymentsReceivablesAndOtherAssetsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DueToAffiliateCurrent": {
     "auth_ref": [
      "r4",
      "r211",
      "r250",
      "r902"
     ],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureAccruedExpensesAccountsPayableAndOtherLiabilitiesDetails": {
       "order": 8.0,
       "parentTag": "us-gaap_AccountsPayableAndAccruedLiabilitiesCurrent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of payable due to an entity that is affiliated with the reporting entity by means of direct or indirect ownership. Used to reflect the current portion of the liabilities (due within one year or within the normal operating cycle if longer).",
        "label": "Due to Affiliate, Current",
        "terseLabel": "Amounts due to related companies"
       }
      }
     },
     "localname": "DueToAffiliateCurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureAccruedExpensesAccountsPayableAndOtherLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EarningsPerShareAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Earnings Per Share [Abstract]",
        "terseLabel": "Earnings per share attributable to ordinary shareholders"
       }
      }
     },
     "localname": "EarningsPerShareAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedIncomeStatements"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_EarningsPerShareBasic": {
     "auth_ref": [
      "r303",
      "r329",
      "r330",
      "r331",
      "r332",
      "r333",
      "r340",
      "r343",
      "r354",
      "r355",
      "r356",
      "r360",
      "r653",
      "r654",
      "r797",
      "r804",
      "r846"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of net income (loss) for the period per each share of common stock or unit outstanding during the reporting period.",
        "label": "Earnings Per Share, Basic",
        "terseLabel": "Basic",
        "totalLabel": "Earnings Per Share, Basic, Total",
        "verboseLabel": "Net income per ordinary share - basic (RMB)"
       }
      }
     },
     "localname": "EarningsPerShareBasic",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureEarningsPerShareAdsDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedIncomeStatements"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_EarningsPerShareDiluted": {
     "auth_ref": [
      "r303",
      "r329",
      "r330",
      "r331",
      "r332",
      "r333",
      "r343",
      "r354",
      "r355",
      "r356",
      "r360",
      "r653",
      "r654",
      "r797",
      "r804",
      "r846"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of net income (loss) for the period available to each share of common stock or common unit outstanding during the reporting period and to each share or unit that would have been outstanding assuming the issuance of common shares or units for all dilutive potential common shares or units outstanding during the reporting period.",
        "label": "Earnings Per Share, Diluted",
        "terseLabel": "Diluted",
        "totalLabel": "Earnings Per Share, Diluted, Total",
        "verboseLabel": "Net income per ordinary share - diluted (RMB)"
       }
      }
     },
     "localname": "EarningsPerShareDiluted",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureEarningsPerShareAdsDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedIncomeStatements"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_EarningsPerShareTextBlock": {
     "auth_ref": [
      "r357",
      "r358",
      "r359",
      "r361"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for earnings per share.",
        "label": "Earnings Per Share [Text Block]",
        "terseLabel": "Earnings per share/ADS"
       }
      }
     },
     "localname": "EarningsPerShareTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureEarningsPerShareAds"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents": {
     "auth_ref": [
      "r682"
     ],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 3.0,
       "parentTag": "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase (decrease) from effect of exchange rate changes on cash and cash equivalents, and cash and cash equivalents restricted to withdrawal or usage; held in foreign currencies. Excludes amounts for disposal group and discontinued operations. Cash includes, but is not limited to, currency on hand, demand deposits with banks or financial institutions, and other accounts with general characteristics of demand deposits. Cash equivalents include, but are not limited to, short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates.",
        "label": "Effect of Exchange Rate on Cash, Cash Equivalents, Restricted Cash, and Restricted Cash Equivalents, Continuing Operations",
        "terseLabel": "Effect of exchange rate changes on cash and cash equivalents, restricted cash and escrow receivables"
       }
      }
     },
     "localname": "EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate": {
     "auth_ref": [
      "r315",
      "r600",
      "r623"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of domestic federal statutory tax rate applicable to pretax income (loss).",
        "label": "Effective Income Tax Rate Reconciliation, at Federal Statutory Income Tax Rate, Percent",
        "terseLabel": "Enterprise income tax rate (as a percent)",
        "verboseLabel": "Statutory EIT rate (as a percent)"
       }
      }
     },
     "localname": "EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureIncomeTaxExpensesGeneralDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureIncomeTaxExpensesReconciliationsDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_EmployeeRelatedLiabilitiesCurrent": {
     "auth_ref": [
      "r26"
     ],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureAccruedExpensesAccountsPayableAndOtherLiabilitiesDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_AccountsPayableAndAccruedLiabilitiesCurrent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Total of the carrying values as of the balance sheet date of obligations incurred through that date and payable for obligations related to services received from employees, such as accrued salaries and bonuses, payroll taxes and fringe benefits. Used to reflect the current portion of the liabilities (due within one year or within the normal operating cycle if longer).",
        "label": "Employee-related Liabilities, Current",
        "terseLabel": "Accrued bonus and staff costs, including sales commission",
        "totalLabel": "Employee-related Liabilities, Current, Total"
       }
      }
     },
     "localname": "EmployeeRelatedLiabilitiesCurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureAccruedExpensesAccountsPayableAndOtherLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized": {
     "auth_ref": [
      "r586"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cost not yet recognized for nonvested award under share-based payment arrangement.",
        "label": "Share-Based Payment Arrangement, Nonvested Award, Cost Not yet Recognized, Amount",
        "terseLabel": "Unamortized compensation costs",
        "totalLabel": "Share-Based Payment Arrangement, Nonvested Award, Cost Not yet Recognized, Amount, Total"
       }
      }
     },
     "localname": "EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSharebasedAwardsRsusDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSharebasedAwardsShareOptionsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1": {
     "auth_ref": [
      "r586"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted-average period over which cost not yet recognized is expected to be recognized for award under share-based payment arrangement, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days.",
        "label": "Share-Based Payment Arrangement, Nonvested Award, Cost Not yet Recognized, Period for Recognition",
        "terseLabel": "Weighted average period over which unamortized compensation costs expected be recognized"
       }
      }
     },
     "localname": "EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSharebasedAwardsRsusDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSharebasedAwardsShareOptionsDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_EntityWideInformationRevenueFromExternalCustomerLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "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.",
        "label": "Revenue from External Customer [Line Items]",
        "terseLabel": "Revenue by type of service"
       }
      }
     },
     "localname": "EntityWideInformationRevenueFromExternalCustomerLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureRevenueByTypeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_EquityComponentDomain": {
     "auth_ref": [
      "r119",
      "r260",
      "r294",
      "r295",
      "r296",
      "r319",
      "r320",
      "r321",
      "r325",
      "r334",
      "r336",
      "r363",
      "r426",
      "r532",
      "r588",
      "r589",
      "r590",
      "r614",
      "r615",
      "r652",
      "r683",
      "r684",
      "r685",
      "r686",
      "r687",
      "r689",
      "r724",
      "r810",
      "r811",
      "r812"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Components of equity are the parts of the total Equity balance including that which is allocated to common, preferred, treasury stock, retained earnings, etc.",
        "label": "Equity Component [Domain]"
       }
      }
     },
     "localname": "EquityComponentDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfChangesInShareholdersEquity"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_EquityMethodInvestmentAggregateCost": {
     "auth_ref": [
      "r20"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This element represents the aggregate cost of investments accounted for under the equity method of accounting.",
        "label": "Equity Method Investment, Aggregate Cost",
        "verboseLabel": "Cost of equity interest"
       }
      }
     },
     "localname": "EquityMethodInvestmentAggregateCost",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsEquityInvestmentsAndOthersDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EquityMethodInvestmentDifferenceBetweenCarryingAmountAndUnderlyingEquity": {
     "auth_ref": [
      "r91"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Difference between amount at which an investment accounted for under the equity method of accounting is carried (reported) on the balance sheet and amount of underlying equity in net assets the reporting Entity has in the investee.",
        "label": "Equity Method Investment, Difference Between Carrying Amount and Underlying Equity",
        "verboseLabel": "Difference between equity method carrying amount and underlying equity in net assets"
       }
      }
     },
     "localname": "EquityMethodInvestmentDifferenceBetweenCarryingAmountAndUnderlyingEquity",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsEquityInvestmentsAndOthersDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EquityMethodInvestmentDividendsOrDistributions": {
     "auth_ref": [
      "r45",
      "r63",
      "r68",
      "r246"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of distribution received from equity method investee for return on investment, classified as operating activities. Excludes distribution for return of investment, classified as investing activities.",
        "label": "Proceeds from Equity Method Investment, Distribution",
        "negatedLabel": "Distributions"
       }
      }
     },
     "localname": "EquityMethodInvestmentDividendsOrDistributions",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureInvestmentsInEquityMethodInvesteesGeneralDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EquityMethodInvestmentNonconsolidatedInvesteeAxis": {
     "auth_ref": [
      "r265",
      "r314",
      "r421",
      "r670"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by nonconsolidated equity method investee. Excludes information consolidated by reporting entity.",
        "label": "Equity Method Investment, Nonconsolidated Investee [Axis]"
       }
      }
     },
     "localname": "EquityMethodInvestmentNonconsolidatedInvesteeAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureInvestmentsInEquityMethodInvesteesSummarizedFinancialInformationOfEquityMethodInvestmentsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_EquityMethodInvestmentNonconsolidatedInvesteeDomain": {
     "auth_ref": [
      "r265",
      "r314",
      "r421",
      "r670"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Nonconsolidated equity method investee. Excludes information consolidated by reporting entity.",
        "label": "Equity Method Investment, Nonconsolidated Investee [Domain]"
       }
      }
     },
     "localname": "EquityMethodInvestmentNonconsolidatedInvesteeDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureInvestmentsInEquityMethodInvesteesSummarizedFinancialInformationOfEquityMethodInvestmentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_EquityMethodInvestmentNonconsolidatedInvesteeOrGroupOfInvesteesMember": {
     "auth_ref": [
      "r888",
      "r900",
      "r914",
      "r979"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Nonconsolidated equity method investee or group of nonconsolidated investees. Excludes information consolidated by reporting entity.",
        "label": "Equity Method Investment, Nonconsolidated Investee or Group of Investees [Member]",
        "terseLabel": "Equity method investments"
       }
      }
     },
     "localname": "EquityMethodInvestmentNonconsolidatedInvesteeOrGroupOfInvesteesMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureInvestmentsInEquityMethodInvesteesSummarizedFinancialInformationOfEquityMethodInvestmentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_EquityMethodInvestmentOtherThanTemporaryImpairment": {
     "auth_ref": [
      "r87"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This item represents an other than temporary decline in value that has been recognized against an investment accounted for under the equity method of accounting. The excess of the carrying amount over the fair value of the investment represents the amount of the write down which is or was reflected in earnings. The written down value is a new cost basis with the adjusted value of the investment becoming its new carrying value subject to the equity accounting method. Evidence of a loss in value might include, but would not necessarily be limited to, absence of an ability to recover the carrying amount of the investment or inability of the investee to sustain an earnings capacity which would justify the carrying amount of the investment.",
        "label": "Equity Method Investment, Other than Temporary Impairment",
        "negatedLabel": "Impairment loss"
       }
      }
     },
     "localname": "EquityMethodInvestmentOtherThanTemporaryImpairment",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureInvestmentsInEquityMethodInvesteesGeneralDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EquityMethodInvestmentOwnershipPercentage": {
     "auth_ref": [
      "r89"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The percentage of ownership of common stock or equity participation in the investee accounted for under the equity method of accounting.",
        "label": "Equity Method Investment, Ownership Percentage",
        "terseLabel": "Equity interest (as a percent)"
       }
      }
     },
     "localname": "EquityMethodInvestmentOwnershipPercentage",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureIncomeTaxExpensesCompositionOfDeferredTaxAssetsAndLiabilitiesDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsEquityInvestmentsAndOthersDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsSunArtDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_EquityMethodInvestmentQuotedMarketValue": {
     "auth_ref": [
      "r92"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This item represents the aggregate value of each identified investment accounted for under the equity method of accounting based on the quoted market price for those investments in common stock for which a quoted market price is available.",
        "label": "Equity Method Investment, Quoted Market Value",
        "terseLabel": "Market value of equity method investments"
       }
      }
     },
     "localname": "EquityMethodInvestmentQuotedMarketValue",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureInvestmentsInEquityMethodInvesteesAdditionalDetailsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EquityMethodInvestmentRealizedGainLossOnDisposal": {
     "auth_ref": [
      "r895",
      "r896",
      "r897"
     ],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 4.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of gain (loss) on sale or disposal of an equity method investment.",
        "label": "Equity Method Investment, Realized Gain (Loss) on Disposal",
        "negatedLabel": "(Gain) Loss on disposals of equity method investees"
       }
      }
     },
     "localname": "EquityMethodInvestmentRealizedGainLossOnDisposal",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EquityMethodInvestmentUnderlyingEquityInNetAssets": {
     "auth_ref": [
      "r91"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This item represents the entity's ownership percentage in the investee multiplied by the investee's total equity.",
        "label": "Equity Method Investment, Underlying Equity in Net Assets",
        "terseLabel": "Allocated to net assets acquired"
       }
      }
     },
     "localname": "EquityMethodInvestmentUnderlyingEquityInNetAssets",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsEquityInvestmentsAndOthersDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EquityMethodInvestments": {
     "auth_ref": [
      "r88",
      "r381",
      "r889"
     ],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedBalanceSheets": {
       "order": 3.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This item represents the carrying amount on the entity's balance sheet of its investment in common stock of an equity method investee. This is not an indicator of the fair value of the investment, rather it is the initial cost adjusted for the entity's share of earnings and losses of the investee, adjusted for any distributions (dividends) and other than temporary impairment (OTTI) losses recognized.",
        "label": "Equity Method Investments",
        "periodEndLabel": "Balance as of end of period",
        "periodStartLabel": "Balance as of beginning of period",
        "terseLabel": "Investments in equity method investees",
        "verboseLabel": "Carrying value of equity method investments"
       }
      }
     },
     "localname": "EquityMethodInvestments",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureInvestmentsInEquityMethodInvesteesAdditionalDetailsDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureInvestmentsInEquityMethodInvesteesGeneralDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EquityMethodInvestmentsDisclosureTextBlock": {
     "auth_ref": [
      "r422"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for equity method investments and joint ventures. Equity method investments are investments that give the investor the ability to exercise significant influence over the operating and financial policies of an investee. Joint ventures are entities owned and operated by a small group of businesses as a separate and specific business or project for the mutual benefit of the members of the group.",
        "label": "Equity Method Investments and Joint Ventures Disclosure [Text Block]",
        "terseLabel": "Investments in equity method investees"
       }
      }
     },
     "localname": "EquityMethodInvestmentsDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureInvestmentsInEquityMethodInvestees"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_EquityMethodInvestmentsPolicy": {
     "auth_ref": [
      "r63",
      "r90",
      "r204"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for equity method of accounting for investments and other interests. Investment includes, but is not limited to, unconsolidated subsidiary, corporate joint venture, noncontrolling interest in real estate venture, limited partnership, and limited liability company. Information includes, but is not limited to, ownership percentage, reason equity method is or is not considered appropriate, and accounting policy election for distribution received.",
        "label": "Equity Method Investments [Policy Text Block]",
        "terseLabel": "Investments in equity method investees"
       }
      }
     },
     "localname": "EquityMethodInvestmentsPolicy",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_EquityMethodInvestmentsTextBlock": {
     "auth_ref": [
      "r93"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of equity method investments including, but not limited to, name of each investee or group of investments, percentage ownership, difference between recorded amount of an investment and the value of the underlying equity in the net assets, and summarized financial information.",
        "label": "Equity Method Investments [Table Text Block]",
        "terseLabel": "Schedule of investments in equity method investees"
       }
      }
     },
     "localname": "EquityMethodInvestmentsTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureInvestmentsInEquityMethodInvesteesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_EquitySecuritiesFvNiCurrentAndNoncurrent": {
     "auth_ref": [
      "r274",
      "r667"
     ],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureFairValueMeasurementDetails": {
       "order": 4.0,
       "parentTag": "us-gaap_AssetsFairValueDisclosure",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of investment in equity security measured at fair value with change in fair value recognized in net income (FV-NI).",
        "label": "Equity Securities, FV-NI",
        "terseLabel": "Listed equity securities",
        "totalLabel": "Equity Securities, FV-NI, Total"
       }
      }
     },
     "localname": "EquitySecuritiesFvNiCurrentAndNoncurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureFairValueMeasurementDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EquitySecuritiesWithoutReadilyDeterminableFairValueAmount": {
     "auth_ref": [
      "r418"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of investment in equity security without readily determinable fair value.",
        "label": "Equity Securities without Readily Determinable Fair Value, Amount",
        "terseLabel": "Investments in privately held companies recorded using measurement alternative"
       }
      }
     },
     "localname": "EquitySecuritiesWithoutReadilyDeterminableFairValueAmount",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureEquitySecuritiesAndOtherInvestmentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EquitySecuritiesWithoutReadilyDeterminableFairValueUpwardPriceAdjustmentAnnualAmount": {
     "auth_ref": [
      "r419"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of gain from upward price adjustment on investment in equity security without readily determinable fair value.",
        "label": "Equity Securities without Readily Determinable Fair Value, Upward Price Adjustment, Annual Amount",
        "terseLabel": "Upward adjustments"
       }
      }
     },
     "localname": "EquitySecuritiesWithoutReadilyDeterminableFairValueUpwardPriceAdjustmentAnnualAmount",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureEquitySecuritiesAndOtherInvestmentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EquitySecuritiesWithoutReadilyDeterminableFairValueUpwardPriceAdjustmentCumulativeAmount": {
     "auth_ref": [
      "r419"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cumulative gain from upward price adjustment on investment in equity security without readily determinable fair value.",
        "label": "Equity Securities without Readily Determinable Fair Value, Upward Price Adjustment, Cumulative Amount",
        "terseLabel": "Cumulative upward adjustments"
       }
      }
     },
     "localname": "EquitySecuritiesWithoutReadilyDeterminableFairValueUpwardPriceAdjustmentCumulativeAmount",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureEquitySecuritiesAndOtherInvestmentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "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.",
        "label": "Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]",
        "terseLabel": "Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis"
       }
      }
     },
     "localname": "FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureFairValueMeasurementDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable": {
     "auth_ref": [
      "r659",
      "r660",
      "r665"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of information about asset and liability measured at fair value on recurring and nonrecurring basis.",
        "label": "Fair Value, Recurring and Nonrecurring [Table]"
       }
      }
     },
     "localname": "FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureFairValueMeasurementDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisGainLossIncludedInEarnings": {
     "auth_ref": [
      "r663"
     ],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 6.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of gain (loss) recognized in income from asset and liability measured at fair value on recurring basis using unobservable input (level 3).",
        "label": "Fair Value, Assets and Liabilities Measured on Recurring Basis, Gain (Loss) Included in Earnings",
        "negatedLabel": "Change in fair value of other assets and liabilities",
        "totalLabel": "Fair Value, Assets and Liabilities Measured on Recurring Basis, Gain (Loss) Included in Earnings, Total"
       }
      }
     },
     "localname": "FairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisGainLossIncludedInEarnings",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain": {
     "auth_ref": [
      "r200"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Class of asset.",
        "label": "Asset Class [Domain]"
       }
      }
     },
     "localname": "FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureFairValueMeasurementConvertibleAndExchangeableBondsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForward": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period.",
        "label": "Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward]",
        "terseLabel": "Convertible and exchangeable bonds accounted for under the fair value option"
       }
      }
     },
     "localname": "FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForward",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureFairValueMeasurementConvertibleAndExchangeableBondsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "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.",
        "label": "Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation [Line Items]",
        "terseLabel": "Convertible and exchangeable bonds accounted for under the fair value option"
       }
      }
     },
     "localname": "FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureFairValueMeasurementConvertibleAndExchangeableBondsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationTable": {
     "auth_ref": [
      "r200",
      "r203"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule of information required and determined to be provided for purposes of reconciling beginning and ending balances of fair value measurements of assets using significant unobservable inputs (level 3). Such reconciliation, separately presenting changes during the period, at a minimum, may include, but is not limited to: (1) total gains or losses for the period (realized and unrealized), segregating those gains or losses included in earnings (or changes in net assets) and gains or losses recognized in other comprehensive income, and a description of where those gains or losses included in earnings (or changes in net assets) are reported in the statement of income (or activities); (2) purchases, sales, issues, and settlements (each type disclosed separately); and (3) transfers in and transfers out of level 3 (for example, transfers due to changes in the observability of significant inputs), by class of asset.",
        "label": "Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation [Table]"
       }
      }
     },
     "localname": "FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureFairValueMeasurementConvertibleAndExchangeableBondsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationTextBlock": {
     "auth_ref": [
      "r200",
      "r203"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the fair value measurement of assets using significant unobservable inputs (Level 3), a reconciliation of the beginning and ending balances, separately presenting changes during the period attributable to the following: (1) total gains or losses for the period (realized and unrealized), segregating those gains or losses included in earnings (or changes in net assets) and gains or losses recognized in other comprehensive income (loss), and a description of where those gains or losses included in earnings (or changes in net assets) are reported in the statement of income (or activities); (2) purchases, sales, issues, and settlements (each type disclosed separately); and (3) transfers in and transfers out of Level 3 (for example, transfers due to changes in the observability of significant inputs), by class of asset.",
        "label": "Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation [Table Text Block]",
        "terseLabel": "Schedule of rolling forward of convertible bonds categorized within Level 3 under the fair value hierarchy"
       }
      }
     },
     "localname": "FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureFairValueMeasurementTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_FairValueByAssetClassAxis": {
     "auth_ref": [
      "r199",
      "r203"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by class of asset.",
        "label": "Asset Class [Axis]"
       }
      }
     },
     "localname": "FairValueByAssetClassAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureFairValueMeasurementConvertibleAndExchangeableBondsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueByFairValueHierarchyLevelAxis": {
     "auth_ref": [
      "r508",
      "r539",
      "r540",
      "r541",
      "r542",
      "r543",
      "r544",
      "r660",
      "r739",
      "r740",
      "r741",
      "r852",
      "r853",
      "r859",
      "r860",
      "r861"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by level within fair value hierarchy and fair value measured at net asset value per share as practical expedient.",
        "label": "Fair Value Hierarchy and NAV [Axis]"
       }
      }
     },
     "localname": "FairValueByFairValueHierarchyLevelAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureFairValueMeasurementContingentConsiderationDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureFairValueMeasurementConvertibleAndExchangeableBondsDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureFairValueMeasurementDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureUnsecuredSeniorNotesMaturityScheduleDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueByLiabilityClassAxis": {
     "auth_ref": [
      "r202",
      "r203"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by class of liability.",
        "label": "Liability Class [Axis]"
       }
      }
     },
     "localname": "FairValueByLiabilityClassAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureFairValueMeasurementContingentConsiderationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueByMeasurementFrequencyAxis": {
     "auth_ref": [
      "r659",
      "r660",
      "r661",
      "r662",
      "r666"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by measurement frequency.",
        "label": "Measurement Frequency [Axis]"
       }
      }
     },
     "localname": "FairValueByMeasurementFrequencyAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureFairValueMeasurementDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueDisclosuresAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fair Value Disclosures [Abstract]"
       }
      }
     },
     "localname": "FairValueDisclosuresAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueDisclosuresTextBlock": {
     "auth_ref": [
      "r664"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for the fair value of financial instruments (as defined), including financial assets and financial liabilities (collectively, as defined), and the measurements of those instruments as well as disclosures related to the fair value of non-financial assets and liabilities. Such disclosures about the financial instruments, assets, and liabilities would include: (1) the fair value of the required items together with their carrying amounts (as appropriate); (2) for items for which it is not practicable to estimate fair value, disclosure would include: (a) information pertinent to estimating fair value (including, carrying amount, effective interest rate, and maturity, and (b) the reasons why it is not practicable to estimate fair value; (3) significant concentrations of credit risk including: (a) information about the activity, region, or economic characteristics identifying a concentration, (b) the maximum amount of loss the entity is exposed to based on the gross fair value of the related item, (c) policy for requiring collateral or other security and information as to accessing such collateral or security, and (d) the nature and brief description of such collateral or security; (4) quantitative information about market risks and how such risks are managed; (5) for items measured on both a recurring and nonrecurring basis information regarding the inputs used to develop the fair value measurement; and (6) for items presented in the financial statement for which fair value measurement is elected: (a) information necessary to understand the reasons for the election, (b) discussion of the effect of fair value changes on earnings, (c) a description of [similar groups] items for which the election is made and the relation thereof to the balance sheet, the aggregate carrying value of items included in the balance sheet that are not eligible for the election; (7) all other required (as defined) and desired information.",
        "label": "Fair Value Disclosures [Text Block]",
        "terseLabel": "Fair value measurement"
       }
      }
     },
     "localname": "FairValueDisclosuresTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureFairValueMeasurement"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_FairValueInputsLevel1Member": {
     "auth_ref": [
      "r508",
      "r539",
      "r544",
      "r660",
      "r739",
      "r859",
      "r860",
      "r861"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Quoted prices in active markets for identical assets or liabilities that the reporting entity can access at the measurement date.",
        "label": "Fair Value, Inputs, Level 1 [Member]",
        "terseLabel": "Level 1"
       }
      }
     },
     "localname": "FairValueInputsLevel1Member",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureFairValueMeasurementDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueInputsLevel2Member": {
     "auth_ref": [
      "r508",
      "r539",
      "r544",
      "r660",
      "r740",
      "r852",
      "r853",
      "r859",
      "r860",
      "r861"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Inputs other than quoted prices included within level 1 that are observable for an asset or liability, either directly or indirectly, including, but not limited to, quoted prices for similar assets or liabilities in active markets, or quoted prices for identical or similar assets or liabilities in inactive markets.",
        "label": "Fair Value, Inputs, Level 2 [Member]",
        "terseLabel": "Level 2"
       }
      }
     },
     "localname": "FairValueInputsLevel2Member",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureFairValueMeasurementDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureUnsecuredSeniorNotesMaturityScheduleDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueInputsLevel3Member": {
     "auth_ref": [
      "r508",
      "r539",
      "r540",
      "r541",
      "r542",
      "r543",
      "r544",
      "r660",
      "r741",
      "r852",
      "r853",
      "r859",
      "r860",
      "r861"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Unobservable inputs that reflect the entity's own assumption about the assumptions market participants would use in pricing.",
        "label": "Fair Value, Inputs, Level 3 [Member]",
        "terseLabel": "Level 3"
       }
      }
     },
     "localname": "FairValueInputsLevel3Member",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureFairValueMeasurementContingentConsiderationDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureFairValueMeasurementConvertibleAndExchangeableBondsDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureFairValueMeasurementDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationByLiabilityClassDomain": {
     "auth_ref": [
      "r200"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents classes of liabilities measured and disclosed at fair value.",
        "label": "Fair Value by Liability Class [Domain]"
       }
      }
     },
     "localname": "FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationByLiabilityClassDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureFairValueMeasurementContingentConsiderationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForward": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period.",
        "label": "Fair Value, Liabilities Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward]",
        "terseLabel": "Contingent consideration in relation to investments and acquisitions"
       }
      }
     },
     "localname": "FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForward",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureFairValueMeasurementContingentConsiderationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "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.",
        "label": "Fair Value, Liabilities Measured on Recurring Basis, Unobservable Input Reconciliation [Line Items]",
        "terseLabel": "Contingent consideration in relation to investments and acquisitions"
       }
      }
     },
     "localname": "FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureFairValueMeasurementContingentConsiderationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationTable": {
     "auth_ref": [
      "r200",
      "r203"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule of information required and determined to be provided for purposes of reconciling beginning and ending balances of fair value measurements of liabilities using significant unobservable inputs (level 3). Separately presenting changes during the period, attributable to: (1) total gains or losses for the period (realized and unrealized) and location reported in the statement of income (or activities); (2) purchases, sales, issuances, and settlements (net); (3) transfers in and/or out of Level 3.",
        "label": "Fair Value, Liabilities Measured on Recurring Basis, Unobservable Input Reconciliation [Table]"
       }
      }
     },
     "localname": "FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureFairValueMeasurementContingentConsiderationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationTextBlock": {
     "auth_ref": [
      "r200",
      "r203"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the fair value measurement of liabilities using significant unobservable inputs (Level 3), a reconciliation of the beginning and ending balances, separately presenting changes attributable to the following: (1) total gains or losses for the period (realized and unrealized), segregating those gains or losses included in earnings (or changes in net assets), and gains or losses recognized in other comprehensive income (loss) and a description of where those gains or losses included in earnings (or changes in net assets) are reported in the statement of income (or activities); (2) purchases, sales, issues, and settlements (each type disclosed separately); and (3) transfers in and transfers out of Level 3 (for example, transfers due to changes in the observability of significant inputs) by class of liability.",
        "label": "Fair Value, Liabilities Measured on Recurring Basis, Unobservable Input Reconciliation [Table Text Block]",
        "terseLabel": "Schedule of rolling forward of contingent consideration in relation to investments and acquisitions categorized within Level 3 under the fair value hierarchy"
       }
      }
     },
     "localname": "FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureFairValueMeasurementTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_FairValueMeasurementFrequencyDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Measurement frequency.",
        "label": "Measurement Frequency [Domain]"
       }
      }
     },
     "localname": "FairValueMeasurementFrequencyDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureFairValueMeasurementDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetPurchases": {
     "auth_ref": [
      "r201"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of purchases of financial instrument classified as an asset measured using unobservable inputs that reflect the entity's own assumption about the assumptions market participants would use in pricing.",
        "label": "Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Asset, Purchases",
        "terseLabel": "Additions"
       }
      }
     },
     "localname": "FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetPurchases",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureFairValueMeasurementConvertibleAndExchangeableBondsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetSales": {
     "auth_ref": [
      "r201"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of sale of financial instrument classified as an asset measured using unobservable inputs that reflect the entity's own assumption about the assumptions market participants would use in pricing.",
        "label": "Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Asset, Sales",
        "negatedLabel": "Disposal"
       }
      }
     },
     "localname": "FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetSales",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureFairValueMeasurementConvertibleAndExchangeableBondsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetValue": {
     "auth_ref": [
      "r200"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value of financial instrument classified as an asset measured using unobservable inputs that reflect the entity's own assumption about the assumptions market participants would use in pricing.",
        "label": "Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Asset Value",
        "periodEndLabel": "Balance as of end",
        "periodStartLabel": "Balance as of beginning"
       }
      }
     },
     "localname": "FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetValue",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureFairValueMeasurementConvertibleAndExchangeableBondsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityIssues": {
     "auth_ref": [
      "r201"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of issuances of financial instrument classified as a liability measured using unobservable inputs that reflect the entity's own assumption about the assumptions market participants would use in pricing.",
        "label": "Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Liability, Issuances",
        "verboseLabel": "Additions"
       }
      }
     },
     "localname": "FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityIssues",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureFairValueMeasurementContingentConsiderationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilitySettlements": {
     "auth_ref": [
      "r201"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of settlements of financial instrument classified as a liability measured using unobservable inputs that reflect the entity's own assumption about the assumptions market participants would use in pricing.",
        "label": "Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Liability, Settlements",
        "negatedLabel": "Payment"
       }
      }
     },
     "localname": "FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilitySettlements",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureFairValueMeasurementContingentConsiderationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationsRecurringBasisLiabilityValue": {
     "auth_ref": [
      "r200"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value of financial instrument classified as a liability measured using unobservable inputs that reflect the entity's own assumption about the assumptions market participants would use in pricing.",
        "label": "Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Liability Value",
        "periodEndLabel": "Balance at end",
        "periodStartLabel": "Balance at beginning"
       }
      }
     },
     "localname": "FairValueMeasurementWithUnobservableInputsReconciliationsRecurringBasisLiabilityValue",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureFairValueMeasurementContingentConsiderationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FairValueMeasurementsFairValueHierarchyDomain": {
     "auth_ref": [
      "r508",
      "r539",
      "r540",
      "r541",
      "r542",
      "r543",
      "r544",
      "r739",
      "r740",
      "r741",
      "r852",
      "r853",
      "r859",
      "r860",
      "r861"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Categories used to prioritize the inputs to valuation techniques to measure fair value.",
        "label": "Fair Value Hierarchy and NAV [Domain]"
       }
      }
     },
     "localname": "FairValueMeasurementsFairValueHierarchyDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureFairValueMeasurementContingentConsiderationDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureFairValueMeasurementConvertibleAndExchangeableBondsDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureFairValueMeasurementDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureUnsecuredSeniorNotesMaturityScheduleDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueMeasurementsRecurringMember": {
     "auth_ref": [
      "r664",
      "r666"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Frequent fair value measurement. Includes, but is not limited to, fair value adjustment for impairment of asset, liability or equity, frequently measured at fair value.",
        "label": "Fair Value, Recurring [Member]",
        "terseLabel": "Recurring basis"
       }
      }
     },
     "localname": "FairValueMeasurementsRecurringMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureFairValueMeasurementDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FinancialInstrumentAxis": {
     "auth_ref": [
      "r416",
      "r417",
      "r432",
      "r435",
      "r436",
      "r437",
      "r438",
      "r439",
      "r440",
      "r441",
      "r519",
      "r530",
      "r642",
      "r736",
      "r737",
      "r738",
      "r739",
      "r740",
      "r741",
      "r742",
      "r743",
      "r744",
      "r745",
      "r746",
      "r747",
      "r748",
      "r749",
      "r753",
      "r754",
      "r755",
      "r756",
      "r757",
      "r758",
      "r759",
      "r760",
      "r761",
      "r762",
      "r763",
      "r764",
      "r765",
      "r766",
      "r767",
      "r768",
      "r849",
      "r911",
      "r912",
      "r913",
      "r998",
      "r999",
      "r1000",
      "r1001",
      "r1002",
      "r1003",
      "r1004"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of financial instrument.",
        "label": "Financial Instrument [Axis]"
       }
      }
     },
     "localname": "FinancialInstrumentAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureEquitySecuritiesAndOtherInvestmentsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FinancialInstrumentsDisclosureTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for financial instruments. This disclosure includes, but is not limited to, fair value measurements of short and long term marketable securities, international currencies forward contracts, and auction rate securities. Financial instruments may include hedging and non-hedging currency exchange instruments, derivatives, securitizations and securities available for sale at fair value. Also included are investment results, realized and unrealized gains and losses as well as impairments and risk management disclosures.",
        "label": "Financial Instruments Disclosure [Text Block]",
        "terseLabel": "Equity securities and other investments"
       }
      }
     },
     "localname": "FinancialInstrumentsDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureEquitySecuritiesAndOtherInvestments"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetUsefulLife": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Useful life of finite-lived intangible assets, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days.",
        "label": "Finite-Lived Intangible Asset, Useful Life",
        "terseLabel": "Estimated useful lives of intangible assets (in months/years)",
        "verboseLabel": "Estimated amortization periods"
       }
      }
     },
     "localname": "FiniteLivedIntangibleAssetUsefulLife",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsSunArtDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesLongLivedAssetsDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseAfterYearFive": {
     "auth_ref": [],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureIntangibleAssetsNetAmortizationDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_FiniteLivedIntangibleAssetsNet",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of amortization for asset, excluding financial asset and goodwill, lacking physical substance with finite life expected to be recognized after fifth fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Finite-Lived Intangible Asset, Expected Amortization, after Year Five",
        "terseLabel": "Thereafter"
       }
      }
     },
     "localname": "FiniteLivedIntangibleAssetsAmortizationExpenseAfterYearFive",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureIntangibleAssetsNetAmortizationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths": {
     "auth_ref": [
      "r101"
     ],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureIntangibleAssetsNetAmortizationDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_FiniteLivedIntangibleAssetsNet",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of amortization for assets, excluding financial assets and goodwill, lacking physical substance with finite life expected to be recognized in next fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Finite-Lived Intangible Asset, Expected Amortization, Year One",
        "terseLabel": "2024"
       }
      }
     },
     "localname": "FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureIntangibleAssetsNetAmortizationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFive": {
     "auth_ref": [
      "r101"
     ],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureIntangibleAssetsNetAmortizationDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_FiniteLivedIntangibleAssetsNet",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of amortization for assets, excluding financial assets and goodwill, lacking physical substance with finite life expected to be recognized in fifth fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Finite-Lived Intangible Asset, Expected Amortization, Year Five",
        "terseLabel": "2028"
       }
      }
     },
     "localname": "FiniteLivedIntangibleAssetsAmortizationExpenseYearFive",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureIntangibleAssetsNetAmortizationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFour": {
     "auth_ref": [
      "r101"
     ],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureIntangibleAssetsNetAmortizationDetails": {
       "order": 3.0,
       "parentTag": "us-gaap_FiniteLivedIntangibleAssetsNet",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of amortization for assets, excluding financial assets and goodwill, lacking physical substance with finite life expected to be recognized in fourth fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Finite-Lived Intangible Asset, Expected Amortization, Year Four",
        "terseLabel": "2027"
       }
      }
     },
     "localname": "FiniteLivedIntangibleAssetsAmortizationExpenseYearFour",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureIntangibleAssetsNetAmortizationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearThree": {
     "auth_ref": [
      "r101"
     ],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureIntangibleAssetsNetAmortizationDetails": {
       "order": 4.0,
       "parentTag": "us-gaap_FiniteLivedIntangibleAssetsNet",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of amortization for assets, excluding financial assets and goodwill, lacking physical substance with finite life expected to be recognized in third fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Finite-Lived Intangible Asset, Expected Amortization, Year Three",
        "terseLabel": "2026"
       }
      }
     },
     "localname": "FiniteLivedIntangibleAssetsAmortizationExpenseYearThree",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureIntangibleAssetsNetAmortizationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo": {
     "auth_ref": [
      "r101"
     ],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureIntangibleAssetsNetAmortizationDetails": {
       "order": 5.0,
       "parentTag": "us-gaap_FiniteLivedIntangibleAssetsNet",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of amortization for assets, excluding financial assets and goodwill, lacking physical substance with finite life expected to be recognized in second fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Finite-Lived Intangible Asset, Expected Amortization, Year Two",
        "terseLabel": "2025"
       }
      }
     },
     "localname": "FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureIntangibleAssetsNetAmortizationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis": {
     "auth_ref": [
      "r460",
      "r462",
      "r463",
      "r464",
      "r772",
      "r779"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by major type or class of finite-lived intangible assets.",
        "label": "Finite-Lived Intangible Assets by Major Class [Axis]"
       }
      }
     },
     "localname": "FiniteLivedIntangibleAssetsByMajorClassAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureIntangibleAssetsNetGeneralDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsSunArtDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesLongLivedAssetsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetsGross": {
     "auth_ref": [
      "r99",
      "r779"
     ],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureIntangibleAssetsNetGeneralDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_FiniteLivedIntangibleAssetsNet",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount before amortization of assets, excluding financial assets and goodwill, lacking physical substance with a finite life.",
        "label": "Finite-Lived Intangible Assets, Gross",
        "terseLabel": "Gross carrying amount",
        "totalLabel": "Finite-Lived Intangible Assets, Gross, Total"
       }
      }
     },
     "localname": "FiniteLivedIntangibleAssetsGross",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureIntangibleAssetsNetGeneralDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "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.",
        "label": "Finite-Lived Intangible Assets [Line Items]",
        "verboseLabel": "Intangible assets, net"
       }
      }
     },
     "localname": "FiniteLivedIntangibleAssetsLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureIntangibleAssetsNetGeneralDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain": {
     "auth_ref": [
      "r95",
      "r98"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The major class of finite-lived intangible asset (for example, patents, trademarks, copyrights, etc.) A major class is composed of intangible assets that can be grouped together because they are similar, either by their nature or by their use in the operations of a company.",
        "label": "Finite-Lived Intangible Assets, Major Class Name [Domain]"
       }
      }
     },
     "localname": "FiniteLivedIntangibleAssetsMajorClassNameDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureIntangibleAssetsNetGeneralDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsSunArtDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesLongLivedAssetsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetsNet": {
     "auth_ref": [
      "r99",
      "r772"
     ],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureIntangibleAssetsNetAmortizationDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureIntangibleAssetsNetGeneralDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedBalanceSheets": {
       "order": 1.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount after amortization of assets, excluding financial assets and goodwill, lacking physical substance with a finite life.",
        "label": "Finite-Lived Intangible Assets, Net",
        "periodEndLabel": "Finite-Lived Intangible Assets, Net, Ending Balance",
        "periodStartLabel": "Finite-Lived Intangible Assets, Net, Beginning Balance",
        "terseLabel": "Intangible assets, net",
        "totalLabel": "Net book value"
       }
      }
     },
     "localname": "FiniteLivedIntangibleAssetsNet",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureIntangibleAssetsNetAmortizationDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureIntangibleAssetsNetGeneralDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetsNetAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Finite-Lived Intangible Assets, Net [Abstract]"
       }
      }
     },
     "localname": "FiniteLivedIntangibleAssetsNetAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_FinitelivedIntangibleAssetsAcquired1": {
     "auth_ref": [
      "r461"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase in assets, excluding financial assets, lacking physical substance with a definite life, from an acquisition.",
        "label": "Finite-Lived Intangible Assets Acquired",
        "terseLabel": "Intangible assets acquired"
       }
      }
     },
     "localname": "FinitelivedIntangibleAssetsAcquired1",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureIntangibleAssetsNetGeneralDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ForeignCurrencyTransactionsAndTranslationsPolicyTextBlock": {
     "auth_ref": [
      "r691"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for (1) transactions denominated in a currency other than the reporting enterprise's functional currency, (2) translating foreign currency financial statements that are incorporated into the financial statements of the reporting enterprise by consolidation, combination, or the equity method of accounting, and (3) remeasurement of the financial statements of a foreign reporting enterprise in a hyperinflationary economy.",
        "label": "Foreign Currency Transactions and Translations Policy [Policy Text Block]",
        "terseLabel": "Foreign currency translation"
       }
      }
     },
     "localname": "ForeignCurrencyTransactionsAndTranslationsPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_GainLossOnDispositionOfAssets": {
     "auth_ref": [
      "r897",
      "r927",
      "r928"
     ],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 13.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of gain (loss) on sale or disposal of property, plant and equipment assets, excluding oil and gas property and timber property.",
        "label": "Gain (Loss) on Disposition of Property Plant Equipment, Excluding Oil and Gas Property and Timber Property",
        "negatedLabel": "Loss (Gain) on disposals of property and equipment"
       }
      }
     },
     "localname": "GainLossOnDispositionOfAssets",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_GainOrLossOnSaleOfStockInSubsidiary": {
     "auth_ref": [
      "r895",
      "r896",
      "r897",
      "r994",
      "r995"
     ],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 8.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of gain (loss) on sale or disposal of equity in securities of subsidiaries.",
        "label": "Gain (Loss) on Disposition of Stock in Subsidiary",
        "negatedLabel": "Gain on disposals of subsidiaries"
       }
      }
     },
     "localname": "GainOrLossOnSaleOfStockInSubsidiary",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_GeneralAndAdministrativeExpense": {
     "auth_ref": [
      "r51"
     ],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedIncomeStatements": {
       "order": 4.0,
       "parentTag": "us-gaap_OperatingIncomeLoss",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The aggregate total of expenses of managing and administering the affairs of an entity, including affiliates of the reporting entity, which are not directly or indirectly associated with the manufacture, sale or creation of a product or product line.",
        "label": "General and Administrative Expense",
        "negatedLabel": "General and administrative expenses",
        "totalLabel": "General and Administrative Expense, Total"
       }
      }
     },
     "localname": "GeneralAndAdministrativeExpense",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedIncomeStatements"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_GeneralAndAdministrativeExpenseMember": {
     "auth_ref": [
      "r47"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Primary financial statement caption encompassing general and administrative expense.",
        "label": "General and Administrative Expense [Member]",
        "terseLabel": "General and administrative expenses"
       }
      }
     },
     "localname": "GeneralAndAdministrativeExpenseMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSharebasedAwardsExpenseByFunctionDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_GeneralDiscussionOfPensionAndOtherPostretirementBenefitsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Retirement Benefits, Description [Abstract]",
        "terseLabel": "Other employee benefits"
       }
      }
     },
     "localname": "GeneralDiscussionOfPensionAndOtherPostretirementBenefitsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesVariousDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_Goodwill": {
     "auth_ref": [
      "r271",
      "r445",
      "r792",
      "r850",
      "r870",
      "r915",
      "r922"
     ],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsOtherAcquisitionsDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedLessNoncontrollingInterest",
       "weight": 1.0
      },
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsSunArtDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedLessNoncontrollingInterest",
       "weight": 1.0
      },
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedBalanceSheets": {
       "order": 2.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount after accumulated impairment loss of an asset representing future economic benefits arising from other assets acquired in a business combination that are not individually identified and separately recognized.",
        "label": "Goodwill",
        "periodEndLabel": "Goodwill at the end of period",
        "periodStartLabel": "Goodwill at the beginning of period",
        "terseLabel": "Goodwill",
        "totalLabel": "Goodwill, Total"
       }
      }
     },
     "localname": "Goodwill",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureGoodwillDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsOtherAcquisitionsDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsSunArtDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_GoodwillAcquiredDuringPeriod": {
     "auth_ref": [
      "r448",
      "r850"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase in asset representing future economic benefits arising from other assets acquired in a business combination that are not individually identified and separately recognized resulting from a business combination.",
        "label": "Goodwill, Acquired During Period",
        "terseLabel": "Additions"
       }
      }
     },
     "localname": "GoodwillAcquiredDuringPeriod",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureGoodwillDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_GoodwillAndIntangibleAssetImpairment": {
     "auth_ref": [],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 12.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Total loss recognized during the period from the impairment of goodwill plus the loss recognized in the period resulting from the impairment of the carrying amount of intangible assets, other than goodwill.",
        "label": "Goodwill and Intangible Asset Impairment",
        "totalLabel": "Goodwill and Intangible Asset Impairment, Total",
        "verboseLabel": "Impairment of goodwill, intangible assets and licensed copyrights"
       }
      }
     },
     "localname": "GoodwillAndIntangibleAssetImpairment",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_GoodwillAndIntangibleAssetsDisclosureAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Goodwill and Intangible Assets Disclosure [Abstract]"
       }
      }
     },
     "localname": "GoodwillAndIntangibleAssetsDisclosureAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_GoodwillAndIntangibleAssetsGoodwillPolicy": {
     "auth_ref": [
      "r458",
      "r459",
      "r850"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for goodwill. This accounting policy also may address how an entity assesses and measures impairment of goodwill, how reporting units are determined, how goodwill is allocated to such units, and how the fair values of the reporting units are determined.",
        "label": "Goodwill and Intangible Assets, Goodwill, Policy [Policy Text Block]",
        "terseLabel": "Goodwill"
       }
      }
     },
     "localname": "GoodwillAndIntangibleAssetsGoodwillPolicy",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_GoodwillAndIntangibleAssetsIntangibleAssetsPolicy": {
     "auth_ref": [
      "r97"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for intangible assets. This accounting policy may address both intangible assets subject to amortization and those that are not. The following also may be disclosed: (1) a description of intangible assets (2) the estimated useful lives of those assets (3) the amortization method used (4) how the entity assesses and measures impairment of such assets (5) how future cash flows are estimated (6) how the fair values of such asset are determined.",
        "label": "Goodwill and Intangible Assets, Intangible Assets, Policy [Policy Text Block]",
        "terseLabel": "Intangible assets other than licensed copyrights"
       }
      }
     },
     "localname": "GoodwillAndIntangibleAssetsIntangibleAssetsPolicy",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_GoodwillDisclosureTextBlock": {
     "auth_ref": [
      "r455",
      "r457",
      "r459",
      "r850"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for goodwill.",
        "label": "Goodwill Disclosure [Text Block]",
        "terseLabel": "Goodwill"
       }
      }
     },
     "localname": "GoodwillDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureGoodwill"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_GoodwillForeignCurrencyTranslationGainLoss": {
     "auth_ref": [
      "r452"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of foreign currency translation gain (loss) which increases (decreases) an asset representing future economic benefits from other assets acquired in a business combination that are not individually identified and separately recognized.",
        "label": "Goodwill, Foreign Currency Translation Gain (Loss)",
        "terseLabel": "Foreign currency translation adjustments"
       }
      }
     },
     "localname": "GoodwillForeignCurrencyTranslationGainLoss",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureGoodwillDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_GoodwillGross": {
     "auth_ref": [
      "r447",
      "r454",
      "r850"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount before accumulated impairment loss of an asset representing future economic benefits arising from other assets acquired in a business combination that are not individually identified and separately recognized.",
        "label": "Goodwill, Gross",
        "terseLabel": "Gross goodwill"
       }
      }
     },
     "localname": "GoodwillGross",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureGoodwillDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_GoodwillImpairedAccumulatedImpairmentLoss": {
     "auth_ref": [
      "r447",
      "r454",
      "r850"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of accumulated impairment loss for an asset representing future economic benefits arising from other assets acquired in a business combination that are not individually identified and separately recognized.",
        "label": "Goodwill, Impaired, Accumulated Impairment Loss",
        "terseLabel": "Accumulated impairment losses of goodwill"
       }
      }
     },
     "localname": "GoodwillImpairedAccumulatedImpairmentLoss",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureGoodwillDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_GoodwillImpairedAccumulatedImpairmentLossAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Goodwill, Impaired, Accumulated Impairment Loss [Abstract]",
        "terseLabel": "Goodwill, Impaired, Accumulated Impairment Loss"
       }
      }
     },
     "localname": "GoodwillImpairedAccumulatedImpairmentLossAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureGoodwillDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_GoodwillImpairmentLoss": {
     "auth_ref": [
      "r68",
      "r446",
      "r451",
      "r458",
      "r850"
     ],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedIncomeStatements": {
       "order": 6.0,
       "parentTag": "us-gaap_OperatingIncomeLoss",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "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.",
        "label": "Goodwill, Impairment Loss",
        "negatedLabel": "Impairment of goodwill",
        "negatedTerseLabel": "Impairment",
        "terseLabel": "Add: Impairment of goodwill"
       }
      }
     },
     "localname": "GoodwillImpairmentLoss",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureGoodwillDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSegmentInformationReconciliationFromAdjustedEbitaToConsolidatedNetIncomeDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSegmentInformationSegmentEbitaAndSegmentEbitdaDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedIncomeStatements"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_GoodwillRollForward": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period.",
        "label": "Goodwill [Roll Forward]",
        "terseLabel": "Changes in goodwill"
       }
      }
     },
     "localname": "GoodwillRollForward",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureGoodwillDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ImpairmentOfIntangibleAssetFiniteLivedStatementOfIncomeOrComprehensiveIncomeExtensibleEnumeration": {
     "auth_ref": [
      "r465"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicates line item in statement of income or comprehensive income that includes impairment of finite-lived intangible asset.",
        "label": "Impairment, Intangible Asset, Finite-Lived, Statement of Income or Comprehensive Income [Extensible Enumeration]"
       }
      }
     },
     "localname": "ImpairmentOfIntangibleAssetFiniteLivedStatementOfIncomeOrComprehensiveIncomeExtensibleEnumeration",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesLongLivedAssetsDetails"
     ],
     "xbrltype": "enumerationSetItemType"
    },
    "us-gaap_ImpairmentOfIntangibleAssetsFinitelived": {
     "auth_ref": [
      "r897",
      "r926"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of impairment loss recognized in the period resulting from the write-down of the carrying amount of a finite-lived intangible asset to fair value.",
        "label": "Impairment of Intangible Assets, Finite-Lived",
        "verboseLabel": "Impairment charges"
       }
      }
     },
     "localname": "ImpairmentOfIntangibleAssetsFinitelived",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesLongLivedAssetsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ImpairmentOrDisposalOfLongLivedAssetsPolicyTextBlock": {
     "auth_ref": [
      "r102",
      "r105"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for recognizing and measuring the impairment of long-lived assets. An entity also may disclose its accounting policy for long-lived assets to be sold. This policy excludes goodwill and intangible assets.",
        "label": "Impairment or Disposal of Long-Lived Assets, Policy [Policy Text Block]",
        "terseLabel": "Impairment of long-lived assets other than goodwill and licensed copyrights"
       }
      }
     },
     "localname": "ImpairmentOrDisposalOfLongLivedAssetsPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest": {
     "auth_ref": [
      "r44",
      "r214",
      "r226",
      "r248",
      "r380",
      "r390",
      "r396",
      "r398",
      "r798",
      "r848"
     ],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedIncomeStatements": {
       "order": 0.0,
       "parentTag": "us-gaap_ProfitLoss",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of income (loss) from continuing operations, including income (loss) from equity method investments, before deduction of income tax expense (benefit), and income (loss) attributable to noncontrolling interest.",
        "label": "Income (Loss) from Continuing Operations before Income Taxes, Noncontrolling Interest",
        "terseLabel": "Income before income tax and share of result of equity method investees",
        "totalLabel": "Income before income tax and share of results of equity method investees"
       }
      }
     },
     "localname": "IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureIncomeTaxExpensesReconciliationsDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedIncomeStatements"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncomeStatementAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Income Statement [Abstract]"
       }
      }
     },
     "localname": "IncomeStatementAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_IncomeStatementLocationAxis": {
     "auth_ref": [
      "r467",
      "r469"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by location in the income statement.",
        "label": "Income Statement Location [Axis]"
       }
      }
     },
     "localname": "IncomeStatementLocationAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSharebasedAwardsExpenseByFunctionDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesLongLivedAssetsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_IncomeStatementLocationDomain": {
     "auth_ref": [
      "r469"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Location in the income statement.",
        "label": "Income Statement Location [Domain]"
       }
      }
     },
     "localname": "IncomeStatementLocationDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSharebasedAwardsExpenseByFunctionDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesLongLivedAssetsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_IncomeTaxCreditsAndAdjustments": {
     "auth_ref": [
      "r69"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A credit or adjustment for government or taxing authority authorized decrease in taxes owed as a result of meeting certain tax policy conditions.",
        "label": "Income Tax Credits and Adjustments",
        "terseLabel": "Total tax adjustments"
       }
      }
     },
     "localname": "IncomeTaxCreditsAndAdjustments",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureIncomeTaxExpensesGeneralDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncomeTaxDisclosureAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Income Tax Disclosure [Abstract]"
       }
      }
     },
     "localname": "IncomeTaxDisclosureAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_IncomeTaxDisclosureTextBlock": {
     "auth_ref": [
      "r315",
      "r601",
      "r602",
      "r608",
      "r619",
      "r624",
      "r626",
      "r627",
      "r629"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for income taxes. Disclosures may include net deferred tax liability or asset recognized in an enterprise's statement of financial position, net change during the year in the total valuation allowance, approximate tax effect of each type of temporary difference and carryforward that gives rise to a significant portion of deferred tax liabilities and deferred tax assets, utilization of a tax carryback, and tax uncertainties information.",
        "label": "Income Tax Disclosure [Text Block]",
        "terseLabel": "Income tax expenses"
       }
      }
     },
     "localname": "IncomeTaxDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureIncomeTaxExpenses"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_IncomeTaxExpenseBenefit": {
     "auth_ref": [
      "r316",
      "r335",
      "r336",
      "r378",
      "r599",
      "r620",
      "r625",
      "r806"
     ],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureIncomeTaxExpensesGeneralDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureIncomeTaxExpensesReconciliationsDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedIncomeStatements": {
       "order": 2.0,
       "parentTag": "us-gaap_ProfitLoss",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of current income tax expense (benefit) and deferred income tax expense (benefit) pertaining to continuing operations.",
        "label": "Income Tax Expense (Benefit)",
        "negatedLabel": "Income tax expenses",
        "totalLabel": "Income tax expenses"
       }
      }
     },
     "localname": "IncomeTaxExpenseBenefit",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureIncomeTaxExpensesGeneralDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureIncomeTaxExpensesReconciliationsDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSegmentInformationReconciliationFromAdjustedEbitaToConsolidatedNetIncomeDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedIncomeStatements"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncomeTaxExpenseBenefitContinuingOperationsIncomeTaxReconciliationAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Income Tax Expense (Benefit), Effective Income Tax Rate Reconciliation, Amount [Abstract]",
        "terseLabel": "Reconciliation of the differences between the statutory EIT rate applicable to profits of the consolidated entities and the income tax expenses of the Company"
       }
      }
     },
     "localname": "IncomeTaxExpenseBenefitContinuingOperationsIncomeTaxReconciliationAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureIncomeTaxExpensesReconciliationsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_IncomeTaxHolidayIncomeTaxBenefitsPerShare": {
     "auth_ref": [
      "r624"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Per share amount effect of the income tax benefit resulting from the income tax holidays granted by taxing jurisdictions.",
        "label": "Income Tax Holiday, Income Tax Benefits Per Share",
        "terseLabel": "Effect of tax holidays inside the PRC on basic earnings per share/ADS (RMB)"
       }
      }
     },
     "localname": "IncomeTaxHolidayIncomeTaxBenefitsPerShare",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureIncomeTaxExpensesReconciliationsDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_IncomeTaxHolidayLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "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.",
        "label": "Income Tax Holiday [Line Items]",
        "terseLabel": "Tax holiday effect"
       }
      }
     },
     "localname": "IncomeTaxHolidayLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureIncomeTaxExpensesReconciliationsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_IncomeTaxHolidayTable": {
     "auth_ref": [
      "r153"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Income tax-exemptions and reductions which may be granted by a taxing authority for a specified period. Such \"tax holidays\" are typically granted to induce business investment in the tax jurisdiction.",
        "label": "Income Tax Holiday [Table]"
       }
      }
     },
     "localname": "IncomeTaxHolidayTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureIncomeTaxExpensesReconciliationsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_IncomeTaxPolicyTextBlock": {
     "auth_ref": [
      "r293",
      "r595",
      "r596",
      "r602",
      "r603",
      "r607",
      "r611"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for income taxes, which may include its accounting policies for recognizing and measuring deferred tax assets and liabilities and related valuation allowances, recognizing investment tax credits, operating loss carryforwards, tax credit carryforwards, and other carryforwards, methodologies for determining its effective income tax rate and the characterization of interest and penalties in the financial statements.",
        "label": "Income Tax, Policy [Policy Text Block]",
        "terseLabel": "Income taxes"
       }
      }
     },
     "localname": "IncomeTaxPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_IncomeTaxReconciliationForeignIncomeTaxRateDifferential": {
     "auth_ref": [
      "r973"
     ],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureIncomeTaxExpensesReconciliationsDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_IncomeTaxExpenseBenefit",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of the difference between reported income tax expense (benefit) and expected income tax expense (benefit) computed by applying the domestic federal statutory income tax rates to pretax income (loss) from continuing operations attributable to foreign income tax expense (benefit).",
        "label": "Effective Income Tax Rate Reconciliation, Foreign Income Tax Rate Differential, Amount",
        "terseLabel": "Effect of different tax rates available to different jurisdictions"
       }
      }
     },
     "localname": "IncomeTaxReconciliationForeignIncomeTaxRateDifferential",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureIncomeTaxExpensesReconciliationsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncomeTaxReconciliationIncomeTaxExpenseBenefitAtFederalStatutoryIncomeTaxRate": {
     "auth_ref": [
      "r600"
     ],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureIncomeTaxExpensesReconciliationsDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_IncomeTaxExpenseBenefit",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of income tax expense or benefit for the period computed by applying the domestic federal statutory tax rates to pretax income from continuing operations.",
        "label": "Effective Income Tax Rate Reconciliation at Federal Statutory Income Tax Rate, Amount",
        "terseLabel": "Income tax computed at statutory EIT rate (25%)"
       }
      }
     },
     "localname": "IncomeTaxReconciliationIncomeTaxExpenseBenefitAtFederalStatutoryIncomeTaxRate",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureIncomeTaxExpensesReconciliationsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncomeTaxReconciliationTaxCreditsResearch": {
     "auth_ref": [
      "r973"
     ],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureIncomeTaxExpensesReconciliationsDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_IncomeTaxExpenseBenefit",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of the difference between reported income tax expense (benefit) and expected income tax expense (benefit) computed by applying the domestic federal statutory income tax rates to pretax income (loss) from continuing operations attributable to research tax credit.",
        "label": "Effective Income Tax Rate Reconciliation, Tax Credit, Research, Amount",
        "negatedLabel": "Additional deductions of certain research and development expenses incurred by subsidiaries in the PRC"
       }
      }
     },
     "localname": "IncomeTaxReconciliationTaxCreditsResearch",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureIncomeTaxExpensesReconciliationsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncomeTaxReconciliationTaxHolidays": {
     "auth_ref": [
      "r973"
     ],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureIncomeTaxExpensesReconciliationsDetails": {
       "order": 3.0,
       "parentTag": "us-gaap_IncomeTaxExpenseBenefit",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of the difference between reported income tax expense (benefit) and expected income tax expense (benefit) computed by applying the domestic federal statutory income tax rates to pretax income (loss) from continuing operations attributable to income exempt from income tax because of a tax holiday.",
        "label": "Effective Income Tax Rate Reconciliation, Tax Holiday, Amount",
        "negatedLabel": "Effect of tax holiday and preferential tax benefit on assessable profits of subsidiaries incorporated in the PRC"
       }
      }
     },
     "localname": "IncomeTaxReconciliationTaxHolidays",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureIncomeTaxExpensesReconciliationsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncomeTaxesPaid": {
     "auth_ref": [
      "r65",
      "r72"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of cash paid during the current period to foreign, federal, state, and local authorities as taxes on income.",
        "label": "Income Taxes Paid",
        "terseLabel": "Payment of income tax"
       }
      }
     },
     "localname": "IncomeTaxesPaid",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInAccountsPayableAndAccruedLiabilities": {
     "auth_ref": [
      "r67"
     ],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 17.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The increase (decrease) during the reporting period in the amounts payable to vendors for goods and services received and the amount of obligations and expenses incurred but not paid.",
        "label": "Increase (Decrease) in Accounts Payable and Accrued Liabilities",
        "terseLabel": "Accrued expenses, accounts payable and other liabilities",
        "totalLabel": "Increase (Decrease) in Accounts Payable and Accrued Liabilities, Total"
       }
      }
     },
     "localname": "IncreaseDecreaseInAccountsPayableAndAccruedLiabilities",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInAccruedIncomeTaxesPayable": {
     "auth_ref": [
      "r67"
     ],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 19.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The increase (decrease) during the period in the amount due for taxes based on the reporting entity's earnings or attributable to the entity's income earning process (business presence) within a given jurisdiction.",
        "label": "Increase (Decrease) in Income Taxes Payable",
        "terseLabel": "Income tax payable"
       }
      }
     },
     "localname": "IncreaseDecreaseInAccruedIncomeTaxesPayable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInOperatingCapitalAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Increase (Decrease) in Operating Capital [Abstract]",
        "terseLabel": "Changes in assets and liabilities, net of effects of acquisitions and disposals:"
       }
      }
     },
     "localname": "IncreaseDecreaseInOperatingCapitalAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_IncreaseDecreaseInStockholdersEquityRollForward": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period.",
        "label": "Increase (Decrease) in Stockholders' Equity [Roll Forward]",
        "terseLabel": "Increase (Decrease) in Stockholders' Equity"
       }
      }
     },
     "localname": "IncreaseDecreaseInStockholdersEquityRollForward",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfChangesInShareholdersEquity"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements": {
     "auth_ref": [
      "r344",
      "r345",
      "r346",
      "r356",
      "r552"
     ],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureEarningsPerShareAdsDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding",
       "weight": 1.0
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Additional shares included in the calculation of diluted EPS as a result of the potentially dilutive effect of share based payment arrangements using the treasury stock method.",
        "label": "Incremental Common Shares Attributable to Dilutive Effect of Share-Based Payment Arrangements",
        "terseLabel": "Adjustments for dilutive RSUs and share options (million shares)"
       }
      }
     },
     "localname": "IncrementalCommonSharesAttributableToShareBasedPaymentArrangements",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureEarningsPerShareAdsDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_IntangibleAssetsDisclosureTextBlock": {
     "auth_ref": [
      "r466"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for all or part of the information related to intangible assets.",
        "label": "Intangible Assets Disclosure [Text Block]",
        "terseLabel": "Intangible assets, net"
       }
      }
     },
     "localname": "IntangibleAssetsDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureIntangibleAssetsNet"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_InterestExpense": {
     "auth_ref": [
      "r208",
      "r229",
      "r297",
      "r374",
      "r694"
     ],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedIncomeStatements": {
       "order": 2.0,
       "parentTag": "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of the cost of borrowed funds accounted for as interest expense.",
        "label": "Interest Expense",
        "negatedLabel": "Interest expense",
        "totalLabel": "Interest Expense, Total"
       }
      }
     },
     "localname": "InterestExpense",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSegmentInformationReconciliationFromAdjustedEbitaToConsolidatedNetIncomeDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedIncomeStatements"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestPaidNet": {
     "auth_ref": [
      "r304",
      "r307",
      "r308"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash paid for interest, excluding capitalized interest, classified as operating activity. Includes, but is not limited to, payment to settle zero-coupon bond for accreted interest of debt discount and debt instrument with insignificant coupon interest rate in relation to effective interest rate of borrowing attributable to accreted interest of debt discount.",
        "label": "Interest Paid, Excluding Capitalized Interest, Operating Activities",
        "terseLabel": "Payment of interest"
       }
      }
     },
     "localname": "InterestPaidNet",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestReceivableCurrent": {
     "auth_ref": [
      "r890"
     ],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosurePrepaymentsReceivablesAndOtherAssetsDetails": {
       "order": 4.0,
       "parentTag": "baba_PrepaidExpenseReceivablesAndOtherAssetsCurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Carrying amount as of the balance sheet date of current interest earned but not received. Also called accrued interest or accrued interest receivable. For classified balance sheets, represents the current amount receivable, that is amounts expected to be collected within one year or the normal operating cycle, if longer.",
        "label": "Interest Receivable, Current",
        "terseLabel": "Interest receivables"
       }
      }
     },
     "localname": "InterestReceivableCurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosurePrepaymentsReceivablesAndOtherAssetsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InventoryPolicyTextBlock": {
     "auth_ref": [
      "r268",
      "r279",
      "r362",
      "r442",
      "r443",
      "r444",
      "r770",
      "r843"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of inventory accounting policy for inventory classes, including, but not limited to, basis for determining inventory amounts, methods by which amounts are added and removed from inventory classes, loss recognition on impairment of inventories, and situations in which inventories are stated above cost.",
        "label": "Inventory, Policy [Policy Text Block]",
        "terseLabel": "Inventories"
       }
      }
     },
     "localname": "InventoryPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_InvestmentOwnedBalancePrincipalAmount": {
     "auth_ref": [
      "r249",
      "r820"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "For investments which are quantified by principal amount, the principle balance held at close of period.",
        "label": "Investment Owned, Balance, Principal Amount",
        "terseLabel": "Shareholder of an equity method investee with principal amount"
       }
      }
     },
     "localname": "InvestmentOwnedBalancePrincipalAmount",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureEquitySecuritiesAndOtherInvestmentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InvestmentsDebtAndEquitySecuritiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investments, Debt and Equity Securities [Abstract]",
        "terseLabel": "Equity securities and other investments"
       }
      }
     },
     "localname": "InvestmentsDebtAndEquitySecuritiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesVariousDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LeaseCost": {
     "auth_ref": [
      "r715",
      "r869"
     ],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureLeasesOperatingLeaseCostAndOthersDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of lease cost recognized by lessee for lease contract.",
        "label": "Lease, Cost",
        "totalLabel": "Total operating lease cost"
       }
      }
     },
     "localname": "LeaseCost",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureLeasesOperatingLeaseCostAndOthersDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LeaseCostAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Lease, Cost [Abstract]",
        "terseLabel": "Components of operating lease cost"
       }
      }
     },
     "localname": "LeaseCostAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureLeasesOperatingLeaseCostAndOthersDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LeaseCostTableTextBlock": {
     "auth_ref": [
      "r982"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of lessee's lease cost. Includes, but is not limited to, interest expense for finance lease, amortization of right-of-use asset for finance lease, operating lease cost, short-term lease cost, variable lease cost and sublease income.",
        "label": "Lease, Cost [Table Text Block]",
        "terseLabel": "Summary of components of operating lease cost"
       }
      }
     },
     "localname": "LeaseCostTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureLeasesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_LesseeDisclosureAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Lessee Disclosure [Abstract]",
        "terseLabel": "Leases"
       }
      }
     },
     "localname": "LesseeDisclosureAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_LesseeLeaseDescriptionLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "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.",
        "label": "Lessee, Lease, Description [Line Items]",
        "terseLabel": "Leases"
       }
      }
     },
     "localname": "LesseeLeaseDescriptionLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureLeasesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LesseeLeaseDescriptionTable": {
     "auth_ref": [
      "r708"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of information about lessee's leases.",
        "label": "Lessee, Lease, Description [Table]"
       }
      }
     },
     "localname": "LesseeLeaseDescriptionTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureLeasesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LesseeLeasesPolicyTextBlock": {
     "auth_ref": [
      "r706"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for leasing arrangement entered into by lessee.",
        "label": "Lessee, Leases [Policy Text Block]",
        "terseLabel": "Leases"
       }
      }
     },
     "localname": "LesseeLeasesPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_LesseeOperatingLeaseExistenceOfOptionToExtend": {
     "auth_ref": [
      "r707"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicates (true false) whether lessee has option to extend operating lease.",
        "label": "Lessee, Operating Lease, Existence of Option to Extend [true false]",
        "terseLabel": "Renewal option"
       }
      }
     },
     "localname": "LesseeOperatingLeaseExistenceOfOptionToExtend",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureLeasesDetails"
     ],
     "xbrltype": "booleanItemType"
    },
    "us-gaap_LesseeOperatingLeaseExistenceOfOptionToTerminate": {
     "auth_ref": [
      "r707"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicates (true false) whether lessee has option to terminate operating lease.",
        "label": "Lessee, Operating Lease, Existence of Option to Terminate [true false]",
        "terseLabel": "Termination option"
       }
      }
     },
     "localname": "LesseeOperatingLeaseExistenceOfOptionToTerminate",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureLeasesDetails"
     ],
     "xbrltype": "booleanItemType"
    },
    "us-gaap_LesseeOperatingLeaseLiabilityMaturityTableTextBlock": {
     "auth_ref": [
      "r983"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of undiscounted cash flows of lessee's operating lease liability. Includes, but is not limited to, reconciliation of undiscounted cash flows to operating lease liability recognized in statement of financial position.",
        "label": "Lessee, Operating Lease, Liability, Maturity [Table Text Block]",
        "terseLabel": "Summary of future lease payments under operating leases"
       }
      }
     },
     "localname": "LesseeOperatingLeaseLiabilityMaturityTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureLeasesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue": {
     "auth_ref": [
      "r716"
     ],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureLeasesFutureLeasePaymentsDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureLeasesFutureLeasePaymentsDetails2": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of lessee's undiscounted obligation for lease payment for operating lease.",
        "label": "Lessee, Operating Lease, Liability, to be Paid",
        "totalLabel": "Total"
       }
      }
     },
     "localname": "LesseeOperatingLeaseLiabilityPaymentsDue",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureLeasesFutureLeasePaymentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive": {
     "auth_ref": [
      "r716"
     ],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureLeasesFutureLeasePaymentsDetails": {
       "order": 5.0,
       "parentTag": "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of lessee's undiscounted obligation for lease payment for operating lease due after fifth fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Lessee, Operating Lease, Liability, to be Paid, after Year Five",
        "terseLabel": "Thereafter"
       }
      }
     },
     "localname": "LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureLeasesFutureLeasePaymentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths": {
     "auth_ref": [
      "r716"
     ],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureLeasesFutureLeasePaymentsDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of lessee's undiscounted obligation for lease payment for operating lease to be paid in next fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Lessee, Operating Lease, Liability, to be Paid, Year One",
        "terseLabel": "2024"
       }
      }
     },
     "localname": "LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureLeasesFutureLeasePaymentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive": {
     "auth_ref": [
      "r716"
     ],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureLeasesFutureLeasePaymentsDetails": {
       "order": 4.0,
       "parentTag": "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of lessee's undiscounted obligation for lease payment for operating lease to be paid in fifth fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Lessee, Operating Lease, Liability, to be Paid, Year Five",
        "terseLabel": "2028"
       }
      }
     },
     "localname": "LesseeOperatingLeaseLiabilityPaymentsDueYearFive",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureLeasesFutureLeasePaymentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour": {
     "auth_ref": [
      "r716"
     ],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureLeasesFutureLeasePaymentsDetails": {
       "order": 3.0,
       "parentTag": "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of lessee's undiscounted obligation for lease payment for operating lease to be paid in fourth fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Lessee, Operating Lease, Liability, to be Paid, Year Four",
        "terseLabel": "2027"
       }
      }
     },
     "localname": "LesseeOperatingLeaseLiabilityPaymentsDueYearFour",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureLeasesFutureLeasePaymentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree": {
     "auth_ref": [
      "r716"
     ],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureLeasesFutureLeasePaymentsDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of lessee's undiscounted obligation for lease payment for operating lease to be paid in third fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Lessee, Operating Lease, Liability, to be Paid, Year Three",
        "terseLabel": "2026"
       }
      }
     },
     "localname": "LesseeOperatingLeaseLiabilityPaymentsDueYearThree",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureLeasesFutureLeasePaymentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo": {
     "auth_ref": [
      "r716"
     ],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureLeasesFutureLeasePaymentsDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of lessee's undiscounted obligation for lease payment for operating lease to be paid in second fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Lessee, Operating Lease, Liability, to be Paid, Year Two",
        "terseLabel": "2025"
       }
      }
     },
     "localname": "LesseeOperatingLeaseLiabilityPaymentsDueYearTwo",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureLeasesFutureLeasePaymentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount": {
     "auth_ref": [
      "r716"
     ],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureLeasesFutureLeasePaymentsDetails2": {
       "order": 1.0,
       "parentTag": "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of lessee's undiscounted obligation for lease payments in excess of discounted obligation for lease payments for operating lease.",
        "label": "Lessee, Operating Lease, Liability, Undiscounted Excess Amount",
        "negatedLabel": "Less: imputed interest"
       }
      }
     },
     "localname": "LesseeOperatingLeaseLiabilityUndiscountedExcessAmount",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureLeasesFutureLeasePaymentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LesseeOperatingLeaseRenewalTerm": {
     "auth_ref": [
      "r981"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Term of lessee's operating lease renewal, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days.",
        "label": "Lessee, Operating Lease, Renewal Term",
        "terseLabel": "Renewal term (in years)"
       }
      }
     },
     "localname": "LesseeOperatingLeaseRenewalTerm",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureLeasesDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_LesseeOperatingLeasesTextBlock": {
     "auth_ref": [
      "r717"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for operating leases of lessee. Includes, but is not limited to, description of operating lease and maturity analysis of operating lease liability.",
        "label": "Lessee, Operating Leases [Text Block]",
        "terseLabel": "Leases"
       }
      }
     },
     "localname": "LesseeOperatingLeasesTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureLeases"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_Liabilities": {
     "auth_ref": [
      "r25",
      "r314",
      "r421",
      "r481",
      "r482",
      "r484",
      "r485",
      "r486",
      "r488",
      "r490",
      "r492",
      "r493",
      "r637",
      "r640",
      "r641",
      "r670",
      "r847",
      "r938",
      "r985",
      "r986"
     ],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesConsolidationDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedBalanceSheets": {
       "order": 1.0,
       "parentTag": "us-gaap_LiabilitiesAndStockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sum of the carrying amounts as of the balance sheet date of all liabilities that are recognized. Liabilities are probable future sacrifices of economic benefits arising from present obligations of an entity to transfer assets or provide services to other entities in the future.",
        "label": "Liabilities",
        "totalLabel": "Total liabilities"
       }
      }
     },
     "localname": "Liabilities",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesConsolidationDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LiabilitiesAndStockholdersEquity": {
     "auth_ref": [
      "r18",
      "r223",
      "r243",
      "r870",
      "r900",
      "r914",
      "r979"
     ],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedBalanceSheets": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of liabilities and equity items, including the portion of equity attributable to noncontrolling interests, if any.",
        "label": "Liabilities and Equity",
        "totalLabel": "Total liabilities, mezzanine equity and equity"
       }
      }
     },
     "localname": "LiabilitiesAndStockholdersEquity",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LiabilitiesAndStockholdersEquityAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Liabilities and Equity [Abstract]",
        "terseLabel": "Liabilities, mezzanine equity and shareholders' equity"
       }
      }
     },
     "localname": "LiabilitiesAndStockholdersEquityAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedBalanceSheets"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LiabilitiesCurrent": {
     "auth_ref": [
      "r27",
      "r267",
      "r314",
      "r421",
      "r481",
      "r482",
      "r484",
      "r485",
      "r486",
      "r488",
      "r490",
      "r492",
      "r493",
      "r637",
      "r640",
      "r641",
      "r670",
      "r870",
      "r938",
      "r985",
      "r986"
     ],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedBalanceSheets": {
       "order": 2.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Total obligations incurred as part of normal operations that are expected to be paid during the following twelve months or within one business cycle, if longer.",
        "label": "Liabilities, Current",
        "terseLabel": "Current liabilities",
        "totalLabel": "Total current liabilities"
       }
      }
     },
     "localname": "LiabilitiesCurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureInvestmentsInEquityMethodInvesteesSummarizedFinancialInformationOfEquityMethodInvestmentsDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LiabilitiesCurrentAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Liabilities, Current [Abstract]",
        "terseLabel": "Current liabilities:"
       }
      }
     },
     "localname": "LiabilitiesCurrentAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedBalanceSheets"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LiabilitiesFairValueDisclosure": {
     "auth_ref": [
      "r199"
     ],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureFairValueMeasurementDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value of financial and nonfinancial obligations.",
        "label": "Liabilities, Fair Value Disclosure",
        "totalLabel": "Liabilities"
       }
      }
     },
     "localname": "LiabilitiesFairValueDisclosure",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureFairValueMeasurementDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LiabilitiesFairValueDisclosureAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Liabilities, Fair Value Disclosure [Abstract]",
        "terseLabel": "Liabilities"
       }
      }
     },
     "localname": "LiabilitiesFairValueDisclosureAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureFairValueMeasurementDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LiabilitiesNoncurrent": {
     "auth_ref": [
      "r1",
      "r2",
      "r3",
      "r7",
      "r8",
      "r314",
      "r421",
      "r481",
      "r482",
      "r484",
      "r485",
      "r486",
      "r488",
      "r490",
      "r492",
      "r493",
      "r637",
      "r640",
      "r641",
      "r670",
      "r938",
      "r985",
      "r986"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of obligation due after one year or beyond the normal operating cycle, if longer.",
        "label": "Liabilities, Noncurrent",
        "terseLabel": "Non-current liabilities",
        "totalLabel": "Liabilities, Noncurrent, Total"
       }
      }
     },
     "localname": "LiabilitiesNoncurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureInvestmentsInEquityMethodInvesteesSummarizedFinancialInformationOfEquityMethodInvestmentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LineOfCredit": {
     "auth_ref": [
      "r7",
      "r221",
      "r233"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "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.",
        "label": "Long-Term Line of Credit",
        "terseLabel": "Amount drawn down",
        "totalLabel": "Long-Term Line of Credit, Total"
       }
      }
     },
     "localname": "LineOfCredit",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureRelatedPartyTransactionsTransactionsWithRelatedPartiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity": {
     "auth_ref": [
      "r23"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "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.",
        "label": "Line of Credit Facility, Maximum Borrowing Capacity",
        "terseLabel": "Amount of loan facility"
       }
      }
     },
     "localname": "LineOfCreditFacilityMaximumBorrowingCapacity",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureBankBorrowingsGeneralDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LineOfCreditMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A contractual arrangement with a lender under which borrowings can be made up to a specific amount at any point in time, and under which borrowings outstanding may be either short-term or long-term, depending upon the particulars.",
        "label": "Line of Credit [Member]",
        "terseLabel": "Bank facility"
       }
      }
     },
     "localname": "LineOfCreditMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureBankBorrowingsGeneralDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_LoansAndLeasesReceivableRelatedParties": {
     "auth_ref": [
      "r211",
      "r225"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "For an unclassified balance sheet, reflects the carrying amount of unpaid loan amounts due from related parties at the balance sheet date.",
        "label": "Loans and Leases Receivable, Related Parties",
        "periodEndLabel": "Loans and Leases Receivable, Related Parties, Ending Balance",
        "periodStartLabel": "Loans and Leases Receivable, Related Parties, Beginning Balance",
        "verboseLabel": "Amount of outstanding loans"
       }
      }
     },
     "localname": "LoansAndLeasesReceivableRelatedParties",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureRelatedPartyTransactionsTransactionsWithRelatedPartiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LondonInterbankOfferedRateLIBORMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Interest rate at which a bank borrows funds from other banks in the London interbank market.",
        "label": "London Interbank Offered Rate (LIBOR) [Member]",
        "terseLabel": "LIBOR"
       }
      }
     },
     "localname": "LondonInterbankOfferedRateLIBORMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureBankBorrowingsGeneralDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_LongTermDebt": {
     "auth_ref": [
      "r7",
      "r221",
      "r239",
      "r507",
      "r523",
      "r852",
      "r853"
     ],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureUnsecuredSeniorNotesGeneralDetails2": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureUnsecuredSeniorNotesGeneralDetails3": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, excluding unamortized premium (discount) and debt issuance cost, of long-term debt. Excludes lease obligation.",
        "label": "Long-Term Debt",
        "totalLabel": "Carrying value"
       }
      }
     },
     "localname": "LongTermDebt",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureUnsecuredSeniorNotesGeneralDetails3"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LongTermDebtByMaturityAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Long-Term Debt, Fiscal Year Maturity [Abstract]",
        "terseLabel": "Future principal payments"
       }
      }
     },
     "localname": "LongTermDebtByMaturityAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureBankBorrowingsMaturityScheduleDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureUnsecuredSeniorNotesMaturityScheduleDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearFive": {
     "auth_ref": [
      "r111",
      "r318",
      "r943"
     ],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureUnsecuredSeniorNotesMaturityScheduleDetails2": {
       "order": 3.0,
       "parentTag": "us-gaap_DebtInstrumentCarryingAmount",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of long-term debt payable, sinking fund requirement, and other securities issued that are redeemable by holder at fixed or determinable price and date, maturing after fifth fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Long-Term Debt, Maturity, after Year Five",
        "terseLabel": "Thereafter",
        "verboseLabel": "Beyond 5 years"
       }
      }
     },
     "localname": "LongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearFive",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureBankBorrowingsMaturityScheduleDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureUnsecuredSeniorNotesMaturityScheduleDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths": {
     "auth_ref": [
      "r111",
      "r318",
      "r512"
     ],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureUnsecuredSeniorNotesMaturityScheduleDetails2": {
       "order": 1.0,
       "parentTag": "us-gaap_DebtInstrumentCarryingAmount",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of long-term debt payable, sinking fund requirement, and other securities issued that are redeemable by holder at fixed or determinable price and date, maturing in next fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Long-Term Debt, Maturity, Year One",
        "terseLabel": "Within 1 year"
       }
      }
     },
     "localname": "LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureBankBorrowingsMaturityScheduleDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureUnsecuredSeniorNotesMaturityScheduleDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive": {
     "auth_ref": [
      "r111",
      "r318",
      "r512"
     ],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureUnsecuredSeniorNotesMaturityScheduleDetails2": {
       "order": 0.0,
       "parentTag": "us-gaap_DebtInstrumentCarryingAmount",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of long-term debt payable, sinking fund requirement, and other securities issued that are redeemable by holder at fixed or determinable price and date, maturing in fifth fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Long-Term Debt, Maturity, Year Five",
        "terseLabel": "Between 4 to 5 years"
       }
      }
     },
     "localname": "LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureBankBorrowingsMaturityScheduleDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureUnsecuredSeniorNotesMaturityScheduleDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour": {
     "auth_ref": [
      "r111",
      "r318",
      "r512"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of long-term debt payable, sinking fund requirement, and other securities issued that are redeemable by holder at fixed or determinable price and date, maturing in fourth fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Long-Term Debt, Maturity, Year Four",
        "terseLabel": "Between 3 to 4 years"
       }
      }
     },
     "localname": "LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureBankBorrowingsMaturityScheduleDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureUnsecuredSeniorNotesMaturityScheduleDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree": {
     "auth_ref": [
      "r111",
      "r318",
      "r512"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of long-term debt payable, sinking fund requirement, and other securities issued that are redeemable by holder at fixed or determinable price and date, maturing in third fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Long-Term Debt, Maturity, Year Three",
        "terseLabel": "Between 2 to 3 years"
       }
      }
     },
     "localname": "LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureBankBorrowingsMaturityScheduleDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureUnsecuredSeniorNotesMaturityScheduleDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo": {
     "auth_ref": [
      "r111",
      "r318",
      "r512"
     ],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureUnsecuredSeniorNotesMaturityScheduleDetails2": {
       "order": 2.0,
       "parentTag": "us-gaap_DebtInstrumentCarryingAmount",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of long-term debt payable, sinking fund requirement, and other securities issued that are redeemable by holder at fixed or determinable price and date, maturing in second fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Long-Term Debt, Maturity, Year Two",
        "terseLabel": "Between 1 to 2 years"
       }
      }
     },
     "localname": "LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureBankBorrowingsMaturityScheduleDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureUnsecuredSeniorNotesMaturityScheduleDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LongTermLoansFromBank": {
     "auth_ref": [
      "r7",
      "r221",
      "r238"
     ],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedBalanceSheets": {
       "order": 3.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Carrying value as of the balance sheet date of loans from a bank with maturities initially due after one year or beyond the operating cycle if longer, excluding current portion.",
        "label": "Loans Payable to Bank, Noncurrent",
        "terseLabel": "Non-current bank borrowings"
       }
      }
     },
     "localname": "LongTermLoansFromBank",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureBankBorrowingsGeneralDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LongtermDebtTypeAxis": {
     "auth_ref": [
      "r29"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of long-term debt.",
        "label": "Long-Term Debt, Type [Axis]"
       }
      }
     },
     "localname": "LongtermDebtTypeAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureBankBorrowingsGeneralDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureUnsecuredSeniorNotes",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureUnsecuredSeniorNotesGeneralDetails3",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureUnsecuredSeniorNotesMaturityScheduleDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureUnsecuredSeniorNotesTables"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LongtermDebtTypeDomain": {
     "auth_ref": [
      "r29",
      "r112"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Type of long-term debt arrangement, such as notes, line of credit, commercial paper, asset-based financing, project financing, letter of credit financing. These are debt arrangements that originally required repayment more than twelve months after issuance or greater than the normal operating cycle of the company, if longer.",
        "label": "Long-Term Debt, Type [Domain]"
       }
      }
     },
     "localname": "LongtermDebtTypeDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureBankBorrowingsGeneralDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureUnsecuredSeniorNotes",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureUnsecuredSeniorNotesGeneralDetails3",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureUnsecuredSeniorNotesMaturityScheduleDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureUnsecuredSeniorNotesTables"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_LossContingenciesByNatureOfContingencyAxis": {
     "auth_ref": [
      "r108",
      "r109",
      "r476",
      "r477",
      "r478",
      "r933",
      "r934"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of existing condition, situation, or set of circumstances involving uncertainty as to possible loss to an enterprise that will ultimately be resolved when one or more future events occur or fail to occur.",
        "label": "Loss Contingency Nature [Axis]"
       }
      }
     },
     "localname": "LossContingenciesByNatureOfContingencyAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureRisksAndContingenciesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LossContingenciesLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "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.",
        "label": "Loss Contingencies [Line Items]",
        "terseLabel": "Risks and contingencies"
       }
      }
     },
     "localname": "LossContingenciesLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureRisksAndContingenciesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LossContingenciesTable": {
     "auth_ref": [
      "r108",
      "r109",
      "r476",
      "r477",
      "r478",
      "r933",
      "r934"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Discloses the specific components (such as the nature, name, and date) of the loss contingency and gives an estimate of the possible loss or range of loss, or states that a reasonable estimate cannot be made. Excludes environmental contingencies, warranties and unconditional purchase obligations.",
        "label": "Loss Contingencies [Table]"
       }
      }
     },
     "localname": "LossContingenciesTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureRisksAndContingenciesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LossContingencyAccrualProvision": {
     "auth_ref": [
      "r932"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount charged against operating income increasing loss contingency liability, after adjustments to reduce previously estimated charges.",
        "label": "Loss Contingency Accrual, Provision",
        "terseLabel": "Provisions made in relation to the program"
       }
      }
     },
     "localname": "LossContingencyAccrualProvision",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureRisksAndContingenciesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LossContingencyNatureDomain": {
     "auth_ref": [
      "r108",
      "r109",
      "r476",
      "r477",
      "r478",
      "r933",
      "r934"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "An existing condition, situation, or set of circumstances involving uncertainty as to possible loss to an enterprise that will ultimately be resolved when one or more future events occur or fail to occur. Resolution of the uncertainty may confirm the incurrence of a loss or impairment of an asset or the incurrence of a liability.",
        "label": "Loss Contingency, Nature [Domain]"
       }
      }
     },
     "localname": "LossContingencyNatureDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureRisksAndContingenciesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_MarketableSecuritiesTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of marketable securities. This may consist of investments in certain debt and equity securities, short-term investments and other assets.",
        "label": "Marketable Securities [Table Text Block]",
        "terseLabel": "Schedule of equity securities and other investments at cost and at fair value"
       }
      }
     },
     "localname": "MarketableSecuritiesTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureEquitySecuritiesAndOtherInvestmentsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_MarketableSecuritiesUnrealizedGainLoss": {
     "auth_ref": [
      "r48"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of unrealized gain (loss) on investment in marketable security.",
        "label": "Marketable Securities, Unrealized Gain (Loss)",
        "terseLabel": "Net unrealized gains (losses) recognized during the period for equity securities still held as of the end of the period"
       }
      }
     },
     "localname": "MarketableSecuritiesUnrealizedGainLoss",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureEquitySecuritiesAndOtherInvestmentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_MarketingAndAdvertisingExpense": {
     "auth_ref": [
      "r51"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The total expense recognized in the period for promotion, public relations, and brand or product advertising.",
        "label": "Marketing and Advertising Expense",
        "terseLabel": "Advertising and promotional expenses",
        "totalLabel": "Marketing and Advertising Expense, Total"
       }
      }
     },
     "localname": "MarketingAndAdvertisingExpense",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesVariousDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_MinorityInterest": {
     "auth_ref": [
      "r35",
      "r222",
      "r242",
      "r314",
      "r421",
      "r481",
      "r484",
      "r485",
      "r486",
      "r492",
      "r493",
      "r670"
     ],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedBalanceSheets": {
       "order": 0.0,
       "parentTag": "us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Total of all stockholders' equity (deficit) items, net of receivables from officers, directors, owners, and affiliates of the entity which is directly or indirectly attributable to that ownership interest in subsidiary equity which is not attributable to the parent (that is, noncontrolling interest, previously referred to as minority interest).",
        "label": "Stockholders' Equity Attributable to Noncontrolling Interest",
        "periodEndLabel": "Stockholders' Equity Attributable to Noncontrolling Interest, Ending Balance",
        "periodStartLabel": "Stockholders' Equity Attributable to Noncontrolling Interest, Beginning Balance",
        "terseLabel": "Noncontrolling interests",
        "totalLabel": "Stockholders' Equity Attributable to Noncontrolling Interest, Total"
       }
      }
     },
     "localname": "MinorityInterest",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_MinorityInterestDecreaseFromRedemptions": {
     "auth_ref": [
      "r126",
      "r171",
      "r172"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Decrease in noncontrolling interest (for example, but not limited to, redeeming or purchasing the interests of noncontrolling shareholders, issuance of shares (interests) by the non-wholly owned subsidiary to the parent entity for other than cash, and a buyback of shares (interest) by the non-wholly owned subsidiary from the noncontrolling interests).",
        "label": "Noncontrolling Interest, Decrease from Redemptions or Purchase of Interests",
        "terseLabel": "Reduction of noncontrolling interest"
       }
      }
     },
     "localname": "MinorityInterestDecreaseFromRedemptions",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsSunArtDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_MinorityInterestOwnershipPercentageByParent": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The parent entity's interest in net assets of the subsidiary, expressed as a percentage.",
        "label": "Noncontrolling Interest, Ownership Percentage by Parent",
        "terseLabel": "Equity interest held in subsidiary (as a percentage)"
       }
      }
     },
     "localname": "MinorityInterestOwnershipPercentageByParent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsSunArtDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_NetCashProvidedByUsedInFinancingActivities": {
     "auth_ref": [
      "r306"
     ],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 2.0,
       "parentTag": "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash inflow (outflow) from financing activities, including discontinued operations. Financing activity cash flows include obtaining resources from owners and providing them with a return on, and a return of, their investment; borrowing money and repaying amounts borrowed, or settling the obligation; and obtaining and paying for other resources obtained from creditors on long-term credit.",
        "label": "Net Cash Provided by (Used in) Financing Activities",
        "totalLabel": "Net cash provided by (used in) financing activities",
        "verboseLabel": "Net cash provided by (used in) financing activities"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInFinancingActivities",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesConsolidationDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperationsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Net Cash Provided by (Used in) Financing Activities, Continuing Operations [Abstract]",
        "terseLabel": "Cash flows from financing activities:"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInFinancingActivitiesContinuingOperationsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_NetCashProvidedByUsedInInvestingActivities": {
     "auth_ref": [
      "r306"
     ],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 1.0,
       "parentTag": "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash inflow (outflow) from investing activities, including discontinued operations. Investing activity cash flows include making and collecting loans and acquiring and disposing of debt or equity instruments and property, plant, and equipment and other productive assets.",
        "label": "Net Cash Provided by (Used in) Investing Activities",
        "totalLabel": "Net cash used in investing activities",
        "verboseLabel": "Net cash used in investing activities"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInInvestingActivities",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesConsolidationDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperationsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Net Cash Provided by (Used in) Investing Activities, Continuing Operations [Abstract]",
        "terseLabel": "Cash flows from investing activities:"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInInvestingActivitiesContinuingOperationsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_NetCashProvidedByUsedInOperatingActivities": {
     "auth_ref": [
      "r64",
      "r66",
      "r69"
     ],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 0.0,
       "parentTag": "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect",
       "weight": 1.0
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash inflow (outflow) from operating activities, including discontinued operations. Operating activity cash flows include transactions, adjustments, and changes in value not defined as investing or financing activities.",
        "label": "Net Cash Provided by (Used in) Operating Activities",
        "totalLabel": "Net cash provided by operating activities",
        "verboseLabel": "Net cash provided by operating activities"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInOperatingActivities",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesConsolidationDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperationsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Net Cash Provided by (Used in) Operating Activities, Continuing Operations [Abstract]",
        "terseLabel": "Cash flows from operating activities:"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInOperatingActivitiesContinuingOperationsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_NetIncomeLoss": {
     "auth_ref": [
      "r46",
      "r69",
      "r227",
      "r247",
      "r265",
      "r288",
      "r291",
      "r296",
      "r314",
      "r324",
      "r329",
      "r330",
      "r331",
      "r332",
      "r335",
      "r336",
      "r352",
      "r380",
      "r390",
      "r396",
      "r398",
      "r421",
      "r481",
      "r482",
      "r484",
      "r485",
      "r486",
      "r488",
      "r490",
      "r492",
      "r493",
      "r654",
      "r670",
      "r848",
      "r938"
     ],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedIncomeStatements": {
       "order": 0.0,
       "parentTag": "us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The portion of profit or loss for the period, net of income taxes, which is attributable to the parent.",
        "label": "Net Income (Loss)",
        "totalLabel": "Net income attributable to Alibaba Group Holding Limited"
       }
      }
     },
     "localname": "NetIncomeLoss",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedIncomeStatements"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NetIncomeLossAttributableToNoncontrollingInterest": {
     "auth_ref": [
      "r174",
      "r184",
      "r288",
      "r291",
      "r335",
      "r336",
      "r894"
     ],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedIncomeStatements": {
       "order": 0.0,
       "parentTag": "us-gaap_NetIncomeLoss",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of Net Income (Loss) attributable to noncontrolling interest.",
        "label": "Net Income (Loss) Attributable to Noncontrolling Interest",
        "negatedLabel": "Net loss attributable to noncontrolling interests",
        "totalLabel": "Net Income (Loss) Attributable to Noncontrolling Interest, Total"
       }
      }
     },
     "localname": "NetIncomeLossAttributableToNoncontrollingInterest",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedIncomeStatements"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic": {
     "auth_ref": [
      "r329",
      "r330",
      "r331",
      "r332",
      "r340",
      "r341",
      "r353",
      "r356",
      "r380",
      "r390",
      "r396",
      "r398",
      "r848"
     ],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureEarningsPerShareAdsDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted",
       "weight": 1.0
      },
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedIncomeStatements": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after deduction of tax, noncontrolling interests, dividends on preferred stock and participating securities; of income (loss) available to common shareholders.",
        "label": "Net Income (Loss) Available to Common Stockholders, Basic",
        "terseLabel": "Net income attributable to ordinary shareholders for computing net income per ordinary share - basic",
        "totalLabel": "Net income attributable to ordinary shareholders"
       }
      }
     },
     "localname": "NetIncomeLossAvailableToCommonStockholdersBasic",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureEarningsPerShareAdsDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedIncomeStatements"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NetIncomeLossAvailableToCommonStockholdersBasicAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Net Income (Loss) Available to Common Stockholders, Basic [Abstract]",
        "terseLabel": "Numerator:"
       }
      }
     },
     "localname": "NetIncomeLossAvailableToCommonStockholdersBasicAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureEarningsPerShareAdsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted": {
     "auth_ref": [
      "r342",
      "r348",
      "r349",
      "r350",
      "r351",
      "r353",
      "r356"
     ],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureEarningsPerShareAdsDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after deduction of tax, noncontrolling interests, dividends on preferred stock and participating securities, and addition from assumption of issuance of common shares for dilutive potential common shares; of income (loss) available to common shareholders.",
        "label": "Net Income (Loss) Available to Common Stockholders, Diluted",
        "totalLabel": "Net income attributable to ordinary shareholders for computing net income per ordinary share - diluted"
       }
      }
     },
     "localname": "NetIncomeLossAvailableToCommonStockholdersDiluted",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureEarningsPerShareAdsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NewAccountingPronouncementsAndChangesInAccountingPrinciplesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Accounting Standards Update and Change in Accounting Principle [Abstract]"
       }
      }
     },
     "localname": "NewAccountingPronouncementsAndChangesInAccountingPrinciplesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_NewAccountingPronouncementsAndChangesInAccountingPrinciplesTextBlock": {
     "auth_ref": [
      "r263",
      "r322",
      "r323",
      "r326",
      "r327",
      "r337",
      "r338",
      "r339",
      "r411",
      "r412",
      "r427",
      "r428",
      "r616",
      "r617",
      "r618",
      "r650",
      "r656",
      "r657",
      "r658",
      "r677",
      "r678",
      "r679",
      "r700",
      "r701",
      "r719",
      "r725",
      "r776",
      "r777",
      "r778",
      "r814",
      "r815",
      "r816",
      "r817",
      "r819"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for change in accounting principle. Includes, but is not limited to, nature, reason, and method of adopting amendment to accounting standards or other change in accounting principle.",
        "label": "Accounting Standards Update and Change in Accounting Principle [Text Block]",
        "terseLabel": "Recent accounting pronouncements"
       }
      }
     },
     "localname": "NewAccountingPronouncementsAndChangesInAccountingPrinciplesTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureRecentAccountingPronouncements"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_NewAccountingPronouncementsPolicyPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy pertaining to new accounting pronouncements that may impact the entity's financial reporting. Includes, but is not limited to, quantification of the expected or actual impact.",
        "label": "New Accounting Pronouncements, Policy [Policy Text Block]",
        "terseLabel": "Newly adopted accounting standard updates"
       }
      }
     },
     "localname": "NewAccountingPronouncementsPolicyPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_NoncompeteAgreementsMember": {
     "auth_ref": [
      "r162"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Agreement in which one party agrees not to pursue a similar trade in competition with another party.",
        "label": "Noncompete Agreements [Member]",
        "terseLabel": "Non-compete agreements"
       }
      }
     },
     "localname": "NoncompeteAgreementsMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureIntangibleAssetsNetGeneralDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsSunArtDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesLongLivedAssetsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_NoncontrollingInterestMember": {
     "auth_ref": [
      "r166",
      "r532",
      "r903",
      "r904",
      "r905"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This element represents that portion of equity (net assets) in a subsidiary not attributable, directly or indirectly, to the parent. A noncontrolling interest is sometimes called a minority interest.",
        "label": "Noncontrolling Interest [Member]",
        "terseLabel": "Noncontrolling interest"
       }
      }
     },
     "localname": "NoncontrollingInterestMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfChangesInShareholdersEquity"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_NotesPayableToBanksMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A written promise to pay a note to a bank.",
        "label": "Notes Payable to Banks [Member]",
        "terseLabel": "Bank loans"
       }
      }
     },
     "localname": "NotesPayableToBanksMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureBankBorrowingsGeneralDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_NumberOfOperatingSegments": {
     "auth_ref": [
      "r909"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of operating segments. An operating segment is a component of an enterprise: (a) that engages in business activities from which it may earn revenues and incur expenses (including revenues and expenses relating to transactions with other components of the same enterprise), (b) whose operating results are regularly reviewed by the enterprise's chief operating decision maker to make decisions about resources to be allocated to the segment and assess its performance, and (c) for which discrete financial information is available. An operating segment may engage in business activities for which it has yet to earn revenues, for example, start-up operations may be operating segments before earning revenues.",
        "label": "Number of Operating Segments",
        "terseLabel": "Number of operating segment"
       }
      }
     },
     "localname": "NumberOfOperatingSegments",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureOrganizationAndPrincipalActivitiesDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesVariousDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "us-gaap_NumberOfReportableSegments": {
     "auth_ref": [
      "r909"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "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.",
        "label": "Number of Reportable Segments",
        "terseLabel": "Number of reportable segment"
       }
      }
     },
     "localname": "NumberOfReportableSegments",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureOrganizationAndPrincipalActivitiesDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesVariousDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "us-gaap_OperatingIncomeLoss": {
     "auth_ref": [
      "r380",
      "r390",
      "r396",
      "r398",
      "r848"
     ],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSegmentInformationSegmentEbitaAndSegmentEbitdaDetails": {
       "order": 2.0,
       "parentTag": "baba_AdjustedEarningsBeforeInterestTaxesAndAmortization",
       "weight": 1.0
      },
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedIncomeStatements": {
       "order": 0.0,
       "parentTag": "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The net result for the period of deducting operating expenses from operating revenues.",
        "label": "Operating Income (Loss)",
        "terseLabel": "Income (Loss) from operations",
        "totalLabel": "Income from operations",
        "verboseLabel": "Income from operations"
       }
      }
     },
     "localname": "OperatingIncomeLoss",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureInvestmentsInEquityMethodInvesteesSummarizedFinancialInformationOfEquityMethodInvestmentsDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSegmentInformationReconciliationFromAdjustedEbitaToConsolidatedNetIncomeDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSegmentInformationSegmentEbitaAndSegmentEbitdaDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedIncomeStatements"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingLeaseCost": {
     "auth_ref": [
      "r709",
      "r869"
     ],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureLeasesOperatingLeaseCostAndOthersDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_LeaseCost",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of single lease cost, calculated by allocation of remaining cost of lease over remaining lease term. Includes, but is not limited to, single lease cost, after impairment of right-of-use asset, calculated by amortization of remaining right-of-use asset and accretion of lease liability.",
        "label": "Operating Lease, Cost",
        "terseLabel": "Operating lease cost"
       }
      }
     },
     "localname": "OperatingLeaseCost",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureLeasesOperatingLeaseCostAndOthersDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingLeaseLiabilitiesPaymentsDueAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Lessee, Operating Lease, Liability, to be Paid [Abstract]",
        "terseLabel": "Future lease payments under operating leases"
       }
      }
     },
     "localname": "OperatingLeaseLiabilitiesPaymentsDueAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureLeasesFutureLeasePaymentsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_OperatingLeaseLiability": {
     "auth_ref": [
      "r703"
     ],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureLeasesFutureLeasePaymentsDetails2": {
       "order": 0.0,
       "parentTag": "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Present value of lessee's discounted obligation for lease payments from operating lease.",
        "label": "Operating Lease, Liability",
        "terseLabel": "Total operating lease liabilities",
        "totalLabel": "Operating Lease, Liability, Total"
       }
      }
     },
     "localname": "OperatingLeaseLiability",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureLeasesFutureLeasePaymentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingLeaseLiabilityCurrent": {
     "auth_ref": [
      "r703"
     ],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureAccruedExpensesAccountsPayableAndOtherLiabilitiesDetails": {
       "order": 10.0,
       "parentTag": "us-gaap_AccountsPayableAndAccruedLiabilitiesCurrent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Present value of lessee's discounted obligation for lease payments from operating lease, classified as current.",
        "label": "Operating Lease, Liability, Current",
        "terseLabel": "Operating lease liabilities"
       }
      }
     },
     "localname": "OperatingLeaseLiabilityCurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureAccruedExpensesAccountsPayableAndOtherLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingLeaseLiabilityCurrentStatementOfFinancialPositionExtensibleList": {
     "auth_ref": [
      "r704"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicates line item in statement of financial position that includes current operating lease liability.",
        "label": "Operating Lease, Liability, Current, Statement of Financial Position [Extensible Enumeration]",
        "terseLabel": "Operating lease liabilities, Statement of Financial Position"
       }
      }
     },
     "localname": "OperatingLeaseLiabilityCurrentStatementOfFinancialPositionExtensibleList",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureAccruedExpensesAccountsPayableAndOtherLiabilitiesDetails"
     ],
     "xbrltype": "enumerationSetItemType"
    },
    "us-gaap_OperatingLeaseLiabilityNoncurrent": {
     "auth_ref": [
      "r703"
     ],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureAccruedExpensesAccountsPayableAndOtherLiabilitiesDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_OtherLiabilitiesNoncurrent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Present value of lessee's discounted obligation for lease payments from operating lease, classified as noncurrent.",
        "label": "Operating Lease, Liability, Noncurrent",
        "terseLabel": "Operating lease liabilities"
       }
      }
     },
     "localname": "OperatingLeaseLiabilityNoncurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureAccruedExpensesAccountsPayableAndOtherLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingLeaseLiabilityNoncurrentStatementOfFinancialPositionExtensibleList": {
     "auth_ref": [
      "r704"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicates line item in statement of financial position that includes noncurrent operating lease liability.",
        "label": "Operating Lease, Liability, Noncurrent, Statement of Financial Position [Extensible Enumeration]",
        "terseLabel": "Operating lease liabilities, Statement of Financial Position"
       }
      }
     },
     "localname": "OperatingLeaseLiabilityNoncurrentStatementOfFinancialPositionExtensibleList",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureAccruedExpensesAccountsPayableAndOtherLiabilitiesDetails"
     ],
     "xbrltype": "enumerationSetItemType"
    },
    "us-gaap_OperatingLeasePayments": {
     "auth_ref": [
      "r705",
      "r711"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash outflow from operating lease, excluding payments to bring another asset to condition and location necessary for its intended use.",
        "label": "Operating Lease, Payments",
        "terseLabel": "Cash payments for operating leases"
       }
      }
     },
     "localname": "OperatingLeasePayments",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureLeasesOperatingLeaseCostAndOthersDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingLeaseRightOfUseAsset": {
     "auth_ref": [
      "r702"
     ],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosurePrepaymentsReceivablesAndOtherAssetsDetails": {
       "order": 4.0,
       "parentTag": "baba_PrepaidExpenseReceivablesAndOtherAssetsNoncurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of lessee's right to use underlying asset under operating lease.",
        "label": "Operating Lease, Right-of-Use Asset",
        "verboseLabel": "Operating lease right-of-use assets"
       }
      }
     },
     "localname": "OperatingLeaseRightOfUseAsset",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosurePrepaymentsReceivablesAndOtherAssetsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingLeaseRightOfUseAssetStatementOfFinancialPositionExtensibleList": {
     "auth_ref": [
      "r704"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicates line item in statement of financial position that includes operating lease right-of-use asset.",
        "label": "Operating Lease, Right-of-Use Asset, Statement of Financial Position [Extensible Enumeration]"
       }
      }
     },
     "localname": "OperatingLeaseRightOfUseAssetStatementOfFinancialPositionExtensibleList",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosurePrepaymentsReceivablesAndOtherAssetsDetails"
     ],
     "xbrltype": "enumerationSetItemType"
    },
    "us-gaap_OperatingLeaseWeightedAverageDiscountRatePercent": {
     "auth_ref": [
      "r714",
      "r869"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average discount rate for operating lease calculated at point in time.",
        "label": "Operating Lease, Weighted Average Discount Rate, Percent",
        "terseLabel": "Weighted average discount rate (as a percent)"
       }
      }
     },
     "localname": "OperatingLeaseWeightedAverageDiscountRatePercent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureLeasesOperatingLeaseCostAndOthersDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_OperatingLeaseWeightedAverageRemainingLeaseTerm1": {
     "auth_ref": [
      "r713",
      "r869"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average remaining lease term for operating lease, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days.",
        "label": "Operating Lease, Weighted Average Remaining Lease Term",
        "terseLabel": "Weighted average remaining lease term (in years)"
       }
      }
     },
     "localname": "OperatingLeaseWeightedAverageRemainingLeaseTerm1",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureLeasesOperatingLeaseCostAndOthersDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_OperatingLossCarryforwards": {
     "auth_ref": [
      "r148"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of operating loss carryforward, before tax effects, available to reduce future taxable income under enacted tax laws.",
        "label": "Operating Loss Carryforwards",
        "terseLabel": "Accumulated tax losses of subsidiaries"
       }
      }
     },
     "localname": "OperatingLossCarryforwards",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureIncomeTaxExpensesCompositionOfDeferredTaxAssetsAndLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingLossCarryforwardsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "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.",
        "label": "Operating Loss Carryforwards [Line Items]",
        "terseLabel": "Income tax"
       }
      }
     },
     "localname": "OperatingLossCarryforwardsLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureIncomeTaxExpensesCompositionOfDeferredTaxAssetsAndLiabilitiesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_OperatingLossCarryforwardsTable": {
     "auth_ref": [
      "r149"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule reflecting pertinent information, such as tax authority, amounts, and expiration dates, of net operating loss carryforwards, including an assessment of the likelihood of utilization.",
        "label": "Operating Loss Carryforwards [Table]"
       }
      }
     },
     "localname": "OperatingLossCarryforwardsTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureIncomeTaxExpensesCompositionOfDeferredTaxAssetsAndLiabilitiesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_OperatingSegmentsMember": {
     "auth_ref": [
      "r389",
      "r390",
      "r391",
      "r392",
      "r393",
      "r398"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Identifies components of an entity that engage in business activities from which they may earn revenue and incur expenses, including transactions with other components of the same entity.",
        "label": "Operating Segments [Member]",
        "terseLabel": "Total segments"
       }
      }
     },
     "localname": "OperatingSegmentsMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSegmentInformationConsolidatedDepreciationAndImpairmentOfPropertyAndEquipmentAndOperatingLeaseCostRelatingToLandUseRightsBySegmentsAndOthersDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSegmentInformationReconciliationFromAdjustedEbitaToConsolidatedNetIncomeDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSegmentInformationSegmentEbitaAndSegmentEbitdaDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Organization, Consolidation and Presentation of Financial Statements [Abstract]"
       }
      }
     },
     "localname": "OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock": {
     "auth_ref": [
      "r0",
      "r187"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for organization, consolidation and basis of presentation of financial statements disclosure.",
        "label": "Organization, Consolidation and Presentation of Financial Statements Disclosure [Text Block]",
        "terseLabel": "Organization and principal activities"
       }
      }
     },
     "localname": "OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureOrganizationAndPrincipalActivities"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_OtherAccruedLiabilitiesNoncurrent": {
     "auth_ref": [
      "r30"
     ],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureAccruedExpensesAccountsPayableAndOtherLiabilitiesDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_OtherLiabilitiesNoncurrent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of expenses incurred but not yet paid classified as other, due after one year or the normal operating cycle, if longer.",
        "label": "Other Accrued Liabilities, Noncurrent",
        "terseLabel": "Others"
       }
      }
     },
     "localname": "OtherAccruedLiabilitiesNoncurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureAccruedExpensesAccountsPayableAndOtherLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherAssets": {
     "auth_ref": [
      "r216",
      "r235",
      "r272"
     ],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesConsolidationDetails": {
       "order": 5.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of assets classified as other.",
        "label": "Other Assets",
        "terseLabel": "Others",
        "totalLabel": "Other Assets, Total"
       }
      }
     },
     "localname": "OtherAssets",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesConsolidationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherAssetsCurrent": {
     "auth_ref": [
      "r280",
      "r870"
     ],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosurePrepaymentsReceivablesAndOtherAssetsDetails": {
       "order": 5.0,
       "parentTag": "baba_PrepaidExpenseReceivablesAndOtherAssetsCurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of current assets classified as other.",
        "label": "Other Assets, Current",
        "terseLabel": "Others"
       }
      }
     },
     "localname": "OtherAssetsCurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosurePrepaymentsReceivablesAndOtherAssetsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherAssetsFairValueDisclosure": {
     "auth_ref": [],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureFairValueMeasurementDetails": {
       "order": 6.0,
       "parentTag": "us-gaap_AssetsFairValueDisclosure",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value portion of other assets.",
        "label": "Other Assets, Fair Value Disclosure",
        "terseLabel": "Others"
       }
      }
     },
     "localname": "OtherAssetsFairValueDisclosure",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureFairValueMeasurementDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherAssetsNoncurrent": {
     "auth_ref": [
      "r272"
     ],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosurePrepaymentsReceivablesAndOtherAssetsDetails": {
       "order": 3.0,
       "parentTag": "baba_PrepaidExpenseReceivablesAndOtherAssetsNoncurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of noncurrent assets classified as other.",
        "label": "Other Assets, Noncurrent",
        "terseLabel": "Others"
       }
      }
     },
     "localname": "OtherAssetsNoncurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosurePrepaymentsReceivablesAndOtherAssetsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherCommitment": {
     "auth_ref": [],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureCommitmentsOtherCommitmentsDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "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.",
        "label": "Other Commitment",
        "terseLabel": "Amount committed",
        "totalLabel": "Total"
       }
      }
     },
     "localname": "OtherCommitment",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureCommitmentsInvestmentCommitmentsDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureCommitmentsOtherCommitmentsDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsEquityInvestmentsAndOthersDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherCommitmentDueAfterFifthYear": {
     "auth_ref": [],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureCommitmentsOtherCommitmentsDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_OtherCommitment",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of commitment classified as other to be paid after fifth fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Other Commitment, to be Paid, after Year Five",
        "terseLabel": "More than 5 years"
       }
      }
     },
     "localname": "OtherCommitmentDueAfterFifthYear",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureCommitmentsOtherCommitmentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherCommitmentDueInNextTwelveMonths": {
     "auth_ref": [],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureCommitmentsOtherCommitmentsDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_OtherCommitment",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of commitment classified as other to be paid in next fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Other Commitment, to be Paid, Year One",
        "terseLabel": "No later than 1 year"
       }
      }
     },
     "localname": "OtherCommitmentDueInNextTwelveMonths",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureCommitmentsOtherCommitmentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherCommitmentsAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of other commitment.",
        "label": "Other Commitments [Axis]"
       }
      }
     },
     "localname": "OtherCommitmentsAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureCommitmentsInvestmentCommitmentsDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureCommitmentsOtherCommitmentsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_OtherCommitmentsDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Other future obligation.",
        "label": "Other Commitments [Domain]"
       }
      }
     },
     "localname": "OtherCommitmentsDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureCommitmentsInvestmentCommitmentsDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureCommitmentsOtherCommitmentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_OtherCommitmentsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "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.",
        "label": "Other Commitments [Line Items]",
        "terseLabel": "Investment commitments",
        "verboseLabel": "Other commitments"
       }
      }
     },
     "localname": "OtherCommitmentsLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureCommitmentsInvestmentCommitmentsDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureCommitmentsOtherCommitmentsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_OtherCommitmentsTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of information about obligations resulting from other commitments.",
        "label": "Other Commitments [Table]"
       }
      }
     },
     "localname": "OtherCommitmentsTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureCommitmentsInvestmentCommitmentsDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureCommitmentsOtherCommitmentsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_OtherCommitmentsTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of information about obligations resulting from other commitments.",
        "label": "Other Commitments [Table Text Block]",
        "terseLabel": "Schedule of other commitments"
       }
      }
     },
     "localname": "OtherCommitmentsTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureCommitmentsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationAdjustmentNetOfTaxPeriodIncreaseDecreaseAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Comprehensive Income (Loss), Foreign Currency Transaction and Translation Adjustment, Net of Tax [Abstract]",
        "terseLabel": "Foreign currency translation:"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationAdjustmentNetOfTaxPeriodIncreaseDecreaseAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfComprehensiveIncome"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossBeforeReclassificationAfterTax": {
     "auth_ref": [
      "r284",
      "r285"
     ],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfComprehensiveIncome": {
       "order": 1.0,
       "parentTag": "us-gaap_OtherComprehensiveIncomeLossNetOfTax",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after tax and before reclassification, of gain (loss) from derivative instrument designated and qualifying as cash flow hedge included in assessment of hedge effectiveness.",
        "label": "Other Comprehensive Income (Loss), Cash Flow Hedge, Gain (Loss), before Reclassification, after Tax",
        "terseLabel": "Change in unrealized gains",
        "verboseLabel": "Change in fair value of interest rate swaps under hedge accounting and others"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeLossCashFlowHedgeGainLossBeforeReclassificationAfterTax",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfChangesInShareholdersEquity",
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfComprehensiveIncome"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherComprehensiveIncomeLossDerivativeExcludedComponentIncreaseDecreaseAfterAdjustmentsAndTaxAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Comprehensive Income (Loss), Derivative, Excluded Component, Increase (Decrease), after Adjustments and Tax [Abstract]",
        "terseLabel": "Interest rate swaps under hedge accounting and others:"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeLossDerivativeExcludedComponentIncreaseDecreaseAfterAdjustmentsAndTaxAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfComprehensiveIncome"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_OtherComprehensiveIncomeLossNetOfTax": {
     "auth_ref": [
      "r42",
      "r119",
      "r289",
      "r292",
      "r299",
      "r683",
      "r688",
      "r689",
      "r793",
      "r800",
      "r892",
      "r893"
     ],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfComprehensiveIncome": {
       "order": 1.0,
       "parentTag": "us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount after tax and reclassification adjustments of other comprehensive income (loss).",
        "label": "Other Comprehensive Income (Loss), Net of Tax",
        "totalLabel": "Other comprehensive (loss) income"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeLossNetOfTax",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfComprehensiveIncome"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherComprehensiveIncomeLossNetOfTaxPeriodIncreaseDecreaseAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Comprehensive Income (Loss), Net of Tax [Abstract]",
        "terseLabel": "Other comprehensive (loss) income :"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeLossNetOfTaxPeriodIncreaseDecreaseAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfComprehensiveIncome"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_OtherLiabilitiesFairValueDisclosure": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value portion of other liabilities.",
        "label": "Other Liabilities, Fair Value Disclosure",
        "terseLabel": "Others"
       }
      }
     },
     "localname": "OtherLiabilitiesFairValueDisclosure",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureFairValueMeasurementDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherLiabilitiesNoncurrent": {
     "auth_ref": [
      "r30"
     ],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureAccruedExpensesAccountsPayableAndOtherLiabilitiesDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedBalanceSheets": {
       "order": 5.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of liabilities classified as other, due after one year or the normal operating cycle, if longer.",
        "label": "Other Liabilities, Noncurrent",
        "terseLabel": "Other liabilities",
        "totalLabel": "Other liabilities"
       }
      }
     },
     "localname": "OtherLiabilitiesNoncurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureAccruedExpensesAccountsPayableAndOtherLiabilitiesDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherNonoperatingIncomeExpense": {
     "auth_ref": [
      "r52"
     ],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedIncomeStatements": {
       "order": 3.0,
       "parentTag": "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of income (expense) related to nonoperating activities, classified as other.",
        "label": "Other Nonoperating Income (Expense)",
        "terseLabel": "Other income, net",
        "totalLabel": "Other Nonoperating Income (Expense), Total"
       }
      }
     },
     "localname": "OtherNonoperatingIncomeExpense",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSegmentInformationReconciliationFromAdjustedEbitaToConsolidatedNetIncomeDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedIncomeStatements"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherRestrictedAssetsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Restricted Assets [Abstract]",
        "terseLabel": "Statutory reserves"
       }
      }
     },
     "localname": "OtherRestrictedAssetsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesOthersDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_OtherThanTemporaryImpairmentLossDebtSecuritiesPortionRecognizedInEarnings": {
     "auth_ref": [
      "r414"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of other-than-temporary impairment (OTTI) on investment in debt security, recognized in earnings.",
        "label": "Other-than-temporary Impairment Loss, Debt Securities, Portion Recognized in Earnings",
        "terseLabel": "Impairment losses on debt investments"
       }
      }
     },
     "localname": "OtherThanTemporaryImpairmentLossDebtSecuritiesPortionRecognizedInEarnings",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureEquitySecuritiesAndOtherInvestmentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OverAllotmentOptionMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Right given to the underwriter to sell additional shares over the initial allotment.",
        "label": "Over-Allotment Option [Member]",
        "terseLabel": "Over-allotment option"
       }
      }
     },
     "localname": "OverAllotmentOptionMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureOrganizationAndPrincipalActivitiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ParentMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Portion of equity, or net assets, in the consolidated entity attributable, directly or indirectly, to the parent. Excludes noncontrolling interests.",
        "label": "Parent [Member]",
        "terseLabel": "Total shareholders' equity"
       }
      }
     },
     "localname": "ParentMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfChangesInShareholdersEquity"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_PaymentsForProceedsFromHedgeInvestingActivities": {
     "auth_ref": [],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 1.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash outflow or inflow for a financial contract that meets the hedge criteria as either a cash flow hedge, fair value hedge, or hedge of a net investment in a foreign operation.",
        "label": "Payments for (Proceeds from) Hedge, Investing Activities",
        "negatedLabel": "Settlement of forward exchange contracts, net",
        "totalLabel": "Payments for (Proceeds from) Hedge, Investing Activities, Total"
       }
      }
     },
     "localname": "PaymentsForProceedsFromHedgeInvestingActivities",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsForRepurchaseOfCommonStock": {
     "auth_ref": [
      "r61"
     ],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 1.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash outflow to reacquire common stock during the period.",
        "label": "Payments for Repurchase of Common Stock",
        "negatedLabel": "Repurchase of ordinary shares"
       }
      }
     },
     "localname": "PaymentsForRepurchaseOfCommonStock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsOfDividendsMinorityInterest": {
     "auth_ref": [
      "r61"
     ],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 4.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash outflow in the form of ordinary dividends provided by the non-wholly owned subsidiary to noncontrolling interests.",
        "label": "Payments of Ordinary Dividends, Noncontrolling Interest",
        "negatedLabel": "Dividends paid by non-wholly owned subsidiaries to noncontrolling interests"
       }
      }
     },
     "localname": "PaymentsOfDividendsMinorityInterest",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsToAcquireAdditionalInterestInSubsidiaries": {
     "auth_ref": [
      "r55"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash outflow associated with the purchase of noncontrolling interest during the period.",
        "label": "Payments to Acquire Additional Interest in Subsidiaries",
        "terseLabel": "Cash consideration for additional equity interest acquired"
       }
      }
     },
     "localname": "PaymentsToAcquireAdditionalInterestInSubsidiaries",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsSunArtDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsToAcquireBusinessesGross": {
     "auth_ref": [
      "r55",
      "r634"
     ],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsOtherAcquisitionsDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_BusinessCombinationConsiderationTransferredIncludingEquityInterestInAcquireeHeldPriorToCombination1",
       "weight": 1.0
      },
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfCashFlows2": {
       "order": 0.0,
       "parentTag": "us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash outflow associated with the acquisition of business during the period. The cash portion only of the acquisition price.",
        "label": "Payments to Acquire Businesses, Gross",
        "negatedLabel": "Cash paid for business combinations",
        "terseLabel": "- cash consideration",
        "verboseLabel": "Cash consideration"
       }
      }
     },
     "localname": "PaymentsToAcquireBusinessesGross",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsOtherAcquisitionsDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsSunArtDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired": {
     "auth_ref": [
      "r55"
     ],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 9.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": -1.0
      },
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfCashFlows2": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash outflow associated with the acquisition of a business, net of the cash acquired from the purchase.",
        "label": "Payments to Acquire Businesses, Net of Cash Acquired",
        "negatedLabel": "Cash paid for business combinations, net of cash acquired",
        "negatedTotalLabel": "Cash paid for business combinations, net of cash acquired",
        "terseLabel": "Cash paid for business combinations, net of cash acquired",
        "totalLabel": "Payments to Acquire Businesses, Net of Cash Acquired, Total"
       }
      }
     },
     "localname": "PaymentsToAcquireBusinessesNetOfCashAcquired",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquiredAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Payments to Acquire Businesses, Net of Cash Acquired [Abstract]",
        "terseLabel": "Business combinations:"
       }
      }
     },
     "localname": "PaymentsToAcquireBusinessesNetOfCashAcquiredAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_PaymentsToAcquireEquityMethodInvestments": {
     "auth_ref": [
      "r55"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash outflow associated with the purchase of or advances to an equity method investments, which are investments in joint ventures and entities in which the entity has an equity ownership interest normally of 20 to 50 percent and exercises significant influence.",
        "label": "Payments to Acquire Equity Method Investments",
        "terseLabel": "Purchase consideration"
       }
      }
     },
     "localname": "PaymentsToAcquireEquityMethodInvestments",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsEquityInvestmentsAndOthersDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsToAcquireIntangibleAssets": {
     "auth_ref": [
      "r56"
     ],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 5.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash outflow to acquire asset without physical form usually arising from contractual or other legal rights, excluding goodwill.",
        "label": "Payments to Acquire Intangible Assets",
        "negatedLabel": "Intangible assets"
       }
      }
     },
     "localname": "PaymentsToAcquireIntangibleAssets",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsToAcquireInterestInSubsidiariesAndAffiliates": {
     "auth_ref": [
      "r55"
     ],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 10.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash outflow associated with the acquisition of or advances to an entity that is related to it but not strictly controlled (for example, an unconsolidated subsidiary, affiliate, and joint venture or equity method investment) or the acquisition of an additional interest in a subsidiary (controlled entity).",
        "label": "Payments to Acquire Interest in Subsidiaries and Affiliates",
        "negatedLabel": "Acquisitions of equity method investees",
        "totalLabel": "Payments to Acquire Interest in Subsidiaries and Affiliates, Total"
       }
      }
     },
     "localname": "PaymentsToAcquireInterestInSubsidiariesAndAffiliates",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsToAcquireInvestments": {
     "auth_ref": [
      "r57"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash outflow associated with the purchase of all investments (debt, security, other) during the period.",
        "label": "Payments to Acquire Investments",
        "terseLabel": "Cash consideration",
        "totalLabel": "Payments to Acquire Investments, Total"
       }
      }
     },
     "localname": "PaymentsToAcquireInvestments",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsEquityInvestmentsAndOthersDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsToAcquireProductiveAssetsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Payments to Acquire Productive Assets [Abstract]",
        "terseLabel": "Acquisitions of:"
       }
      }
     },
     "localname": "PaymentsToAcquireProductiveAssetsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_PensionAndOtherPostretirementPlansPolicy": {
     "auth_ref": [
      "r130",
      "r131",
      "r132",
      "r133",
      "r134"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for pension and other postretirement benefit plans. This accounting policy may address (1) the types of plans sponsored by the entity, and the benefits provided by each plan (2) groups that participate in (or are covered by) each plan (3) how plan assets, liabilities and expenses are measured, including the use of any actuaries and (4) significant assumptions used by the entity to value plan assets and liabilities and how such assumptions are derived.",
        "label": "Pension and Other Postretirement Plans, Policy [Policy Text Block]",
        "terseLabel": "Other employee benefits"
       }
      }
     },
     "localname": "PensionAndOtherPostretirementPlansPolicy",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_PlanNameAxis": {
     "auth_ref": [
      "r947",
      "r948",
      "r949",
      "r950",
      "r951",
      "r952",
      "r953",
      "r954",
      "r955",
      "r956",
      "r957",
      "r958",
      "r959",
      "r960",
      "r961",
      "r962",
      "r963",
      "r964",
      "r965",
      "r966",
      "r967",
      "r968",
      "r969",
      "r970",
      "r971",
      "r972"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by plan name for share-based payment arrangement.",
        "label": "Plan Name [Axis]"
       }
      }
     },
     "localname": "PlanNameAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureShareBasedAwardsShareBasedAwardsRelatingToAntGroupDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSharebasedAwardsGeneralDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSharebasedAwardsPartnerCapitalInvestmentPlanDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_PlanNameDomain": {
     "auth_ref": [
      "r947",
      "r948",
      "r949",
      "r950",
      "r951",
      "r952",
      "r953",
      "r954",
      "r955",
      "r956",
      "r957",
      "r958",
      "r959",
      "r960",
      "r961",
      "r962",
      "r963",
      "r964",
      "r965",
      "r966",
      "r967",
      "r968",
      "r969",
      "r970",
      "r971",
      "r972"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Plan name for share-based payment arrangement.",
        "label": "Plan Name [Domain]"
       }
      }
     },
     "localname": "PlanNameDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureShareBasedAwardsShareBasedAwardsRelatingToAntGroupDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSharebasedAwardsGeneralDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSharebasedAwardsPartnerCapitalInvestmentPlanDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_PrepaidExpenseAndOtherAssetsCurrentAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Prepaid Expense and Other Assets, Current [Abstract]",
        "terseLabel": "Current:"
       }
      }
     },
     "localname": "PrepaidExpenseAndOtherAssetsCurrentAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosurePrepaymentsReceivablesAndOtherAssetsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_PrepaidExpenseAndOtherAssetsNoncurrentAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Prepaid Expense and Other Assets, Noncurrent [Abstract]",
        "terseLabel": "Non-current:"
       }
      }
     },
     "localname": "PrepaidExpenseAndOtherAssetsNoncurrentAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosurePrepaymentsReceivablesAndOtherAssetsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ProceedsFromBankDebt": {
     "auth_ref": [
      "r59"
     ],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 7.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash inflow from bank borrowing during the year.",
        "label": "Proceeds from Bank Debt",
        "terseLabel": "Proceeds from bank borrowings and other borrowings, net of upfront fee payment for a syndicated loan"
       }
      }
     },
     "localname": "ProceedsFromBankDebt",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromDivestitureOfBusinessesNetOfCashDivested": {
     "auth_ref": [
      "r53"
     ],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 12.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This element represents the cash inflow during the period from the sale of a component of the entity.",
        "label": "Proceeds from Divestiture of Businesses, Net of Cash Divested",
        "terseLabel": "Deconsolidation and disposal of subsidiaries, net of cash proceeds",
        "totalLabel": "Proceeds from Divestiture of Businesses, Net of Cash Divested, Total"
       }
      }
     },
     "localname": "ProceedsFromDivestitureOfBusinessesNetOfCashDivested",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromIssuanceOfCommonStock": {
     "auth_ref": [
      "r58"
     ],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 0.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash inflow from the additional capital contribution to the entity.",
        "label": "Proceeds from Issuance of Common Stock",
        "terseLabel": "Issuance of ordinary shares"
       }
      }
     },
     "localname": "ProceedsFromIssuanceOfCommonStock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromIssuanceOfSeniorLongTermDebt": {
     "auth_ref": [
      "r59"
     ],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 9.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash inflow from a borrowing with the highest claim on the assets of the entity in case of bankruptcy or liquidation (with maturities initially due after one year or beyond the operating cycle, if longer).",
        "label": "Proceeds from Issuance of Senior Long-Term Debt",
        "terseLabel": "Proceeds from unsecured senior notes, net of debt issuance cost"
       }
      }
     },
     "localname": "ProceedsFromIssuanceOfSeniorLongTermDebt",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromMinorityShareholders": {
     "auth_ref": [
      "r60"
     ],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 6.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash inflow from a noncontrolling interest. Includes, but is not limited to, purchase of additional shares or other increase in noncontrolling interest ownership.",
        "label": "Proceeds from Noncontrolling Interests",
        "terseLabel": "Capital injection from noncontrolling interests"
       }
      }
     },
     "localname": "ProceedsFromMinorityShareholders",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromPaymentsForLongTermLoansForRelatedParties": {
     "auth_ref": [],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 11.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash inflow or outflow associated with long-term loans for 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. Alternate caption: Proceeds from (Payments for) Advances to Affiliates.",
        "label": "Proceeds from Collection of (Payments to Fund) Long-Term Loans to Related Parties",
        "terseLabel": "Loans to employees, net of repayments",
        "totalLabel": "Proceeds from Collection of (Payments to Fund) Long-Term Loans to Related Parties, Total"
       }
      }
     },
     "localname": "ProceedsFromPaymentsForLongTermLoansForRelatedParties",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromSaleAndMaturityOfMarketableSecurities": {
     "auth_ref": [],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 8.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash inflow associated with the aggregate amount received by the entity through sale or maturity of marketable securities (held-to-maturity or available-for-sale) during the period.",
        "label": "Proceeds from Sale and Maturity of Marketable Securities",
        "terseLabel": "Disposals of equity securities and other investments, and other assets"
       }
      }
     },
     "localname": "ProceedsFromSaleAndMaturityOfMarketableSecurities",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromSaleOfEquityMethodInvestments": {
     "auth_ref": [
      "r53"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash inflow associated with the sale of equity method investments, which are investments in joint ventures and entities in which the entity has an equity ownership interest normally of 20 to 50 percent and exercises significant influence.",
        "label": "Proceeds from Sale of Equity Method Investments",
        "terseLabel": "Cash consideration"
       }
      }
     },
     "localname": "ProceedsFromSaleOfEquityMethodInvestments",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsEquityInvestmentsAndOthersDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment": {
     "auth_ref": [
      "r54"
     ],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 6.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash inflow from the sale of long-lived, physical assets that are used in the normal conduct of business to produce goods and services and not intended for resale.",
        "label": "Proceeds from Sale of Property, Plant, and Equipment",
        "terseLabel": "Disposals of property and equipment",
        "totalLabel": "Proceeds from Sale of Property, Plant, and Equipment, Total"
       }
      }
     },
     "localname": "ProceedsFromSaleOfPropertyPlantAndEquipment",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromStockOptionsExercised": {
     "auth_ref": [
      "r58",
      "r141"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash inflow from exercise of option under share-based payment arrangement.",
        "label": "Proceeds from Stock Options Exercised",
        "terseLabel": "Cash received from option exercise under the share option plans"
       }
      }
     },
     "localname": "ProceedsFromStockOptionsExercised",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSharebasedAwardsShareOptionsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProductAndServiceOtherMember": {
     "auth_ref": [
      "r945"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Article or substance produced by nature, labor or machinery and act of providing assistance, classified as other.",
        "label": "Product and Service, Other [Member]",
        "terseLabel": "Other revenue"
       }
      }
     },
     "localname": "ProductAndServiceOtherMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureRevenueByTypeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ProfitLoss": {
     "auth_ref": [
      "r265",
      "r288",
      "r291",
      "r305",
      "r314",
      "r324",
      "r335",
      "r336",
      "r380",
      "r390",
      "r396",
      "r398",
      "r421",
      "r481",
      "r482",
      "r484",
      "r485",
      "r486",
      "r488",
      "r490",
      "r492",
      "r493",
      "r635",
      "r638",
      "r639",
      "r654",
      "r670",
      "r798",
      "r848",
      "r867",
      "r868",
      "r894",
      "r938"
     ],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedIncomeStatements": {
       "order": 1.0,
       "parentTag": "us-gaap_NetIncomeLoss",
       "weight": 1.0
      },
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 0.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      },
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfComprehensiveIncome": {
       "order": 0.0,
       "parentTag": "us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The consolidated profit or loss for the period, net of income taxes, including the portion attributable to the noncontrolling interest.",
        "label": "Net Income (Loss), Including Portion Attributable to Noncontrolling Interest",
        "terseLabel": "Net income",
        "totalLabel": "Net income",
        "verboseLabel": "Net income (loss)"
       }
      }
     },
     "localname": "ProfitLoss",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureInvestmentsInEquityMethodInvesteesSummarizedFinancialInformationOfEquityMethodInvestmentsDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSegmentInformationReconciliationFromAdjustedEbitaToConsolidatedNetIncomeDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsSunArtDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesConsolidationDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedIncomeStatements",
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfCashFlows",
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfComprehensiveIncome"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Property, Plant and Equipment [Abstract]"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentByTypeAxis": {
     "auth_ref": [
      "r104"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of long-lived, physical assets used to produce goods and services and not intended for resale.",
        "label": "Long-Lived Tangible Asset [Axis]"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentByTypeAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosurePropertyAndEquipmentNetDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesLongLivedAssetsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentDisclosureTextBlock": {
     "auth_ref": [
      "r106",
      "r823",
      "r824",
      "r825"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for long-lived, physical asset used in normal conduct of business and not intended for resale. Includes, but is not limited to, work of art, historical treasure, and similar asset classified as collections.",
        "label": "Property, Plant and Equipment Disclosure [Text Block]",
        "terseLabel": "Property and equipment, net"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosurePropertyAndEquipmentNet"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentGross": {
     "auth_ref": [
      "r103",
      "r270"
     ],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosurePropertyAndEquipmentNetDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_PropertyPlantAndEquipmentNet",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount before accumulated depreciation, depletion and amortization of physical assets used in the normal conduct of business and not intended for resale. Examples include, but are not limited to, land, buildings, machinery and equipment, office equipment, and furniture and fixtures.",
        "label": "Property, Plant and Equipment, Gross",
        "periodEndLabel": "Property, Plant and Equipment, Gross, Ending Balance",
        "periodStartLabel": "Property, Plant and Equipment, Gross, Beginning Balance",
        "terseLabel": "Gross",
        "totalLabel": "Property, Plant and Equipment, Gross, Total"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentGross",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosurePropertyAndEquipmentNetDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "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.",
        "label": "Property, Plant and Equipment [Line Items]",
        "verboseLabel": "Property and equipment, net"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosurePropertyAndEquipmentNetDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentNet": {
     "auth_ref": [
      "r104",
      "r244",
      "r799",
      "r870"
     ],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosurePropertyAndEquipmentNetDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedBalanceSheets": {
       "order": 6.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount after accumulated depreciation, depletion and amortization of physical assets used in the normal conduct of business to produce goods and services and not intended for resale. Examples include, but are not limited to, land, buildings, machinery and equipment, office equipment, and furniture and fixtures.",
        "label": "Property, Plant and Equipment, Net",
        "terseLabel": "Property and equipment, net",
        "totalLabel": "Net book value"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentNet",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosurePropertyAndEquipmentNetDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentPolicyTextBlock": {
     "auth_ref": [
      "r104",
      "r823",
      "r824"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for long-lived, physical asset used in normal conduct of business and not intended for resale. Includes, but is not limited to, work of art, historical treasure, and similar asset classified as collections.",
        "label": "Property, Plant and Equipment, Policy [Policy Text Block]",
        "terseLabel": "Property and equipment, net"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentTextBlock": {
     "auth_ref": [
      "r104"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of physical assets used in the normal conduct of business and not intended for resale. Includes, but is not limited to, balances by class of assets, depreciation and depletion expense and method used, including composite depreciation, and accumulated deprecation.",
        "label": "Property, Plant and Equipment [Table Text Block]",
        "terseLabel": "Schedule of property and equipment, net"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosurePropertyAndEquipmentNetTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentTypeDomain": {
     "auth_ref": [
      "r103"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Listing of long-lived, physical assets that are used in the normal conduct of business to produce goods and services and not intended for resale. Examples include land, buildings, machinery and equipment, and other types of furniture and equipment including, but not limited to, office equipment, furniture and fixtures, and computer equipment and software.",
        "label": "Long-Lived Tangible Asset [Domain]"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentTypeDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosurePropertyAndEquipmentNetDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesLongLivedAssetsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentUsefulLife": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Useful life of long lived, physical assets used in the normal conduct of business and not intended for resale, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. Examples include, but not limited to, land, buildings, machinery and equipment, office equipment, furniture and fixtures, and computer equipment.",
        "label": "Property, Plant and Equipment, Useful Life",
        "terseLabel": "Estimated useful lives of property and equipment (in years)"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentUsefulLife",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesLongLivedAssetsDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_ProvisionForLoanAndLeaseLosses": {
     "auth_ref": [
      "r67",
      "r84",
      "r228"
     ],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 22.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of expense related to estimated loss from loan and lease transactions.",
        "label": "Provision for Loan and Lease Losses",
        "terseLabel": "Allowance for doubtful accounts"
       }
      }
     },
     "localname": "ProvisionForLoanAndLeaseLosses",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ReceivableFromShareholdersOrAffiliatesForIssuanceOfCapitalStock": {
     "auth_ref": [
      "r32"
     ],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedBalanceSheets": {
       "order": 3.0,
       "parentTag": "us-gaap_StockholdersEquity",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount due from owner or affiliate of reporting entity for issuance of shares. Includes, but is not limited to, amount due for award under share-based payment arrangement. Excludes amount due from officer or director.",
        "label": "Receivable from Shareholders or Affiliates for Issuance of Capital Stock",
        "negatedLabel": "Subscription receivables"
       }
      }
     },
     "localname": "ReceivableFromShareholdersOrAffiliatesForIssuanceOfCapitalStock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ReceivablesFromStockholderMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Category of equity that is due from owners or affiliates of the reporting entity (including due from officers or directors) resulting from the sale of stock before the cash payment is received.",
        "label": "Receivables from Stockholder [Member]",
        "terseLabel": "Subscription receivables"
       }
      }
     },
     "localname": "ReceivablesFromStockholderMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfChangesInShareholdersEquity"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ReconciliationOfOtherSignificantReconcilingItemsFromSegmentsToConsolidatedTextBlock": {
     "auth_ref": [
      "r78",
      "r79"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of each significant reconciling item, other than profit (loss), revenues, or assets, in the reconciliation of totals of such items in reportable segments to the entity's corresponding consolidated amount.",
        "label": "Reconciliation of Other Significant Reconciling Items from Segments to Consolidated [Table Text Block]",
        "terseLabel": "Schedule of reconciliation from the adjusted EBITA to the consolidated net income"
       }
      }
     },
     "localname": "ReconciliationOfOtherSignificantReconcilingItemsFromSegmentsToConsolidatedTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSegmentInformationTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_RelatedPartyDomain": {
     "auth_ref": [
      "r545",
      "r728",
      "r729"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Related parties include affiliates; other entities for which investments are accounted for by the equity method by the entity; trusts for benefit of employees; and principal owners, management, and members of immediate families. It also may include other parties with which the entity may control or can significantly influence the management or operating policies of the other to an extent that one of the transacting parties might be prevented from fully pursuing its own separate interests.",
        "label": "Related Party [Domain]"
       }
      }
     },
     "localname": "RelatedPartyDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureRelatedPartyTransactionsTables",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureRelatedPartyTransactionsTransactionsWithRelatedPartiesDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsEquityInvestmentsAndOthersDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_RelatedPartyTransactionAxis": {
     "auth_ref": [
      "r257",
      "r728",
      "r729",
      "r984"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of related party transaction.",
        "label": "Related Party Transaction [Axis]"
       }
      }
     },
     "localname": "RelatedPartyTransactionAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureRelatedPartyTransactionsTransactionsWithRelatedPartiesDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsEquityInvestmentsAndOthersDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_RelatedPartyTransactionDomain": {
     "auth_ref": [
      "r257"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Transaction between related party.",
        "label": "Related Party Transaction [Domain]"
       }
      }
     },
     "localname": "RelatedPartyTransactionDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureRelatedPartyTransactionsTransactionsWithRelatedPartiesDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsEquityInvestmentsAndOthersDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_RelatedPartyTransactionExpensesFromTransactionsWithRelatedParty": {
     "auth_ref": [
      "r210"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Expenses recognized resulting from transactions (excluding transactions that are eliminated in consolidated or combined financial statements) with related party.",
        "label": "Related Party Transaction, Expenses from Transactions with Related Party",
        "terseLabel": "Costs and expenses incurred"
       }
      }
     },
     "localname": "RelatedPartyTransactionExpensesFromTransactionsWithRelatedParty",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureRelatedPartyTransactionsTransactionsWithRelatedPartiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RelatedPartyTransactionLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "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.",
        "label": "Related Party Transaction [Line Items]",
        "terseLabel": "Related party transactions"
       }
      }
     },
     "localname": "RelatedPartyTransactionLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureRelatedPartyTransactionsTables",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureRelatedPartyTransactionsTransactionsWithRelatedPartiesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_RelatedPartyTransactionRate": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Identify the stated interest rate per the agreement, for example, leasing and debt arrangements between related parties.",
        "label": "Related Party Transaction, Rate",
        "terseLabel": "Interest rate (as a percent)"
       }
      }
     },
     "localname": "RelatedPartyTransactionRate",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureRelatedPartyTransactionsTransactionsWithRelatedPartiesDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_RelatedPartyTransactionsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Related Party Transactions [Abstract]"
       }
      }
     },
     "localname": "RelatedPartyTransactionsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_RelatedPartyTransactionsByRelatedPartyAxis": {
     "auth_ref": [
      "r545",
      "r728",
      "r780",
      "r781",
      "r782",
      "r783",
      "r784",
      "r785",
      "r786",
      "r787",
      "r788",
      "r789",
      "r790",
      "r791",
      "r984"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of related party. Related parties include, but not limited to, affiliates; other entities for which investments are accounted for by the equity method by the entity; trusts for benefit of employees; and principal owners, management, and members of immediate families. It also may include other parties with which the entity may control or can significantly influence the management or operating policies of the other to an extent that one of the transacting parties might be prevented from fully pursuing its own separate interests.",
        "label": "Related Party [Axis]"
       }
      }
     },
     "localname": "RelatedPartyTransactionsByRelatedPartyAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureRelatedPartyTransactionsTables",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureRelatedPartyTransactionsTransactionsWithRelatedPartiesDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsEquityInvestmentsAndOthersDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_RelatedPartyTransactionsDisclosureTextBlock": {
     "auth_ref": [
      "r726",
      "r727",
      "r729",
      "r731",
      "r732"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for related party transactions. Examples of related party transactions include transactions between (a) a parent company and its subsidiary; (b) subsidiaries of a common parent; (c) and entity and its principal owners; and (d) affiliates.",
        "label": "Related Party Transactions Disclosure [Text Block]",
        "terseLabel": "Related party transactions"
       }
      }
     },
     "localname": "RelatedPartyTransactionsDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureRelatedPartyTransactions"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_RepaymentsOfBankDebt": {
     "auth_ref": [
      "r62"
     ],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 8.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash outflow to settle a bank borrowing during the year.",
        "label": "Repayments of Bank Debt",
        "negatedLabel": "Repayment of bank borrowings"
       }
      }
     },
     "localname": "RepaymentsOfBankDebt",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RepaymentsOfLongTermDebt": {
     "auth_ref": [
      "r62"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash outflow for debt initially having maturity due after one year or beyond the normal operating cycle, if longer.",
        "label": "Repayments of Long-Term Debt",
        "terseLabel": "Repayment amount",
        "totalLabel": "Repayments of Long-Term Debt, Total"
       }
      }
     },
     "localname": "RepaymentsOfLongTermDebt",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureUnsecuredSeniorNotesGeneralDetails3"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RepaymentsOfSeniorDebt": {
     "auth_ref": [
      "r62"
     ],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 3.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash outflow for a long-term debt where the holder has highest claim on the entity's asset in case of bankruptcy or liquidation during the period.",
        "label": "Repayments of Senior Debt",
        "negatedLabel": "Repayment of unsecured senior notes",
        "totalLabel": "Repayments of Senior Debt, Total"
       }
      }
     },
     "localname": "RepaymentsOfSeniorDebt",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ReportingUnitAxis": {
     "auth_ref": [
      "r456",
      "r458",
      "r850"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by reporting unit.",
        "label": "Reporting Unit [Axis]"
       }
      }
     },
     "localname": "ReportingUnitAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureGoodwillDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ReportingUnitDomain": {
     "auth_ref": [
      "r456",
      "r458",
      "r850"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Level of reporting at which goodwill is tested for impairment.",
        "label": "Reporting Unit [Domain]"
       }
      }
     },
     "localname": "ReportingUnitDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureGoodwillDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ResearchAndDevelopmentExpense": {
     "auth_ref": [
      "r144",
      "r253",
      "r993"
     ],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedIncomeStatements": {
       "order": 2.0,
       "parentTag": "us-gaap_OperatingIncomeLoss",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The aggregate costs incurred (1) in a planned search or critical investigation aimed at discovery of new knowledge with the hope that such knowledge will be useful in developing a new product or service, a new process or technique, or in bringing about a significant improvement to an existing product or process; or (2) to translate research findings or other knowledge into a plan or design for a new product or process or for a significant improvement to an existing product or process whether intended for sale or the entity's use, during the reporting period charged to research and development projects, including the costs of developing computer software up to the point in time of achieving technological feasibility, and costs allocated in accounting for a business combination to in-process projects deemed to have no alternative future use.",
        "label": "Research and Development Expense",
        "negatedLabel": "Product development expenses",
        "totalLabel": "Research and Development Expense, Total"
       }
      }
     },
     "localname": "ResearchAndDevelopmentExpense",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedIncomeStatements"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ResearchAndDevelopmentExpenseMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Primary financial statement caption in which the reported facts about research and development expense have been included.",
        "label": "Research and Development Expense [Member]",
        "terseLabel": "Product development expenses"
       }
      }
     },
     "localname": "ResearchAndDevelopmentExpenseMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSharebasedAwardsExpenseByFunctionDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ResearchAndDevelopmentExpensePolicy": {
     "auth_ref": [
      "r144"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for costs it has incurred (1) in a planned search or critical investigation aimed at discovery of new knowledge with the hope that such knowledge will be useful in developing a new product or service, a new process or technique, or in bringing about a significant improvement to an existing product or process; or (2) to translate research findings or other knowledge into a plan or design for a new product or process or for a significant improvement to an existing product or process.",
        "label": "Research and Development Expense, Policy [Policy Text Block]",
        "terseLabel": "Product development expenses"
       }
      }
     },
     "localname": "ResearchAndDevelopmentExpensePolicy",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_RestrictedAssetsDisclosureTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for assets that are restricted in their use, generally by contractual agreements or regulatory requirements. This would include, but not limited to, a description of the restricted assets and the terms of the restriction.",
        "label": "Restricted Assets Disclosure [Text Block]",
        "terseLabel": "Restricted net assets"
       }
      }
     },
     "localname": "RestrictedAssetsDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureRestrictedNetAssets"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsAxis": {
     "auth_ref": [
      "r19"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by category of cash or cash equivalent items which are restricted as to withdrawal or usage.",
        "label": "Restricted Cash and Cash Equivalents [Axis]"
       }
      }
     },
     "localname": "RestrictedCashAndCashEquivalentsCashAndCashEquivalentsAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureRestrictedCashAndEscrowReceivablesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember": {
     "auth_ref": [
      "r269"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Type of cash and cash equivalent. Cash is currency on hand as well as demand deposits with banks or financial institutions. Includes other kinds of accounts that have the general characteristics of demand deposits. Also includes short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates.",
        "label": "Cash and Cash Equivalents [Domain]"
       }
      }
     },
     "localname": "RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureRestrictedCashAndEscrowReceivablesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_RestrictedCashAndCashEquivalentsItemsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "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.",
        "label": "Restricted Cash and Cash Equivalents Items [Line Items]",
        "terseLabel": "Restricted cash and escrow receivables"
       }
      }
     },
     "localname": "RestrictedCashAndCashEquivalentsItemsLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureRestrictedCashAndEscrowReceivablesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_RestrictedCashAndInvestmentsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Restricted Cash and Investments [Abstract]"
       }
      }
     },
     "localname": "RestrictedCashAndInvestmentsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_RestrictedStockUnitsRSUMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Share instrument which is convertible to stock or an equivalent amount of cash, after a specified period of time or when specified performance conditions are met.",
        "label": "Restricted Stock Units (RSUs) [Member]",
        "terseLabel": "RSUs"
       }
      }
     },
     "localname": "RestrictedStockUnitsRSUMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureShareBasedAwardsTables",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSharebasedAwardsRsusDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_RestrictionsForConsolidatedAndUnconsolidatedSubsidiariesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Restrictions for Consolidated and Unconsolidated Subsidiaries [Abstract]"
       }
      }
     },
     "localname": "RestrictionsForConsolidatedAndUnconsolidatedSubsidiariesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_RetailMember": {
     "auth_ref": [
      "r945"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sale of product directly to consumer.",
        "label": "Retail [Member]",
        "terseLabel": "Retail"
       }
      }
     },
     "localname": "RetailMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureRevenueBreakdownBySegmentDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_RetainedEarningsAppropriated": {
     "auth_ref": [
      "r36",
      "r116",
      "r117",
      "r234",
      "r311"
     ],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedBalanceSheets": {
       "order": 4.0,
       "parentTag": "us-gaap_StockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A segregation of retained earnings which is unavailable for dividend distribution. Includes also retained earnings appropriated for loss contingencies.",
        "label": "Retained Earnings, Appropriated",
        "terseLabel": "Statutory reserves"
       }
      }
     },
     "localname": "RetainedEarningsAppropriated",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RetainedEarningsAppropriatedMember": {
     "auth_ref": [
      "r14",
      "r116"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A segregation of retained earnings which is unavailable for dividend distribution. Includes also retained earnings appropriated for loss contingencies.",
        "label": "Retained Earnings, Appropriated [Member]",
        "terseLabel": "Statutory reserves"
       }
      }
     },
     "localname": "RetainedEarningsAppropriatedMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfChangesInShareholdersEquity"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_RetainedEarningsUnappropriated": {
     "auth_ref": [
      "r15",
      "r241",
      "r311"
     ],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedBalanceSheets": {
       "order": 7.0,
       "parentTag": "us-gaap_StockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A segregation of retained earnings which is available for dividend distribution. Earnings not paid out as dividends but instead reinvested in the core business or used to pay off debt. Unappropriated profit is part of shareholder equity. Also called cumulative distributions or earned surplus or accumulated earnings or unappropriated profit.",
        "label": "Retained Earnings, Unappropriated",
        "verboseLabel": "Retained earnings"
       }
      }
     },
     "localname": "RetainedEarningsUnappropriated",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RetainedEarningsUnappropriatedMember": {
     "auth_ref": [
      "r15"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A segregation of retained earnings which is available for dividend distribution. Earnings not paid out as dividends but instead reinvested in the core business or used to pay off debt. Unappropriated profit is part of shareholder equity. Also called cumulative distributions or earned surplus or accumulated earnings or unappropriated profit.",
        "label": "Retained Earnings, Unappropriated [Member]",
        "terseLabel": "Retained earnings"
       }
      }
     },
     "localname": "RetainedEarningsUnappropriatedMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfChangesInShareholdersEquity"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_RetainedEarningsUndistributedEarningsFromEquityMethodInvestees": {
     "auth_ref": [
      "r312"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of consolidated retained earnings that represent undistributed (not yet received) earnings from 50 percent or less owned persons accounted for by the equity method (equity method investees).",
        "label": "Retained Earnings, Undistributed Earnings from Equity Method Investees",
        "verboseLabel": "Undistributed earnings"
       }
      }
     },
     "localname": "RetainedEarningsUndistributedEarningsFromEquityMethodInvestees",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureInvestmentsInEquityMethodInvesteesAdditionalDetailsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RevenueFromExternalCustomersByGeographicAreasTableTextBlock": {
     "auth_ref": [
      "r82"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of revenue from external customers by geographic areas attributed to the entity's country of domicile and to foreign countries from which the entity derives revenue.",
        "label": "Revenue from External Customers by Geographic Areas [Table Text Block]",
        "terseLabel": "Schedule of revenue by segment"
       }
      }
     },
     "localname": "RevenueFromExternalCustomersByGeographicAreasTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureRevenueTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_RevenueFromRelatedParties": {
     "auth_ref": [
      "r49",
      "r251",
      "r483",
      "r484",
      "r485",
      "r491",
      "r492",
      "r493"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of revenue, fees and commissions earned from transactions between (a) a parent company and its subsidiaries; (b) subsidiaries of a common parent; (c) an entity and trusts for the benefit of employees, for example, but not limited to, pension and profit-sharing trusts that are managed by or under the trusteeship of the entity's management; (d) an entity and its principal, owners, management, or members of their immediate families; and (e) affiliates.",
        "label": "Revenue from Related Parties",
        "verboseLabel": "Amounts earned by the Company"
       }
      }
     },
     "localname": "RevenueFromRelatedParties",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureRelatedPartyTransactionsTransactionsWithRelatedPartiesDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsEquityInvestmentsAndOthersDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RevenuePracticalExpedientFinancingComponent": {
     "auth_ref": [
      "r536"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicates (true false) whether practical expedient was elected not to adjust consideration for effect of financing component when transfer and customer payment for product or service occurs within one year or less.",
        "label": "Revenue, Practical Expedient, Financing Component [true false]",
        "terseLabel": "Practical expedient, financing component"
       }
      }
     },
     "localname": "RevenuePracticalExpedientFinancingComponent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesVariousDetails"
     ],
     "xbrltype": "booleanItemType"
    },
    "us-gaap_RevenuePracticalExpedientRemainingPerformanceObligation": {
     "auth_ref": [
      "r535"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicates (true false) whether optional exemption was applied not to disclose amount of transaction price allocated to and explanation of expected timing of revenue recognition for remaining performance obligation, when contract has expected duration of one year or less or right to consideration corresponds directly to performance completed.",
        "label": "Revenue, Remaining Performance Obligation, Optional Exemption, Performance Obligation [true false]",
        "terseLabel": "Practical expedient, unsatisfied performance obligations"
       }
      }
     },
     "localname": "RevenuePracticalExpedientRemainingPerformanceObligation",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesVariousDetails"
     ],
     "xbrltype": "booleanItemType"
    },
    "us-gaap_RevenueRecognitionPolicyTextBlock": {
     "auth_ref": [
      "r844",
      "r845"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for revenue. Includes revenue from contract with customer and from other sources.",
        "label": "Revenue [Policy Text Block]",
        "terseLabel": "Revenue recognition"
       }
      }
     },
     "localname": "RevenueRecognitionPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_Revenues": {
     "auth_ref": [
      "r298",
      "r314",
      "r371",
      "r372",
      "r389",
      "r394",
      "r395",
      "r399",
      "r400",
      "r402",
      "r421",
      "r481",
      "r482",
      "r484",
      "r485",
      "r486",
      "r488",
      "r490",
      "r492",
      "r493",
      "r670",
      "r798",
      "r938"
     ],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSegmentInformationSegmentEbitaAndSegmentEbitdaDetails": {
       "order": 0.0,
       "parentTag": "baba_AdjustedEarningsBeforeInterestTaxesAndAmortization",
       "weight": 1.0
      },
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedIncomeStatements": {
       "order": 0.0,
       "parentTag": "us-gaap_OperatingIncomeLoss",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of revenue recognized from goods sold, services rendered, insurance premiums, or other activities that constitute an earning process. Includes, but is not limited to, investment and interest income before deduction of interest expense when recognized as a component of revenue, and sales and trading gain (loss).",
        "label": "Revenues",
        "terseLabel": "Revenue",
        "totalLabel": "Revenues, Total"
       }
      }
     },
     "localname": "Revenues",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureInvestmentsInEquityMethodInvesteesSummarizedFinancialInformationOfEquityMethodInvestmentsDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureRevenueBreakdownBySegmentDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureRevenueByTypeDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSegmentInformationSegmentEbitaAndSegmentEbitdaDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsSunArtDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesConsolidationDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedIncomeStatements"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RevenuesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Revenues [Abstract]",
        "terseLabel": "Revenue recognition"
       }
      }
     },
     "localname": "RevenuesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesVariousDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_RevenuesFromExternalCustomersAndLongLivedAssetsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "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.",
        "label": "Revenues from External Customers and Long-Lived Assets [Line Items]",
        "terseLabel": "Revenue breakdown"
       }
      }
     },
     "localname": "RevenuesFromExternalCustomersAndLongLivedAssetsLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureRevenueBreakdownBySegmentDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_RightOfUseAssetObtainedInExchangeForOperatingLeaseLiability": {
     "auth_ref": [
      "r712",
      "r869"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase in right-of-use asset obtained in exchange for operating lease liability.",
        "label": "Right-of-Use Asset Obtained in Exchange for Operating Lease Liability",
        "terseLabel": "Operating lease assets obtained in exchange for operating lease liabilities"
       }
      }
     },
     "localname": "RightOfUseAssetObtainedInExchangeForOperatingLeaseLiability",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureLeasesOperatingLeaseCostAndOthersDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RisksAndUncertaintiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Risks and Uncertainties [Abstract]"
       }
      }
     },
     "localname": "RisksAndUncertaintiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_SaleOfStockNameOfTransactionDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sale of the entity's stock, including, but not limited to, initial public offering (IPO) and private placement.",
        "label": "Sale of Stock [Domain]"
       }
      }
     },
     "localname": "SaleOfStockNameOfTransactionDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureOrganizationAndPrincipalActivitiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_SalesAndExciseTaxPayableCurrent": {
     "auth_ref": [
      "r21"
     ],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureAccruedExpensesAccountsPayableAndOtherLiabilitiesDetails": {
       "order": 7.0,
       "parentTag": "us-gaap_AccountsPayableAndAccruedLiabilitiesCurrent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Carrying value as of the balance sheet date of liabilities incurred through that date and payable for statutory sales and use taxes, including value added tax. Used to reflect the current portion of the liabilities (due within one year or within the normal operating cycle if longer).",
        "label": "Sales and Excise Tax Payable, Current",
        "terseLabel": "Other taxes payable"
       }
      }
     },
     "localname": "SalesAndExciseTaxPayableCurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureAccruedExpensesAccountsPayableAndOtherLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable": {
     "auth_ref": [
      "r34"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule itemizing specific types of trade accounts and notes receivable, and for each the gross carrying value, allowance, and net carrying value as of the balance sheet date. Presentation is categorized by current, noncurrent and unclassified receivables.",
        "label": "Schedule of Accounts, Notes, Loans and Financing Receivable [Table]"
       }
      }
     },
     "localname": "ScheduleOfAccountsNotesLoansAndFinancingReceivableTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosurePrepaymentsReceivablesAndOtherAssetsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfAcquiredFiniteLivedIntangibleAssetsByMajorClassTextBlock": {
     "auth_ref": [
      "r95"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the characteristics, including initial carrying value, residual amount, weighted average useful life, of finite-lived intangible assets acquired during the period by major class. A major class is composed of intangible assets that can be grouped together because they are similar, either by nature or by their use in the operations of the company.",
        "label": "Schedule of Acquired Finite-Lived Intangible Assets by Major Class [Table Text Block]",
        "terseLabel": "Schedule of estimated useful lives of identifiable intangible assets other than licensed copyrights"
       }
      }
     },
     "localname": "ScheduleOfAcquiredFiniteLivedIntangibleAssetsByMajorClassTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable": {
     "auth_ref": [
      "r157",
      "r158",
      "r630"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule reflecting each material business combination (or series of individually immaterial business combinations) completed during the period, including background, timing, and recognized assets and liabilities.",
        "label": "Schedule of Business Acquisitions, by Acquisition [Table]"
       }
      }
     },
     "localname": "ScheduleOfBusinessAcquisitionsByAcquisitionTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsOtherAcquisitionsDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsSunArtDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsTables"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTextBlock": {
     "auth_ref": [
      "r157",
      "r158"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of a material business combination completed during the period, including background, timing, and recognized assets and liabilities. This table does not include leveraged buyouts.",
        "label": "Schedule of Business Acquisitions, by Acquisition [Table Text Block]",
        "terseLabel": "Schedule of the allocation of the purchase price as of the date of acquisition"
       }
      }
     },
     "localname": "ScheduleOfBusinessAcquisitionsByAcquisitionTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfComponentsOfIncomeTaxExpenseBenefitTableTextBlock": {
     "auth_ref": [
      "r151"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the components of income tax expense attributable to continuing operations for each year presented including, but not limited to: current tax expense (benefit), deferred tax expense (benefit), investment tax credits, government grants, the benefits of operating loss carryforwards, tax expense that results from allocating certain tax benefits either directly to contributed capital or to reduce goodwill or other noncurrent intangible assets of an acquired entity, adjustments of a deferred tax liability or asset for enacted changes in tax laws or rates or a change in the tax status of the entity, and adjustments of the beginning-of-the-year balances of a valuation allowance because of a change in circumstances that causes a change in judgment about the realizability of the related deferred tax asset in future years.",
        "label": "Schedule of Components of Income Tax Expense (Benefit) [Table Text Block]",
        "terseLabel": "Schedule of composition of income tax expenses"
       }
      }
     },
     "localname": "ScheduleOfComponentsOfIncomeTaxExpenseBenefitTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureIncomeTaxExpensesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfDebtTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of information pertaining to short-term and long-debt instruments or arrangements, including but not limited to identification of terms, features, collateral requirements and other information necessary to a fair presentation.",
        "label": "Schedule of Debt [Table Text Block]",
        "terseLabel": "Schedule of analysis of bank borrowings",
        "verboseLabel": "Summary of the unsecured senior notes"
       }
      }
     },
     "localname": "ScheduleOfDebtTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureBankBorrowingsTables",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureUnsecuredSeniorNotesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfDeferredTaxAssetsAndLiabilitiesTableTextBlock": {
     "auth_ref": [
      "r147"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the components of net deferred tax asset or liability recognized in an entity's statement of financial position, including the following: the total of all deferred tax liabilities, the total of all deferred tax assets, the total valuation allowance recognized for deferred tax assets.",
        "label": "Schedule of Deferred Tax Assets and Liabilities [Table Text Block]",
        "terseLabel": "Schedule of composition of deferred tax assets and liabilities"
       }
      }
     },
     "localname": "ScheduleOfDeferredTaxAssetsAndLiabilitiesTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureIncomeTaxExpensesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock": {
     "auth_ref": [
      "r908"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of an entity's basic and diluted earnings per share calculations, including a reconciliation of numerators and denominators of the basic and diluted per-share computations for income from continuing operations.",
        "label": "Schedule of Earnings Per Share, Basic and Diluted [Table Text Block]",
        "terseLabel": "Schedule of computation of basic and diluted net income per share/ADS"
       }
      }
     },
     "localname": "ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureEarningsPerShareAdsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfEffectiveIncomeTaxRateReconciliationTableTextBlock": {
     "auth_ref": [
      "r146"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the reconciliation using percentage or dollar amounts of the reported amount of income tax expense attributable to continuing operations for the year to the amount of income tax expense that would result from applying domestic federal statutory tax rates to pretax income from continuing operations.",
        "label": "Schedule of Effective Income Tax Rate Reconciliation [Table Text Block]",
        "terseLabel": "Schedule of reconciliation of the differences between the statutory EIT rate applicable to profits of the consolidated entities and the income tax expenses of the Company"
       }
      }
     },
     "localname": "ScheduleOfEffectiveIncomeTaxRateReconciliationTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureIncomeTaxExpensesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTextBlock": {
     "auth_ref": [
      "r139"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of allocation of amount expensed and capitalized for award under share-based payment arrangement to statement of income or comprehensive income and statement of financial position. Includes, but is not limited to, corresponding line item in financial statement.",
        "label": "Share-Based Payment Arrangement, Expensed and Capitalized, Amount [Table Text Block]",
        "terseLabel": "Schedule of share-based compensation expense by function"
       }
      }
     },
     "localname": "ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureShareBasedAwardsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfEntityWideInformationRevenueFromExternalCustomersByProductsAndServicesTable": {
     "auth_ref": [
      "r81"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular presentation of the description and amount of revenues from a product or service, or a group of similar products or similar services, reported from external customers during the period, if the information is not provided as part of the reportable operating segment information.",
        "label": "Revenue from External Customers by Products and Services [Table]"
       }
      }
     },
     "localname": "ScheduleOfEntityWideInformationRevenueFromExternalCustomersByProductsAndServicesTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureRevenueByTypeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfEntityWideInformationRevenueFromExternalCustomersByProductsAndServicesTextBlock": {
     "auth_ref": [
      "r81"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of entity-wide revenues from external customers for each product or service or each group of similar products or services if the information is not provided as part of the reportable operating segment information.",
        "label": "Revenue from External Customers by Products and Services [Table Text Block]",
        "terseLabel": "Schedule of revenue by type"
       }
      }
     },
     "localname": "ScheduleOfEntityWideInformationRevenueFromExternalCustomersByProductsAndServicesTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureRevenueTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock": {
     "auth_ref": [
      "r659",
      "r660"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of assets and liabilities, including [financial] instruments measured at fair value that are classified in stockholders' equity, if any, that are measured at fair value on a recurring basis. The disclosures contemplated herein include the fair value measurements at the reporting date by the level within the fair value hierarchy in which the fair value measurements in their entirety fall, segregating fair value measurements using quoted prices in active markets for identical assets (Level 1), significant other observable inputs (Level 2), and significant unobservable inputs (Level 3).",
        "label": "Schedule of Fair Value, Assets and Liabilities Measured on Recurring Basis [Table Text Block]",
        "terseLabel": "Table of assets and liabilities that are measured at fair value on a recurring basis and categorized using the fair value hierarchy"
       }
      }
     },
     "localname": "ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureFairValueMeasurementTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable": {
     "auth_ref": [
      "r95",
      "r98",
      "r772"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule of assets, excluding financial assets and goodwill, lacking physical substance with a finite life.",
        "label": "Schedule of Finite-Lived Intangible Assets [Table]"
       }
      }
     },
     "localname": "ScheduleOfFiniteLivedIntangibleAssetsTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureIntangibleAssetsNetGeneralDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTableTextBlock": {
     "auth_ref": [
      "r95",
      "r98"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of assets, excluding financial assets and goodwill, lacking physical substance with a finite life, by either major class or business segment.",
        "label": "Schedule of Finite-Lived Intangible Assets [Table Text Block]",
        "terseLabel": "Schedule of intangible assets, net"
       }
      }
     },
     "localname": "ScheduleOfFiniteLivedIntangibleAssetsTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureIntangibleAssetsNetTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfGoodwillTextBlock": {
     "auth_ref": [
      "r850",
      "r915",
      "r916",
      "r917",
      "r918",
      "r919",
      "r920",
      "r921",
      "r922",
      "r923",
      "r924",
      "r925"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of goodwill by reportable segment and in total which includes a rollforward schedule.",
        "label": "Schedule of Goodwill [Table Text Block]",
        "terseLabel": "Schedule of changes in the carrying amount of goodwill"
       }
      }
     },
     "localname": "ScheduleOfGoodwillTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureGoodwillTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfInvestmentsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "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.",
        "label": "Schedule of Investments [Line Items]",
        "terseLabel": "Investment"
       }
      }
     },
     "localname": "ScheduleOfInvestmentsLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsEquityInvestmentsAndOthersDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfInvestmentsTable": {
     "auth_ref": [
      "r252"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A container table for all schedule of investment items. It ties in the \"Legal Entity [Axis]\" to all of its contained line items.",
        "label": "Schedule of Investments [Table]"
       }
      }
     },
     "localname": "ScheduleOfInvestmentsTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsEquityInvestmentsAndOthersDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfMaturitiesOfLongTermDebtTableTextBlock": {
     "auth_ref": [
      "r111"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of maturity and sinking fund requirement for long-term debt.",
        "label": "Schedule of Maturities of Long-Term Debt [Table Text Block]",
        "terseLabel": "Schedule of borrowings under the credit facilities are due",
        "verboseLabel": "Schedule of future principal payments due"
       }
      }
     },
     "localname": "ScheduleOfMaturitiesOfLongTermDebtTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureBankBorrowingsTables",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureUnsecuredSeniorNotesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfPropertyPlantAndEquipmentTable": {
     "auth_ref": [
      "r104"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of information about physical assets used in the normal conduct of business and not intended for resale. Includes, but is not limited to, balances by class of assets, depreciation and depletion expense and method used, including composite depreciation, and accumulated deprecation.",
        "label": "Property, Plant and Equipment [Table]"
       }
      }
     },
     "localname": "ScheduleOfPropertyPlantAndEquipmentTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosurePropertyAndEquipmentNetDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable": {
     "auth_ref": [
      "r212",
      "r213"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule of quantitative and qualitative information pertaining to related party transactions. Examples of related party transactions include transactions between (a) a parent company and its subsidiary; (b) subsidiaries of a common parent; (c) and entity and its principal owners; and (d) affiliates.",
        "label": "Schedule of Related Party Transactions, by Related Party [Table]"
       }
      }
     },
     "localname": "ScheduleOfRelatedPartyTransactionsByRelatedPartyTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureRelatedPartyTransactionsTables",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureRelatedPartyTransactionsTransactionsWithRelatedPartiesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfRelatedPartyTransactionsTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of related party transactions. Examples of related party transactions include, but are not limited to, transactions between (a) a parent company and its subsidiary; (b) subsidiaries of a common parent; (c) and entity and its principal owners and (d) affiliates.",
        "label": "Schedule of Related Party Transactions [Table Text Block]",
        "terseLabel": "Schedule of transactions"
       }
      }
     },
     "localname": "ScheduleOfRelatedPartyTransactionsTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureRelatedPartyTransactionsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfRestrictedCashAndCashEquivalentsTable": {
     "auth_ref": [
      "r73",
      "r215",
      "r240"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of information about cash and cash equivalents restricted as to withdrawal or usage.",
        "label": "Restrictions on Cash and Cash Equivalents [Table]"
       }
      }
     },
     "localname": "ScheduleOfRestrictedCashAndCashEquivalentsTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureRestrictedCashAndEscrowReceivablesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfRestrictedCashAndCashEquivalentsTextBlock": {
     "auth_ref": [
      "r73",
      "r215",
      "r240"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of cash and cash equivalents restricted as to withdrawal or usage.",
        "label": "Restrictions on Cash and Cash Equivalents [Table Text Block]",
        "terseLabel": "Schedule of restricted cash and escrow receivables"
       }
      }
     },
     "localname": "ScheduleOfRestrictedCashAndCashEquivalentsTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureRestrictedCashAndEscrowReceivablesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfRevenuesFromExternalCustomersAndLongLivedAssetsTable": {
     "auth_ref": [
      "r43",
      "r83"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule of material long-lived assets (excluding financial instruments, customer relationships with financial institutions, mortgage and other servicing rights, deferred policy acquisition costs, and deferred taxes assets) located in identified geographic areas and/or the amount of revenue from external customers attributed to that country from which revenue is material. An entity may also provide subtotals of geographic information about groups of countries.",
        "label": "Schedule of Revenues from External Customers and Long-Lived Assets [Table]"
       }
      }
     },
     "localname": "ScheduleOfRevenuesFromExternalCustomersAndLongLivedAssetsTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureRevenueBreakdownBySegmentDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable": {
     "auth_ref": [
      "r549",
      "r551",
      "r554",
      "r555",
      "r556",
      "r558",
      "r559",
      "r560",
      "r561",
      "r562",
      "r563",
      "r564",
      "r565",
      "r566",
      "r567",
      "r568",
      "r569",
      "r570",
      "r571",
      "r572",
      "r573",
      "r574",
      "r575",
      "r578",
      "r579",
      "r580",
      "r581",
      "r582"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of information about share-based payment arrangement.",
        "label": "Schedule of Share-Based Compensation Arrangements by Share-Based Payment Award [Table]"
       }
      }
     },
     "localname": "ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureShareBasedAwardsShareBasedAwardsRelatingToAntGroupDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureShareBasedAwardsTables",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSharebasedAwardsExpenseByFunctionDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSharebasedAwardsGeneralDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSharebasedAwardsPartnerCapitalInvestmentPlanDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSharebasedAwardsRsusDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSharebasedAwardsShareOptionsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfShareBasedCompensationRestrictedStockUnitsAwardActivityTableTextBlock": {
     "auth_ref": [
      "r135"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the number and weighted-average grant date fair value for restricted stock units that were outstanding at the beginning and end of the year, and the number of restricted stock units that were granted, vested, or forfeited during the year.",
        "label": "Share-Based Payment Arrangement, Restricted Stock Unit, Activity [Table Text Block]",
        "terseLabel": "Summary of changes in the RSUs"
       }
      }
     },
     "localname": "ScheduleOfShareBasedCompensationRestrictedStockUnitsAwardActivityTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureShareBasedAwardsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfShareBasedCompensationStockOptionsActivityTableTextBlock": {
     "auth_ref": [
      "r135",
      "r136",
      "r137"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure for stock option plans. Includes, but is not limited to, outstanding awards at beginning and end of year, grants, exercises, forfeitures, and weighted-average grant date fair value.",
        "label": "Share-Based Payment Arrangement, Option, Activity [Table Text Block]",
        "terseLabel": "Summary of changes in the share options"
       }
      }
     },
     "localname": "ScheduleOfShareBasedCompensationStockOptionsActivityTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureShareBasedAwardsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfStockByClassTable": {
     "auth_ref": [
      "r114",
      "r115",
      "r118",
      "r120",
      "r121",
      "r122",
      "r123",
      "r124",
      "r125",
      "r126",
      "r275",
      "r276",
      "r277",
      "r364",
      "r525",
      "r526",
      "r527",
      "r528",
      "r529",
      "r530",
      "r531",
      "r856",
      "r885",
      "r898"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule detailing information related to equity by class of stock. Class of stock includes common, convertible, and preferred stocks which are not redeemable or redeemable solely at the option of the issuer. It also includes preferred stock with redemption features that are solely within the control of the issuer and mandatorily redeemable stock if redemption is required to occur only upon liquidation or termination of the reporting entity.",
        "label": "Schedule of Stock by Class [Table]"
       }
      }
     },
     "localname": "ScheduleOfStockByClassTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesBasisOfPresentationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfTradingSecuritiesAndOtherTradingAssetsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "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.",
        "label": "Debt and Equity Securities, FV-NI [Line Items]",
        "terseLabel": "Equity securities and other investments and fair value disclosure"
       }
      }
     },
     "localname": "ScheduleOfTradingSecuritiesAndOtherTradingAssetsLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureEquitySecuritiesAndOtherInvestmentsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfTradingSecuritiesAndOtherTradingAssetsTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of information about investment in debt security measured at fair value with change in fair value recognized in net income (trading) and investment in equity security with change in fair value recognized in net income (FV-NI).",
        "label": "Debt Securities, Trading, and Equity Securities, FV-NI [Table]"
       }
      }
     },
     "localname": "ScheduleOfTradingSecuritiesAndOtherTradingAssetsTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureEquitySecuritiesAndOtherInvestmentsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfVariableInterestEntitiesTable": {
     "auth_ref": [
      "r178",
      "r179",
      "r180",
      "r181",
      "r182",
      "r636",
      "r637",
      "r640",
      "r641",
      "r750",
      "r751",
      "r752"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of qualitative and quantitative information related to variable interests the entity holds, whether or not such variable interest entity (VIE) is included in the reporting entity's consolidated financial statements. Includes, but is not limited to, description of the significant judgments and assumptions made in determining whether a variable interest (as defined) held by the entity requires the variable interest entity (VIE) (as defined) to be consolidated and (or) disclose information about its involvement with the VIE, individually or in aggregate (as applicable); the nature of restrictions, if any, on the consolidated VIE's assets and on the settlement of its liabilities reported by an entity in its statement of financial position, including the carrying amounts of such assets and liabilities; the nature of, and changes in, the risks associated with involvement in the VIE; how involvement with the VIE affects the entity's financial position, financial performance, and cash flows; the lack of recourse if creditors (or beneficial interest holders) of the consolidated VIE have no recourse to the general credit of the primary beneficiary (if applicable); the terms of arrangements, giving consideration to both explicit arrangements and implicit variable interests, if any, that could require the entity to provide financial support to the VIE, including events or circumstances that could expose the entity to a loss; the methodology used by the entity for determining whether or not it is the primary beneficiary of the variable interest entity; the significant factors considered and judgments made in determining that the power to direct the activities of a VIE that most significantly impact the VIE's economic performance are shared (as defined); the carrying amounts and classification of assets and liabilities of the VIE included in the statement of financial position; the entity's maximum exposure to loss, if any, as a result of its involvement with the VIE, including how the maximum exposure is determined and significant sources of the entity's exposure to the VIE; a tabular comparison of the carrying amounts of the assets and liabilities and the entity's maximum exposure to loss; information about any liquidity arrangements, guarantees, and (or) other commitments by third parties that may affect the fair value or risk of the entity's variable interest in the VIE; whether or not the entity has provided financial support or other support (explicitly or implicitly) to the VIE that it was not previously contractually required to provide or whether the entity intends to provide that support, including the type and amount of the support and the primary reasons for providing the support; and supplemental information the entity determines necessary to provide.",
        "label": "Schedule of Variable Interest Entities [Table]"
       }
      }
     },
     "localname": "ScheduleOfVariableInterestEntitiesTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesConsolidationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfVariableInterestEntitiesTextBlock": {
     "auth_ref": [
      "r178",
      "r179",
      "r180",
      "r181",
      "r182"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the significant judgments and assumptions made in determining whether a variable interest (as defined) held by the entity requires the variable interest entity (VIE) (as defined) to be consolidated and (or) disclose information about its involvement with the VIE, individually or in aggregate (as applicable); the nature of restrictions, if any, on the consolidated VIE's assets and on the settlement of its liabilities reported by an entity in its statement of financial position, including the carrying amounts of such assets and liabilities; the nature of, and changes in, the risks associated with involvement in the VIE; how involvement with the VIE affects the entity's financial position, financial performance, and cash flows; the lack of recourse if creditors (or beneficial interest holders) of the consolidated VIE have no recourse to the general credit of the primary beneficiary (if applicable); the terms of arrangements, giving consideration to both explicit arrangements and implicit variable interests, if any, that could require the entity to provide financial support to the VIE, including events or circumstances that could expose the entity to a loss; the methodology used by the entity for determining whether or not it is the primary beneficiary of the variable interest entity; the significant factors considered and judgments made in determining that the power to direct the activities of a VIE that most significantly impact the VIE's economic performance are shared (as defined); the carrying amounts and classification of assets and liabilities of the VIE included in the statement of financial position; the entity's maximum exposure to loss, if any, as a result of its involvement with the VIE, including how the maximum exposure is determined and significant sources of the entity's exposure to the VIE; a comparison of the carrying amounts of the assets and liabilities and the entity's maximum exposure to loss; information about any liquidity arrangements, guarantees, and (or) other commitments by third parties that may affect the fair value or risk of the entity's variable interest in the VIE; whether or not the entity has provided financial support or other support (explicitly or implicitly) to the VIE that it was not previously contractually required to provide or whether the entity intends to provide that support, including the type and amount of the support and the primary reasons for providing the support; and supplemental information the entity determines necessary to provide.",
        "label": "Schedule of Variable Interest Entities [Table Text Block]",
        "terseLabel": "Schedule of financial information of the Consolidated VIEs and their subsidiaries"
       }
      }
     },
     "localname": "ScheduleOfVariableInterestEntitiesTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleofFiniteLivedIntangibleAssetsFutureAmortizationExpenseTableTextBlock": {
     "auth_ref": [
      "r98"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the amount of amortization expense expected to be recorded in succeeding fiscal years for finite-lived intangible assets.",
        "label": "Schedule of Finite-Lived Intangible Assets, Future Amortization Expense [Table Text Block]",
        "terseLabel": "Schedule of estimated future aggregate amortization expenses"
       }
      }
     },
     "localname": "ScheduleofFiniteLivedIntangibleAssetsFutureAmortizationExpenseTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureIntangibleAssetsNetTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_SecuredOvernightFinancingRateSofrOvernightIndexSwapRateMember": {
     "auth_ref": [
      "r977"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fixed rate on U.S. dollar, constant-notional interest rate swap that has its variable-rate leg referenced to Secured Overnight Financing Rate (SOFR) with no additional spread over SOFR on variable-rate leg.",
        "label": "Secured Overnight Financing Rate (SOFR) Overnight Index Swap Rate [Member]",
        "terseLabel": "SOFR"
       }
      }
     },
     "localname": "SecuredOvernightFinancingRateSofrOvernightIndexSwapRateMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureBankBorrowingsGeneralDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_SecuritiesLoanedFairValueOfCollateral": {
     "auth_ref": [
      "r282"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value of the securities pledged as collateral against securities loaned.",
        "label": "Securities Loaned, Fair Value of Collateral",
        "terseLabel": "Fair value of collateral"
       }
      }
     },
     "localname": "SecuritiesLoanedFairValueOfCollateral",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureEquitySecuritiesAndOtherInvestmentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_SegmentDomain": {
     "auth_ref": [
      "r370",
      "r371",
      "r372",
      "r373",
      "r374",
      "r375",
      "r376",
      "r377",
      "r378",
      "r379",
      "r380",
      "r381",
      "r382",
      "r389",
      "r390",
      "r391",
      "r392",
      "r393",
      "r394",
      "r395",
      "r396",
      "r397",
      "r398",
      "r402",
      "r447",
      "r448",
      "r449",
      "r450",
      "r451",
      "r452",
      "r453",
      "r454",
      "r455",
      "r470",
      "r471",
      "r850",
      "r996"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Components of an entity that engage in business activities from which they may earn revenue and incur expenses, including transactions with other components of the same entity.",
        "label": "Segments [Domain]"
       }
      }
     },
     "localname": "SegmentDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureGoodwillDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureRevenueBreakdownBySegmentDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSegmentInformationConsolidatedDepreciationAndImpairmentOfPropertyAndEquipmentAndOperatingLeaseCostRelatingToLandUseRightsBySegmentsAndOthersDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSegmentInformationSegmentEbitaAndSegmentEbitdaDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesLongLivedAssetsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_SegmentReportingAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Segment Reporting [Abstract]"
       }
      }
     },
     "localname": "SegmentReportingAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_SegmentReportingDisclosureOfEntitysReportableSegmentsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Segment Reporting, Disclosure of Entity's Reportable Segments [Abstract]",
        "terseLabel": "Segment reporting"
       }
      }
     },
     "localname": "SegmentReportingDisclosureOfEntitysReportableSegmentsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesVariousDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_SegmentReportingPolicyPolicyTextBlock": {
     "auth_ref": [
      "r383",
      "r384",
      "r385",
      "r386",
      "r387",
      "r388",
      "r400"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for segment reporting.",
        "label": "Segment Reporting, Policy [Policy Text Block]",
        "terseLabel": "Segment reporting"
       }
      }
     },
     "localname": "SegmentReportingPolicyPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_SellingAndMarketingExpense": {
     "auth_ref": [],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedIncomeStatements": {
       "order": 3.0,
       "parentTag": "us-gaap_OperatingIncomeLoss",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The aggregate total amount of expenses directly related to the marketing or selling of products or services.",
        "label": "Selling and Marketing Expense",
        "negatedLabel": "Sales and marketing expenses",
        "totalLabel": "Selling and Marketing Expense, Total"
       }
      }
     },
     "localname": "SellingAndMarketingExpense",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedIncomeStatements"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_SellingAndMarketingExpenseAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Selling and Marketing Expense [Abstract]",
        "terseLabel": "Sales and marketing expenses"
       }
      }
     },
     "localname": "SellingAndMarketingExpenseAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesVariousDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_SellingAndMarketingExpenseMember": {
     "auth_ref": [
      "r47"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Primary financial statement caption encompassing selling and marketing expense.",
        "label": "Selling and Marketing Expense [Member]",
        "terseLabel": "Sales and marketing expenses"
       }
      }
     },
     "localname": "SellingAndMarketingExpenseMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSharebasedAwardsExpenseByFunctionDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_SeniorLongTermNotes": {
     "auth_ref": [
      "r29",
      "r870"
     ],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedBalanceSheets": {
       "order": 4.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Carrying value as of the balance sheet date of Notes with the highest claim on the assets of the issuer in case of bankruptcy or liquidation (with maturities initially due after one year or beyond the operating cycle if longer), excluding current portion. Senior note holders are paid off in full before any payments are made to junior note holders.",
        "label": "Senior Notes, Noncurrent",
        "terseLabel": "Non-current unsecured senior notes"
       }
      }
     },
     "localname": "SeniorLongTermNotes",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_SeniorLongtermNotesCurrentAndNoncurrentAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Senior Notes [Abstract]"
       }
      }
     },
     "localname": "SeniorLongtermNotesCurrentAndNoncurrentAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_SeniorNotesCurrent": {
     "auth_ref": [
      "r26",
      "r870"
     ],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedBalanceSheets": {
       "order": 1.0,
       "parentTag": "us-gaap_LiabilitiesCurrent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Carrying value as of the balance sheet date of the portion of long-term notes having the highest claim on the assets of the issuer in case of bankruptcy or liquidation, due within one year or the normal operating cycle, if longer. Senior note holders are paid off in full before any payments are made to debt holders having a lesser priority of repayment.",
        "label": "Senior Notes, Current",
        "terseLabel": "Current unsecured senior notes"
       }
      }
     },
     "localname": "SeniorNotesCurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_SeniorNotesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Bond that takes priority over other debt securities sold by the issuer. In the event the issuer goes bankrupt, senior debt holders receive priority for (must receive) repayment prior to (relative to) junior and unsecured (general) creditors.",
        "label": "Senior Notes [Member]",
        "terseLabel": "Unsecured senior notes"
       }
      }
     },
     "localname": "SeniorNotesMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureUnsecuredSeniorNotes",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureUnsecuredSeniorNotesGeneralDetails3",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureUnsecuredSeniorNotesMaturityScheduleDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureUnsecuredSeniorNotesTables"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_SeriesOfIndividuallyImmaterialBusinessAcquisitionsMember": {
     "auth_ref": [
      "r158"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the aggregation and reporting of combined amounts of individually immaterial business combinations that were completed during the period.",
        "label": "Series of Individually Immaterial Business Acquisitions [Member]",
        "terseLabel": "Other acquisitions, summarized"
       }
      }
     },
     "localname": "SeriesOfIndividuallyImmaterialBusinessAcquisitionsMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsOtherAcquisitionsDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsTables"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAdditionalGeneralDisclosuresAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Additional General Disclosures [Abstract]",
        "terseLabel": "Additional disclosure"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardAdditionalGeneralDisclosuresAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSharebasedAwardsShareOptionsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1": {
     "auth_ref": [
      "r865"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Period over which grantee's right to exercise award under share-based payment arrangement is no longer contingent on satisfaction of service or performance condition, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days. Includes, but is not limited to, combination of market, performance or service condition.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Award Vesting Period",
        "terseLabel": "Vesting period"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureShareBasedAwardsShareBasedAwardsRelatingToAntGroupDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod": {
     "auth_ref": [
      "r571"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of equity-based payment instruments, excluding stock (or unit) options, that were forfeited during the reporting period.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Equity Instruments Other than Options, Forfeited in Period",
        "negatedLabel": "Cancelled/forfeited"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSharebasedAwardsRsusDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue": {
     "auth_ref": [
      "r571"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average fair value as of the grant date of equity-based award plans other than stock (unit) option plans that were not exercised or put into effect as a result of the occurrence of a terminating event.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Equity Instruments Other than Options, Forfeitures, Weighted Average Grant Date Fair Value",
        "terseLabel": "Cancelled/forfeited"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSharebasedAwardsRsusDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod": {
     "auth_ref": [
      "r569"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of grants made during the period on other than stock (or unit) option plans (for example, phantom stock or unit plan, stock or unit appreciation rights plan, performance target plan).",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Equity Instruments Other than Options, Grants in Period",
        "terseLabel": "Granted"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSharebasedAwardsRsusDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue": {
     "auth_ref": [
      "r569"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The weighted average fair value at grant date for nonvested equity-based awards issued during the period on other than stock (or unit) option plans (for example, phantom stock or unit plan, stock or unit appreciation rights plan, performance target plan).",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Equity Instruments Other than Options, Grants in Period, Weighted Average Grant Date Fair Value",
        "terseLabel": "Granted"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSharebasedAwardsRsusDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber": {
     "auth_ref": [
      "r566",
      "r567"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of non-vested equity-based payment instruments, excluding stock (or unit) options, that validly exist and are outstanding as of the balance sheet date.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Equity Instruments Other than Options, Nonvested, Number",
        "periodEndLabel": "Awarded and unvested at end of year",
        "periodStartLabel": "Awarded and unvested at beginning of year"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSharebasedAwardsRsusDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Equity Instruments Other than Options, Nonvested, Number of Shares [Roll Forward]",
        "terseLabel": "Summary of changes in the RSUs"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSharebasedAwardsRsusDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue": {
     "auth_ref": [
      "r566",
      "r567"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Per share or unit weighted-average fair value of nonvested award under share-based payment arrangement. Excludes share and unit options.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Equity Instruments Other than Options, Nonvested, Weighted Average Grant Date Fair Value",
        "periodEndLabel": "Awarded and unvested at end of year",
        "periodStartLabel": "Awarded and unvested at beginning of year"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSharebasedAwardsRsusDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Equity Instruments Other than Options, Nonvested, Weighted Average Grant Date Fair Value [Abstract]",
        "terseLabel": "Weighted-average grant-date fair value"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSharebasedAwardsRsusDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod": {
     "auth_ref": [
      "r570"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of equity-based payment instruments, excluding stock (or unit) options, that vested during the reporting period.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Equity Instruments Other than Options, Vested in Period",
        "negatedLabel": "Vested"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSharebasedAwardsRsusDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue": {
     "auth_ref": [
      "r570"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The weighted average fair value as of grant date pertaining to an equity-based award plan other than a stock (or unit) option plan for which the grantee gained the right during the reporting period, by satisfying service and performance requirements, to receive or retain shares or units, other instruments, or cash in accordance with the terms of the arrangement.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Equity Instruments Other than Options, Vested in Period, Weighted Average Grant Date Fair Value",
        "terseLabel": "Vested"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSharebasedAwardsRsusDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsAndMethodologyAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Fair Value Assumptions and Methodology [Abstract]"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsAndMethodologyAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSharebasedAwardsShareOptionsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate": {
     "auth_ref": [
      "r580"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The estimated dividend rate (a percentage of the share price) to be paid (expected dividends) to holders of the underlying shares over the option's term.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Fair Value Assumptions, Expected Dividend Rate",
        "terseLabel": "Expected dividend yield"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSharebasedAwardsShareOptionsDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRate": {
     "auth_ref": [
      "r579"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The estimated measure of the percentage by which a share price is expected to fluctuate during a period. Volatility also may be defined as a probability-weighted measure of the dispersion of returns about the mean. The volatility of a share price is the standard deviation of the continuously compounded rates of return on the share over a specified period. That is the same as the standard deviation of the differences in the natural logarithms of the stock prices plus dividends, if any, over the period.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Fair Value Assumptions, Expected Volatility Rate",
        "terseLabel": "Expected volatility"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRate",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSharebasedAwardsShareOptionsDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate": {
     "auth_ref": [
      "r581"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The risk-free interest rate assumption that is used in valuing an option on its own shares.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Fair Value Assumptions, Risk Free Interest Rate",
        "terseLabel": "Risk-free interest rate"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSharebasedAwardsShareOptionsDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRateMaximum": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The maximum risk-free interest rate assumption that is used in valuing an option on its own shares.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Fair Value Assumptions, Risk Free Interest Rate, Maximum",
        "terseLabel": "Risk-free interest rate, maximum"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRateMaximum",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSharebasedAwardsShareOptionsDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRateMinimum": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The minimum risk-free interest rate assumption that is used in valuing an option on its own shares.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Fair Value Assumptions, Risk Free Interest Rate, Minimum",
        "terseLabel": "Risk-free interest rate, minimum"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRateMinimum",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSharebasedAwardsShareOptionsDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "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.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award [Line Items]",
        "terseLabel": "Share-based awards"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureShareBasedAwardsShareBasedAwardsRelatingToAntGroupDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureShareBasedAwardsTables",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSharebasedAwardsExpenseByFunctionDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSharebasedAwardsGeneralDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSharebasedAwardsPartnerCapitalInvestmentPlanDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSharebasedAwardsRsusDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSharebasedAwardsShareOptionsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfAdditionalSharesAuthorized": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of additional shares authorized for issuance under share-based payment arrangement.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Number of Additional Shares Authorized",
        "terseLabel": "Additional number of shares subject to award"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfAdditionalSharesAuthorized",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSharebasedAwardsGeneralDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant": {
     "auth_ref": [
      "r140"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The difference between the maximum number of shares (or other type of equity) authorized for issuance under the plan (including the effects of amendments and adjustments), and the sum of: 1) the number of shares (or other type of equity) already issued upon exercise of options or other equity-based awards under the plan; and 2) shares (or other type of equity) reserved for issuance on granting of outstanding awards, net of cancellations and forfeitures, if applicable.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Number of Shares Available for Grant",
        "terseLabel": "Number of shares authorized but unissued"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSharebasedAwardsGeneralDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsAdditionalDisclosuresAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Additional Disclosures [Abstract]"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsAdditionalDisclosuresAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSharebasedAwardsShareOptionsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableNumber": {
     "auth_ref": [
      "r560"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of shares into which fully or partially vested stock options outstanding as of the balance sheet date can be currently converted under the option plan.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Exercisable, Number",
        "terseLabel": "Vested and exercisable"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableNumber",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSharebasedAwardsShareOptionsDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableWeightedAverageExercisePrice": {
     "auth_ref": [
      "r560"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The weighted-average price as of the balance sheet date at which grantees can acquire the shares reserved for issuance on vested portions of options outstanding and currently exercisable under the stock option plan.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Exercisable, Weighted Average Exercise Price",
        "terseLabel": "Vested and exercisable"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableWeightedAverageExercisePrice",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSharebasedAwardsShareOptionsDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisesInPeriodTotalIntrinsicValue": {
     "auth_ref": [
      "r573"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of accumulated difference between fair value of underlying shares on dates of exercise and exercise price on options exercised (or share units converted) into shares.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Exercises in Period, Intrinsic Value",
        "terseLabel": "Aggregate intrinsic value of share options exercised"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisesInPeriodTotalIntrinsicValue",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSharebasedAwardsShareOptionsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresAndExpirationsInPeriod": {
     "auth_ref": [
      "r953"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "For presentations that combine terminations, the number of shares under options that were cancelled during the reporting period as a result of occurrence of a terminating event specified in contractual agreements pertaining to the stock option plan or that expired.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Forfeitures and Expirations in Period",
        "negatedLabel": "Canceled/forfeited",
        "totalLabel": "Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Forfeitures and Expirations in Period, Total"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresAndExpirationsInPeriod",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSharebasedAwardsShareOptionsDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresAndExpirationsInPeriodWeightedAverageExercisePrice": {
     "auth_ref": [
      "r953"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average price of options that were either forfeited or expired.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Forfeitures and Expirations in Period, Weighted Average Exercise Price",
        "terseLabel": "Canceled/forfeited"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresAndExpirationsInPeriodWeightedAverageExercisePrice",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSharebasedAwardsShareOptionsDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross": {
     "auth_ref": [
      "r562"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Gross number of share options (or share units) granted during the period.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Grants in Period, Gross",
        "negatedLabel": "Granted",
        "terseLabel": "Granted"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSharebasedAwardsShareOptionsDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValue": {
     "auth_ref": [
      "r572"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The weighted average grant-date fair value of options granted during the reporting period as calculated by applying the disclosed option pricing methodology.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Grants in Period, Weighted Average Grant Date Fair Value",
        "terseLabel": "Weighted average grant date fair value of share options"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValue",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSharebasedAwardsShareOptionsDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingIntrinsicValue": {
     "auth_ref": [
      "r140"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount by which the current fair value of the underlying stock exceeds the exercise price of options outstanding.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Outstanding, Intrinsic Value",
        "terseLabel": "Aggregate intrinsic value of all outstanding options"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingIntrinsicValue",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSharebasedAwardsShareOptionsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber": {
     "auth_ref": [
      "r558",
      "r559"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of options outstanding, including both vested and non-vested options.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Outstanding, Number",
        "periodEndLabel": "Outstanding at end of year",
        "periodStartLabel": "Outstanding at beginning of year"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSharebasedAwardsShareOptionsDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingRollForward": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Outstanding [Roll Forward]",
        "terseLabel": "Number of share options"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingRollForward",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSharebasedAwardsShareOptionsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice": {
     "auth_ref": [
      "r558",
      "r559"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average price at which grantees can acquire the shares reserved for issuance under the stock option plan.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Outstanding, Weighted Average Exercise Price",
        "periodEndLabel": "Outstanding at end of year",
        "periodStartLabel": "Outstanding at beginning of year"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSharebasedAwardsShareOptionsDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePriceRollforward": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Outstanding, Weighted Average Exercise Price [Abstract]"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePriceRollforward",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSharebasedAwardsShareOptionsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestOutstandingAggregateIntrinsicValue": {
     "auth_ref": [
      "r574"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount by which current fair value of underlying stock exceeds exercise price of fully vested and expected to vest options outstanding. Includes, but is not limited to, unvested options for which requisite service period has not been rendered but that are expected to vest based on achievement of performance condition, if forfeitures are recognized when they occur.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Vested and Expected to Vest, Outstanding, Aggregate Intrinsic Value",
        "terseLabel": "Aggregate intrinsic value of options that were vested and expected to vest"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestOutstandingAggregateIntrinsicValue",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSharebasedAwardsShareOptionsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestOutstandingNumber": {
     "auth_ref": [
      "r574"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of fully vested and expected to vest options outstanding that can be converted into shares under option plan. Includes, but is not limited to, unvested options for which requisite service period has not been rendered but that are expected to vest based on achievement of performance condition, if forfeitures are recognized when they occur.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Vested and Expected to Vest, Outstanding, Number",
        "terseLabel": "Vested and expected to vest"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestOutstandingNumber",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSharebasedAwardsShareOptionsDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestOutstandingWeightedAverageExercisePrice": {
     "auth_ref": [
      "r574"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted-average exercise price, at which grantee can acquire shares reserved for issuance, for fully vested and expected to vest options outstanding. Includes, but is not limited to, unvested options for which requisite service period has not been rendered but that are expected to vest based on achievement of performance condition, if forfeitures are recognized when they occur.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Vested and Expected to Vest, Outstanding, Weighted Average Exercise Price",
        "terseLabel": "Vested and expected to vest"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestOutstandingWeightedAverageExercisePrice",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSharebasedAwardsShareOptionsDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain": {
     "auth_ref": [
      "r554",
      "r555",
      "r556",
      "r558",
      "r559",
      "r560",
      "r561",
      "r562",
      "r563",
      "r564",
      "r565",
      "r566",
      "r567",
      "r568",
      "r569",
      "r570",
      "r571",
      "r572",
      "r573",
      "r574",
      "r575",
      "r578",
      "r579",
      "r580",
      "r581",
      "r582"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Award under share-based payment arrangement.",
        "label": "Award Type [Domain]"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureShareBasedAwardsShareBasedAwardsRelatingToAntGroupDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureShareBasedAwardsTables",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSharebasedAwardsPartnerCapitalInvestmentPlanDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSharebasedAwardsRsusDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSharebasedAwardsShareOptionsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExercisesInPeriodWeightedAverageExercisePrice": {
     "auth_ref": [
      "r563"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average price at which option holders acquired shares when converting their stock options into shares.",
        "label": "Share-Based Compensation Arrangements by Share-Based Payment Award, Options, Exercises in Period, Weighted Average Exercise Price",
        "terseLabel": "Exercised"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExercisesInPeriodWeightedAverageExercisePrice",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSharebasedAwardsShareOptionsDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageExercisePrice": {
     "auth_ref": [
      "r562"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average per share amount at which grantees can acquire shares of common stock by exercise of options.",
        "label": "Share-Based Compensation Arrangements by Share-Based Payment Award, Options, Grants in Period, Weighted Average Exercise Price",
        "terseLabel": "Granted"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageExercisePrice",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSharebasedAwardsShareOptionsDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_ShareBasedCompensationOptionAndIncentivePlansPolicy": {
     "auth_ref": [
      "r557",
      "r576",
      "r577",
      "r578",
      "r579",
      "r582",
      "r591",
      "r592"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for award under share-based payment arrangement. Includes, but is not limited to, methodology and assumption used in measuring cost.",
        "label": "Share-Based Payment Arrangement [Policy Text Block]",
        "terseLabel": "Share-based compensation"
       }
      }
     },
     "localname": "ShareBasedCompensationOptionAndIncentivePlansPolicy",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentage": {
     "auth_ref": [
      "r947"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of vesting of award under share-based payment arrangement.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Award Vesting Rights, Percentage",
        "terseLabel": "Vesting percentage"
       }
      }
     },
     "localname": "SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentage",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureShareBasedAwardsShareBasedAwardsRelatingToAntGroupDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardExpirationPeriod": {
     "auth_ref": [
      "r866"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Period from grant date that an equity-based award expires, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Expiration Period",
        "terseLabel": "Expiry period"
       }
      }
     },
     "localname": "SharebasedCompensationArrangementBySharebasedPaymentAwardExpirationPeriod",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSharebasedAwardsRsusDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSharebasedAwardsShareOptionsDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1": {
     "auth_ref": [
      "r578"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Expected term of award under share-based payment arrangement, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Fair Value Assumptions, Expected Term",
        "terseLabel": "Expected life (years)"
       }
      }
     },
     "localname": "SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSharebasedAwardsShareOptionsDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableIntrinsicValue1": {
     "auth_ref": [
      "r140"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of difference between fair value of the underlying shares reserved for issuance and exercise price of vested portions of options outstanding and currently exercisable.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Exercisable, Intrinsic Value",
        "terseLabel": "Aggregate intrinsic value of options that were vested and exercisable"
       }
      }
     },
     "localname": "SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableIntrinsicValue1",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSharebasedAwardsShareOptionsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableWeightedAverageRemainingContractualTerm1": {
     "auth_ref": [
      "r140"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average remaining contractual term for vested portions of options outstanding and currently exercisable or convertible, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Exercisable, Weighted Average Remaining Contractual Term",
        "terseLabel": "Weighted average remaining contractual life, vested and exercisable"
       }
      }
     },
     "localname": "SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableWeightedAverageRemainingContractualTerm1",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSharebasedAwardsShareOptionsDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsOutstandingWeightedAverageRemainingContractualTerm2": {
     "auth_ref": [
      "r138"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average remaining contractual term for option awards outstanding, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Outstanding, Weighted Average Remaining Contractual Term",
        "terseLabel": "Weighted average remaining contractual life, outstanding"
       }
      }
     },
     "localname": "SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsOutstandingWeightedAverageRemainingContractualTerm2",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSharebasedAwardsShareOptionsDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedAndExpectedToVestOutstandingWeightedAverageRemainingContractualTerm1": {
     "auth_ref": [
      "r574"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average remaining contractual term for fully vested and expected to vest options outstanding, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days. Includes, but is not limited to, unvested options for which requisite service period has not been rendered but that are expected to vest based on achievement of performance condition, if forfeitures are recognized when they occur.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Vested and Expected to Vest, Outstanding, Weighted Average Remaining Contractual Term",
        "terseLabel": "Weighted average remaining contractual life, vested and expected to vest"
       }
      }
     },
     "localname": "SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedAndExpectedToVestOutstandingWeightedAverageRemainingContractualTerm1",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSharebasedAwardsShareOptionsDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedInPeriodFairValue1": {
     "auth_ref": [
      "r573"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value of options vested. Excludes equity instruments other than options, for example, but not limited to, share units, stock appreciation rights, restricted stock.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Vested in Period, Fair Value",
        "terseLabel": "Total grant date fair value of options vested"
       }
      }
     },
     "localname": "SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedInPeriodFairValue1",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSharebasedAwardsShareOptionsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_SignificantAccountingPoliciesTextBlock": {
     "auth_ref": [
      "r74",
      "r309"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for all significant accounting policies of the reporting entity.",
        "label": "Significant Accounting Policies [Text Block]",
        "terseLabel": "Summary of significant accounting policies"
       }
      }
     },
     "localname": "SignificantAccountingPoliciesTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_StatementBusinessSegmentsAxis": {
     "auth_ref": [
      "r264",
      "r370",
      "r371",
      "r372",
      "r373",
      "r374",
      "r375",
      "r376",
      "r377",
      "r378",
      "r379",
      "r380",
      "r381",
      "r382",
      "r389",
      "r390",
      "r391",
      "r392",
      "r393",
      "r394",
      "r395",
      "r396",
      "r397",
      "r398",
      "r402",
      "r447",
      "r448",
      "r449",
      "r450",
      "r451",
      "r452",
      "r453",
      "r454",
      "r455",
      "r468",
      "r470",
      "r471",
      "r850",
      "r996"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by business segments.",
        "label": "Segments [Axis]"
       }
      }
     },
     "localname": "StatementBusinessSegmentsAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureGoodwillDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureRevenueBreakdownBySegmentDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSegmentInformationConsolidatedDepreciationAndImpairmentOfPropertyAndEquipmentAndOperatingLeaseCostRelatingToLandUseRightsBySegmentsAndOthersDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSegmentInformationSegmentEbitaAndSegmentEbitdaDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesLongLivedAssetsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementClassOfStockAxis": {
     "auth_ref": [
      "r275",
      "r276",
      "r277",
      "r314",
      "r343",
      "r347",
      "r354",
      "r356",
      "r364",
      "r365",
      "r421",
      "r481",
      "r484",
      "r485",
      "r486",
      "r492",
      "r493",
      "r525",
      "r526",
      "r528",
      "r529",
      "r531",
      "r670",
      "r838",
      "r885",
      "r898",
      "r907"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by the different classes of stock of the entity.",
        "label": "Class of Stock [Axis]"
       }
      }
     },
     "localname": "StatementClassOfStockAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureIncomeTaxExpensesReconciliationsDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesBasisOfPresentationDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementEquityComponentsAxis": {
     "auth_ref": [
      "r33",
      "r119",
      "r260",
      "r294",
      "r295",
      "r296",
      "r319",
      "r320",
      "r321",
      "r325",
      "r334",
      "r336",
      "r363",
      "r426",
      "r532",
      "r588",
      "r589",
      "r590",
      "r614",
      "r615",
      "r652",
      "r683",
      "r684",
      "r685",
      "r686",
      "r687",
      "r689",
      "r724",
      "r810",
      "r811",
      "r812"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by component of equity.",
        "label": "Equity Components [Axis]"
       }
      }
     },
     "localname": "StatementEquityComponentsAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfChangesInShareholdersEquity"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "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.",
        "label": "Statement [Line Items]",
        "terseLabel": "Statement"
       }
      }
     },
     "localname": "StatementLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureGoodwillDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureInvestmentsInEquityMethodInvesteesSummarizedFinancialInformationOfEquityMethodInvestmentsDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSegmentInformationConsolidatedDepreciationAndImpairmentOfPropertyAndEquipmentAndOperatingLeaseCostRelatingToLandUseRightsBySegmentsAndOthersDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSegmentInformationReconciliationFromAdjustedEbitaToConsolidatedNetIncomeDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSegmentInformationSegmentEbitaAndSegmentEbitdaDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfChangesInShareholdersEquity"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementOfCashFlowsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Statement of Cash Flows [Abstract]"
       }
      }
     },
     "localname": "StatementOfCashFlowsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementOfFinancialPositionAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Statement of Financial Position [Abstract]"
       }
      }
     },
     "localname": "StatementOfFinancialPositionAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementOfIncomeAndComprehensiveIncomeAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Statement of Comprehensive Income [Abstract]"
       }
      }
     },
     "localname": "StatementOfIncomeAndComprehensiveIncomeAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementOfStockholdersEquityAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Statement of Stockholders' Equity [Abstract]"
       }
      }
     },
     "localname": "StatementOfStockholdersEquityAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementTable": {
     "auth_ref": [
      "r319",
      "r320",
      "r321",
      "r363",
      "r771"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule reflecting a Statement of Income, Statement of Cash Flows, Statement of Financial Position, Statement of Shareholders' Equity and Other Comprehensive Income, or other statement as needed.",
        "label": "Statement [Table]"
       }
      }
     },
     "localname": "StatementTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureGoodwillDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureInvestmentsInEquityMethodInvesteesSummarizedFinancialInformationOfEquityMethodInvestmentsDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSegmentInformationConsolidatedDepreciationAndImpairmentOfPropertyAndEquipmentAndOperatingLeaseCostRelatingToLandUseRightsBySegmentsAndOthersDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSegmentInformationReconciliationFromAdjustedEbitaToConsolidatedNetIncomeDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSegmentInformationSegmentEbitaAndSegmentEbitdaDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfChangesInShareholdersEquity"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_StockIssuedDuringPeriodSharesAcquisitions": {
     "auth_ref": [
      "r11",
      "r12",
      "r126"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of shares of stock issued during the period pursuant to acquisitions.",
        "label": "Stock Issued During Period, Shares, Acquisitions",
        "terseLabel": "Acquisition of subsidiaries (in shares)"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodSharesAcquisitions",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfChangesInShareholdersEquity"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_StockIssuedDuringPeriodSharesNewIssues": {
     "auth_ref": [
      "r11",
      "r12",
      "r119",
      "r126"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of new stock issued during the period.",
        "label": "Stock Issued During Period, Shares, New Issues",
        "terseLabel": "Shares issued (in shares)",
        "verboseLabel": "Issuance of shares - global offering, net of issuance costs (in shares)"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodSharesNewIssues",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesBasisOfPresentationDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised": {
     "auth_ref": [
      "r11",
      "r12",
      "r119",
      "r126",
      "r563"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of share options (or share units) exercised during the current period.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Exercises in Period",
        "negatedLabel": "Exercised"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodSharesStockOptionsExercised",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSharebasedAwardsShareOptionsDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_StockIssuedDuringPeriodValueAcquisitions": {
     "auth_ref": [
      "r33",
      "r119",
      "r126"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Value of stock issued pursuant to acquisitions during the period.",
        "label": "Stock Issued During Period, Value, Acquisitions",
        "terseLabel": "Acquisition of subsidiaries"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodValueAcquisitions",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfChangesInShareholdersEquity"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_StockRepurchasedAndRetiredDuringPeriodShares": {
     "auth_ref": [
      "r11",
      "r12",
      "r119",
      "r126"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of shares that have been repurchased and retired during the period.",
        "label": "Stock Repurchased and Retired During Period, Shares",
        "negatedLabel": "Repurchase and retirement of ordinary shares (in shares)"
       }
      }
     },
     "localname": "StockRepurchasedAndRetiredDuringPeriodShares",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfChangesInShareholdersEquity"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_StockRepurchasedAndRetiredDuringPeriodValue": {
     "auth_ref": [
      "r11",
      "r12",
      "r119",
      "r126"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Equity impact of the value of stock that has been repurchased and retired during the period. The excess of the purchase price over par value can be charged against retained earnings (once the excess is fully allocated to additional paid in capital).",
        "label": "Stock Repurchased and Retired During Period, Value",
        "negatedLabel": "Repurchase and retirement of ordinary shares"
       }
      }
     },
     "localname": "StockRepurchasedAndRetiredDuringPeriodValue",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfChangesInShareholdersEquity"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_StockholdersEquity": {
     "auth_ref": [
      "r12",
      "r16",
      "r17",
      "r85",
      "r870",
      "r900",
      "r914",
      "r979"
     ],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedBalanceSheets": {
       "order": 1.0,
       "parentTag": "us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Total of all stockholders' equity (deficit) items, net of receivables from officers, directors, owners, and affiliates of the entity which are attributable to the parent. The amount of the economic entity's stockholders' equity attributable to the parent excludes the amount of stockholders' equity which is allocable to that ownership interest in subsidiary equity which is not attributable to the parent (noncontrolling interest, minority interest). This excludes temporary equity and is sometimes called permanent equity.",
        "label": "Stockholders' Equity Attributable to Parent",
        "periodEndLabel": "Stockholders' Equity Attributable to Parent, Ending Balance",
        "periodStartLabel": "Stockholders' Equity Attributable to Parent, Beginning Balance",
        "totalLabel": "Total shareholders' equity"
       }
      }
     },
     "localname": "StockholdersEquity",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_StockholdersEquityAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Stockholders' Equity Attributable to Parent [Abstract]",
        "terseLabel": "Shareholders' equity:"
       }
      }
     },
     "localname": "StockholdersEquityAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedBalanceSheets"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest": {
     "auth_ref": [
      "r166",
      "r167",
      "r183",
      "r260",
      "r261",
      "r295",
      "r319",
      "r320",
      "r321",
      "r325",
      "r334",
      "r426",
      "r532",
      "r588",
      "r589",
      "r590",
      "r614",
      "r615",
      "r652",
      "r683",
      "r684",
      "r689",
      "r724",
      "r811",
      "r812",
      "r900",
      "r914",
      "r979"
     ],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedBalanceSheets": {
       "order": 2.0,
       "parentTag": "us-gaap_LiabilitiesAndStockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of stockholders' equity (deficit), net of receivables from officers, directors, owners, and affiliates of the entity, attributable to both the parent and noncontrolling interests. Amount excludes temporary equity. Alternate caption for the concept is permanent equity.",
        "label": "Stockholders' Equity, Including Portion Attributable to Noncontrolling Interest",
        "periodEndLabel": "Balance",
        "periodStartLabel": "Balance",
        "totalLabel": "Total equity"
       }
      }
     },
     "localname": "StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedBalanceSheets",
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfChangesInShareholdersEquity"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_StockholdersEquityNoteStockSplitConversionRatio1": {
     "auth_ref": [
      "r127"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Ratio applied to the conversion of stock split, for example but not limited to, one share converted to two or two shares converted to one.",
        "label": "Stockholders' Equity Note, Stock Split, Conversion Ratio",
        "verboseLabel": "Ratio of share subdivision"
       }
      }
     },
     "localname": "StockholdersEquityNoteStockSplitConversionRatio1",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSharebasedAwardsGeneralDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesBasisOfPresentationDetails"
     ],
     "xbrltype": "pureItemType"
    },
    "us-gaap_StockholdersEquityOther": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This element represents movements included in the statement of changes in stockholders' equity which are not separately disclosed or provided for elsewhere in the taxonomy.",
        "label": "Stockholders' Equity, Other",
        "negatedLabel": "Others"
       }
      }
     },
     "localname": "StockholdersEquityOther",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfChangesInShareholdersEquity"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_SubsequentEventMember": {
     "auth_ref": [
      "r690",
      "r735"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Identifies event that occurred after the balance sheet date but before financial statements are issued or available to be issued.",
        "label": "Subsequent Event [Member]",
        "terseLabel": "Subsequent event"
       }
      }
     },
     "localname": "SubsequentEventMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureBankBorrowingsGeneralDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsEquityInvestmentsAndOthersDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_SubsequentEventTypeAxis": {
     "auth_ref": [
      "r690",
      "r735"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by event that occurred after the balance sheet date but before financial statements are issued or available to be issued.",
        "label": "Subsequent Event Type [Axis]"
       }
      }
     },
     "localname": "SubsequentEventTypeAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureBankBorrowingsGeneralDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsEquityInvestmentsAndOthersDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_SubsequentEventTypeDomain": {
     "auth_ref": [
      "r690",
      "r735"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Event that occurred after the balance sheet date but before financial statements are issued or available to be issued.",
        "label": "Subsequent Event Type [Domain]"
       }
      }
     },
     "localname": "SubsequentEventTypeDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureBankBorrowingsGeneralDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsEquityInvestmentsAndOthersDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_SubsidiarySaleOfStockAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of sale of the entity's stock.",
        "label": "Sale of Stock [Axis]"
       }
      }
     },
     "localname": "SubsidiarySaleOfStockAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureOrganizationAndPrincipalActivitiesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_SummaryOfDerivativeInstrumentsImpactOnResultsOfOperationsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Summary of Derivative Instruments Impact on Results of Operations [Abstract]",
        "terseLabel": "Derivatives and hedging"
       }
      }
     },
     "localname": "SummaryOfDerivativeInstrumentsImpactOnResultsOfOperationsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesOthersDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_SupplementalCashFlowElementsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Supplemental Cash Flow Elements [Abstract]",
        "terseLabel": "Supplemental disclosures of cash flow information:"
       }
      }
     },
     "localname": "SupplementalCashFlowElementsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_TemporaryEquityAccretionToRedemptionValueAdjustment": {
     "auth_ref": [],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedIncomeStatements": {
       "order": 1.0,
       "parentTag": "us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of decrease to net income for accretion of temporary equity to its redemption value to derive net income apportioned to common stockholders.",
        "label": "Temporary Equity, Accretion to Redemption Value, Adjustment",
        "negatedLabel": "Accretion of mezzanine equity"
       }
      }
     },
     "localname": "TemporaryEquityAccretionToRedemptionValueAdjustment",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedIncomeStatements"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_TemporaryEquityCarryingAmountAttributableToParent": {
     "auth_ref": [
      "r481",
      "r484",
      "r485",
      "r486",
      "r492",
      "r493"
     ],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedBalanceSheets": {
       "order": 3.0,
       "parentTag": "us-gaap_LiabilitiesAndStockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Carrying amount, attributable to parent, of an entity's issued and outstanding stock which is not included within permanent equity. Temporary equity is a security with redemption features that are outside the control of the issuer, is not classified as an asset or liability in conformity with GAAP, and is not mandatorily redeemable. Includes any type of security that is redeemable at a fixed or determinable price or on a fixed or determinable date or dates, is redeemable at the option of the holder, or has conditions for redemption which are not solely within the control of the issuer. Includes stock with a put option held by an ESOP and stock redeemable by a holder only in the event of a change in control of the issuer.",
        "label": "Temporary Equity, Carrying Amount, Attributable to Parent",
        "verboseLabel": "Mezzanine equity"
       }
      }
     },
     "localname": "TemporaryEquityCarryingAmountAttributableToParent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_TemporaryEquityNetIncome": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The portion of net income or loss attributable to temporary equity interest.",
        "label": "Temporary Equity, Net Income",
        "verboseLabel": "Net (loss) income attributable to mezzanine equity holders"
       }
      }
     },
     "localname": "TemporaryEquityNetIncome",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesVariousDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_TradeAndOtherAccountsReceivablePolicy": {
     "auth_ref": [
      "r254",
      "r255",
      "r256",
      "r405",
      "r406",
      "r408"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for accounts receivable.",
        "label": "Accounts Receivable [Policy Text Block]",
        "terseLabel": "Accounts receivable"
       }
      }
     },
     "localname": "TradeAndOtherAccountsReceivablePolicy",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_TradingSecuritiesDebt": {
     "auth_ref": [
      "r86",
      "r274",
      "r413",
      "r840"
     ],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureFairValueMeasurementDetails": {
       "order": 3.0,
       "parentTag": "us-gaap_AssetsFairValueDisclosure",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of investment in debt security measured at fair value with change in fair value recognized in net income (trading).",
        "label": "Debt Securities, Trading",
        "terseLabel": "Debt investments",
        "verboseLabel": "Marketable debt securities"
       }
      }
     },
     "localname": "TradingSecuritiesDebt",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureEquitySecuritiesAndOtherInvestmentsDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureFairValueMeasurementDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain": {
     "auth_ref": [
      "r416",
      "r417",
      "r519",
      "r530",
      "r642",
      "r736",
      "r737",
      "r738",
      "r739",
      "r740",
      "r741",
      "r742",
      "r743",
      "r744",
      "r745",
      "r746",
      "r747",
      "r748",
      "r749",
      "r753",
      "r754",
      "r755",
      "r756",
      "r757",
      "r758",
      "r759",
      "r760",
      "r761",
      "r762",
      "r763",
      "r764",
      "r765",
      "r766",
      "r767",
      "r768",
      "r911",
      "r912",
      "r913",
      "r998",
      "r999",
      "r1000",
      "r1001",
      "r1002",
      "r1003",
      "r1004"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Instrument or contract that imposes a contractual obligation to deliver cash or another financial instrument or to exchange other financial instruments on potentially unfavorable terms and conveys a contractual right to receive cash or another financial instrument or to exchange other financial instruments on potentially favorable terms.",
        "label": "Financial Instruments [Domain]"
       }
      }
     },
     "localname": "TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureEquitySecuritiesAndOtherInvestmentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_TranslationAdjustmentFunctionalToReportingCurrencyNetOfTaxPeriodIncreaseDecrease": {
     "auth_ref": [
      "r39",
      "r980"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase (decrease) in cumulative translation adjustment, after tax, from translating foreign currency financial statements into the reporting currency.",
        "label": "Translation Adjustment Functional to Reporting Currency, Net of Tax, Period Increase (Decrease)",
        "terseLabel": "Foreign currency translation adjustment",
        "totalLabel": "Translation Adjustment Functional to Reporting Currency, Net of Tax, Period Increase (Decrease), Total"
       }
      }
     },
     "localname": "TranslationAdjustmentFunctionalToReportingCurrencyNetOfTaxPeriodIncreaseDecrease",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfChangesInShareholdersEquity"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_TreasuryStockMember": {
     "auth_ref": [
      "r32",
      "r128"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Shares of an entity that have been repurchased by the entity. This stock has no voting rights and receives no dividends. Note that treasury stock may be recorded at its total cost or separately as par (or stated) value and additional paid in capital. Classified within stockholders' equity if nonredeemable or redeemable solely at the option of the issuer. Classified within temporary equity if redemption is outside the control of the issuer.",
        "label": "Treasury Stock [Member]",
        "terseLabel": "Treasury shares"
       }
      }
     },
     "localname": "TreasuryStockMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedStatementsOfChangesInShareholdersEquity"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_TreasuryStockValue": {
     "auth_ref": [
      "r32",
      "r128",
      "r129"
     ],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedBalanceSheets": {
       "order": 2.0,
       "parentTag": "us-gaap_StockholdersEquity",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount allocated to treasury stock. Treasury stock is common and preferred shares of an entity that were issued, repurchased by the entity, and are held in its treasury.",
        "label": "Treasury Stock, Value",
        "negatedTerseLabel": "Treasury shares, at cost",
        "totalLabel": "Treasury Stock, Value, Total"
       }
      }
     },
     "localname": "TreasuryStockValue",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_TypeOfAdoptionMember": {
     "auth_ref": [
      "r258",
      "r259",
      "r260",
      "r261",
      "r262",
      "r324",
      "r325",
      "r326",
      "r328",
      "r337",
      "r409",
      "r410",
      "r423",
      "r424",
      "r425",
      "r426",
      "r429",
      "r430",
      "r588",
      "r589",
      "r590",
      "r612",
      "r613",
      "r614",
      "r615",
      "r631",
      "r632",
      "r633",
      "r643",
      "r644",
      "r645",
      "r646",
      "r647",
      "r648",
      "r649",
      "r651",
      "r652",
      "r653",
      "r654",
      "r655",
      "r671",
      "r672",
      "r673",
      "r674",
      "r675",
      "r676",
      "r680",
      "r681",
      "r692",
      "r693",
      "r696",
      "r697",
      "r698",
      "r699",
      "r718",
      "r720",
      "r721",
      "r722",
      "r723",
      "r724",
      "r773",
      "r774",
      "r775",
      "r808",
      "r809",
      "r810",
      "r811",
      "r812",
      "r813",
      "r814",
      "r815",
      "r816",
      "r817",
      "r818",
      "r819"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amendment to accounting standards.",
        "label": "Accounting Standards Update [Domain]"
       }
      }
     },
     "localname": "TypeOfAdoptionMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesLongLivedAssetsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_TypeOfArrangementAxis": {
     "auth_ref": [
      "r976"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by collaborative arrangement and arrangement other than collaborative applicable to revenue-generating activity or operations.",
        "label": "Collaborative Arrangement and Arrangement Other than Collaborative [Axis]"
       }
      }
     },
     "localname": "TypeOfArrangementAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureRevenueBreakdownBySegmentDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSignificantMergersAndAcquisitionsAndInvestmentsEquityInvestmentsAndOthersDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_UnconditionalPurchaseObligationCategoryOfGoodsOrServicesAcquiredDomain": {
     "auth_ref": [
      "r472",
      "r473",
      "r474",
      "r475"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "General description of the goods or services to be purchased from the counterparty to the unconditional purchase arrangement.",
        "label": "Unconditional Purchase Obligation, Category of Goods or Services Acquired [Domain]"
       }
      }
     },
     "localname": "UnconditionalPurchaseObligationCategoryOfGoodsOrServicesAcquiredDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureCommitmentsCapitalCommitmentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_UndistributedEarningsOfDomesticSubsidiaries": {
     "auth_ref": [
      "r594",
      "r628"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of undistributed earnings of domestic subsidiaries or domestic joint ventures intended to be permanent.",
        "label": "Undistributed Earnings of Domestic Subsidiaries",
        "terseLabel": "Undistributed earnings intended to be invested indefinitely in the PRC"
       }
      }
     },
     "localname": "UndistributedEarningsOfDomesticSubsidiaries",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureIncomeTaxExpensesCompositionOfDeferredTaxAssetsAndLiabilitiesDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureIncomeTaxExpensesGeneralDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_UnrecordedUnconditionalPurchaseObligationBalanceOnFirstAnniversary": {
     "auth_ref": [
      "r473"
     ],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureCommitmentsCapitalCommitmentsDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_UnrecordedUnconditionalPurchaseObligationBalanceSheetAmount",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of fixed and determinable portion of unrecorded unconditional purchase obligation to be paid in next fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Unrecorded Unconditional Purchase Obligation, to be Paid, Year One",
        "terseLabel": "No later than 1 year"
       }
      }
     },
     "localname": "UnrecordedUnconditionalPurchaseObligationBalanceOnFirstAnniversary",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureCommitmentsCapitalCommitmentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_UnrecordedUnconditionalPurchaseObligationBalanceSheetAmount": {
     "auth_ref": [
      "r473"
     ],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureCommitmentsCapitalCommitmentsDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of the unrecorded obligation to transfer funds in the future for fixed or minimum amounts or quantities of goods or services at fixed or minimum prices (for example, as in take-or-pay contracts or throughput contracts).",
        "label": "Unrecorded Unconditional Purchase Obligation",
        "totalLabel": "Total"
       }
      }
     },
     "localname": "UnrecordedUnconditionalPurchaseObligationBalanceSheetAmount",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureCommitmentsCapitalCommitmentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_UnrecordedUnconditionalPurchaseObligationByCategoryOfItemPurchasedAxis": {
     "auth_ref": [
      "r472",
      "r473",
      "r474"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Pertinent information about unrecorded unconditional purchase arrangements to acquire goods or services, by category of goods or services. arrangements to acquire goods or services, by category of goods or services.",
        "label": "Unrecorded Unconditional Purchase Obligation by Category of Item Purchased [Axis]"
       }
      }
     },
     "localname": "UnrecordedUnconditionalPurchaseObligationByCategoryOfItemPurchasedAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureCommitmentsCapitalCommitmentsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_UnrecordedUnconditionalPurchaseObligationDueAfterFiveYears": {
     "auth_ref": [
      "r930"
     ],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureCommitmentsCapitalCommitmentsDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_UnrecordedUnconditionalPurchaseObligationBalanceSheetAmount",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of fixed and determinable portion of unrecorded unconditional purchase obligation to be paid after fifth fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Unrecorded Unconditional Purchase Obligation, to be Paid, after Year Five",
        "terseLabel": "More than 5 years"
       }
      }
     },
     "localname": "UnrecordedUnconditionalPurchaseObligationDueAfterFiveYears",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureCommitmentsCapitalCommitmentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_UnrecordedUnconditionalPurchaseObligationLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "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.",
        "label": "Unrecorded Unconditional Purchase Obligation [Line Items]",
        "terseLabel": "Capital commitments",
        "verboseLabel": "Commitments"
       }
      }
     },
     "localname": "UnrecordedUnconditionalPurchaseObligationLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureCommitmentsCapitalCommitmentsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_UnrecordedUnconditionalPurchaseObligationTable": {
     "auth_ref": [
      "r472",
      "r473",
      "r474"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Describes each unrecorded unconditional purchase obligation arrangement to purchase goods and services that extend over multiple periods, any assets pledged to secure payment, and the fixed or determinable amount of payments due in each of the next five years and thereafter.",
        "label": "Unrecorded Unconditional Purchase Obligation [Table]"
       }
      }
     },
     "localname": "UnrecordedUnconditionalPurchaseObligationTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureCommitmentsCapitalCommitmentsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_UnrecordedUnconditionalPurchaseObligationsDisclosureTextBlock": {
     "auth_ref": [
      "r931"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of unconditional purchase obligation not recognized as liability.",
        "label": "Unrecorded Unconditional Purchase Obligations Disclosure [Table Text Block]",
        "terseLabel": "Schedule of capital commitments"
       }
      }
     },
     "localname": "UnrecordedUnconditionalPurchaseObligationsDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureCommitmentsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_UseOfEstimates": {
     "auth_ref": [
      "r75",
      "r76",
      "r77",
      "r366",
      "r367",
      "r368",
      "r369"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for the use of estimates in the preparation of financial statements in conformity with generally accepted accounting principles.",
        "label": "Use of Estimates, Policy [Policy Text Block]",
        "terseLabel": "Use of estimates"
       }
      }
     },
     "localname": "UseOfEstimates",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ValueAddedTaxReceivableCurrent": {
     "auth_ref": [
      "r890"
     ],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosurePrepaymentsReceivablesAndOtherAssetsDetails": {
       "order": 8.0,
       "parentTag": "baba_PrepaidExpenseReceivablesAndOtherAssetsCurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Carrying amount as of the balance sheet date of value added taxes due either from customers arising from sales on credit terms, or as previously overpaid to tax authorities. For classified balance sheets, represents the current amount receivable, that is amounts expected to be collected within one year or the normal operating cycle, if longer.",
        "label": "Value Added Tax Receivable, Current",
        "terseLabel": "VAT receivables, net of allowance"
       }
      }
     },
     "localname": "ValueAddedTaxReceivableCurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosurePrepaymentsReceivablesAndOtherAssetsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_VariableInterestEntityLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "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.",
        "label": "Variable Interest Entity [Line Items]",
        "terseLabel": "Consolidated VIEs and their subsidiaries"
       }
      }
     },
     "localname": "VariableInterestEntityLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesConsolidationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_VariableInterestEntityPrimaryBeneficiaryMember": {
     "auth_ref": [
      "r178",
      "r636",
      "r637",
      "r640",
      "r641"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Variable Interest Entities (VIE) in which the entity has a controlling financial interest (as defined) and of which it is therefore the primary beneficiary. A controlling financial interest is determined based on both: (a) the entity's power to direct activities of the VIE that most significantly impact the VIE's economic performance and (b) the entity's obligation to absorb losses of the VIE that could potentially be significant to the VIE or the right to receive benefits from the VIE that could potentially be significant to the VIE. VIEs of which the entity is the primary beneficiary are included in the consolidated financial statements of the entity.",
        "label": "Variable Interest Entity, Primary Beneficiary [Member]",
        "terseLabel": "Consolidated VIEs and their subsidiaries"
       }
      }
     },
     "localname": "VariableInterestEntityPrimaryBeneficiaryMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesConsolidationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_VariableLeaseCost": {
     "auth_ref": [
      "r710",
      "r869"
     ],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureLeasesOperatingLeaseCostAndOthersDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_LeaseCost",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of variable lease cost, excluded from lease liability, recognized when obligation for payment is incurred for finance and operating leases.",
        "label": "Variable Lease, Cost",
        "terseLabel": "Variable lease cost"
       }
      }
     },
     "localname": "VariableLeaseCost",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureLeasesOperatingLeaseCostAndOthersDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_VariableRateAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of variable rate.",
        "label": "Variable Rate [Axis]"
       }
      }
     },
     "localname": "VariableRateAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureBankBorrowingsGeneralDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_VariableRateDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Interest rate that fluctuates over time as a result of an underlying benchmark interest rate or index.",
        "label": "Variable Rate [Domain]"
       }
      }
     },
     "localname": "VariableRateDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureBankBorrowingsGeneralDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding": {
     "auth_ref": [
      "r342",
      "r356"
     ],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureEarningsPerShareAdsDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The average number of shares or units issued and outstanding that are used in calculating diluted EPS or earnings per unit (EPU), determined based on the timing of issuance of shares or units in the period.",
        "label": "Weighted Average Number of Shares Outstanding, Diluted",
        "totalLabel": "Weighted average number of shares used in calculating net income per ordinary share - diluted (million shares)",
        "verboseLabel": "Diluted"
       }
      }
     },
     "localname": "WeightedAverageNumberOfDilutedSharesOutstanding",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureEarningsPerShareAdsDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedIncomeStatements"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_WeightedAverageNumberOfSharesOutstandingBasic": {
     "auth_ref": [
      "r340",
      "r356"
     ],
     "calculation": {
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureEarningsPerShareAdsDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding",
       "weight": 1.0
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of [basic] shares or units, after adjustment for contingently issuable shares or units and other shares or units not deemed outstanding, determined by relating the portion of time within a reporting period that common shares or units have been outstanding to the total time in that period.",
        "label": "Weighted Average Number of Shares Outstanding, Basic",
        "terseLabel": "Weighted average number of shares used in calculating net income per ordinary share - basic (million shares)",
        "totalLabel": "Weighted Average Number of Shares Outstanding, Basic, Total",
        "verboseLabel": "Basic"
       }
      }
     },
     "localname": "WeightedAverageNumberOfSharesOutstandingBasic",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureEarningsPerShareAdsDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedIncomeStatements"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_WeightedAverageNumberOfSharesOutstandingDilutedDisclosureItemsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Weighted Average Number of Shares Outstanding Reconciliation [Abstract]",
        "terseLabel": "Shares (denominator):",
        "verboseLabel": "Weighted average number of shares used in computing earnings per share (million shares)"
       }
      }
     },
     "localname": "WeightedAverageNumberOfSharesOutstandingDilutedDisclosureItemsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.alibabagroup.com/20230331/taxonomy/role/DisclosureEarningsPerShareAdsDetails",
      "http://www.alibabagroup.com/20230331/taxonomy/role/StatementConsolidatedIncomeStatements"
     ],
     "xbrltype": "stringItemType"
    }
   },
   "unitCount": 9
  }
 },
 "std_ref": {
  "r0": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "205",
   "URI": "https://asc.fasb.org/topic&trid=2122149",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r1": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 201.5-02(24))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r10": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(26)(b))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r100": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(a)(2)",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=66006027&loc=d3e16323-109275",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r1000": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(b)",
   "Publisher": "SEC",
   "Section": "1402",
   "Subparagraph": "(2)",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1001": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(b)",
   "Publisher": "SEC",
   "Section": "1402",
   "Subparagraph": "(3)",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1002": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(c)",
   "Publisher": "SEC",
   "Section": "1402",
   "Subparagraph": "(2)(i)",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1003": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(c)",
   "Publisher": "SEC",
   "Section": "1402",
   "Subparagraph": "(2)(ii)",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1004": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(c)",
   "Publisher": "SEC",
   "Section": "1402",
   "Subparagraph": "(2)(iii)",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r101": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(a)(3)",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=66006027&loc=d3e16323-109275",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r102": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "05",
   "SubTopic": "10",
   "Topic": "360",
   "URI": "https://asc.fasb.org/extlink&oid=109226317&loc=d3e202-110218",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r103": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "360",
   "URI": "https://asc.fasb.org/extlink&oid=6391035&loc=d3e2868-110229",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r104": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "360",
   "URI": "https://asc.fasb.org/extlink&oid=6391035&loc=d3e2868-110229",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r105": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 5.CC)",
   "Topic": "360",
   "URI": "https://asc.fasb.org/extlink&oid=27011434&loc=d3e125687-122742",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r106": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "360",
   "URI": "https://asc.fasb.org/topic&trid=2155823",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r107": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "440",
   "URI": "https://asc.fasb.org/topic&trid=2144648",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r108": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "460",
   "URI": "https://asc.fasb.org/extlink&oid=124440162&loc=d3e12021-110248",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r109": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "460",
   "URI": "https://asc.fasb.org/extlink&oid=124440162&loc=d3e12053-110248",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r11": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(28))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r110": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "460",
   "URI": "https://asc.fasb.org/extlink&oid=126907703&loc=d3e12565-110249",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r111": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123465755&loc=d3e1835-112601",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r112": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123465755&loc=SL6230698-112601",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r113": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "470",
   "URI": "https://asc.fasb.org/topic&trid=2208564",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r114": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(CFRR 211.02)",
   "Topic": "480",
   "URI": "https://asc.fasb.org/extlink&oid=122040564&loc=d3e177068-122764",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r115": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=65888546&loc=d3e21300-112643",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r116": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=65888546&loc=d3e21332-112643",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r117": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=65888546&loc=d3e21346-112643",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r118": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=d3e21553-112644",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r119": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=d3e21463-112644",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r12": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(29))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r120": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=d3e21475-112644",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r121": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=d3e21484-112644",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r122": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=d3e21488-112644",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r123": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=d3e21506-112644",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r124": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=d3e21521-112644",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r125": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=d3e21538-112644",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r126": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.3-04)",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=120397183&loc=d3e187085-122770",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r127": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB TOPIC 4.C)",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=120397183&loc=d3e187143-122770",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r128": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=6405813&loc=d3e23239-112655",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r129": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=6405834&loc=d3e23315-112656",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r13": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(30)(a)(1))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r130": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r131": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=6412939&loc=d3e15145-114933",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r132": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "60",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=66047640&loc=d3e39622-114963",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r133": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "70",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=49170846&loc=d3e28014-114942",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r134": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "80",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=65877416&loc=d3e29149-114947",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r135": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r136": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r137": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r138": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)(1)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r139": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(h)(1)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r14": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(30)(a)(3)(i))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r140": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r141": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=SL79508275-113901",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r142": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=126964447&loc=d3e11149-113907",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r143": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=126964447&loc=d3e11178-113907",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r144": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "730",
   "URI": "https://asc.fasb.org/extlink&oid=6420194&loc=d3e21568-108373",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r145": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=123427490&loc=d3e31931-109318",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r146": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32687-109319",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r147": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32537-109319",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r148": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32559-109319",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r149": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32559-109319",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r15": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(30)(a)(3)(ii))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r150": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32632-109319",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r151": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32639-109319",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r152": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 6.I.7)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=122134291&loc=d3e330036-122817",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r153": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 11.C)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=122134291&loc=d3e330215-122817",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r154": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(g)",
   "Topic": "805",
   "URI": "https://asc.fasb.org/extlink&oid=79982066&loc=d3e1392-128463",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r155": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(g)(1)",
   "Topic": "805",
   "URI": "https://asc.fasb.org/extlink&oid=79982066&loc=d3e1392-128463",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r156": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(g)(2)",
   "Topic": "805",
   "URI": "https://asc.fasb.org/extlink&oid=79982066&loc=d3e1392-128463",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r157": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "805",
   "URI": "https://asc.fasb.org/extlink&oid=79982066&loc=d3e1392-128463",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r158": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "805",
   "URI": "https://asc.fasb.org/extlink&oid=79982066&loc=d3e1486-128463",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r159": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "37",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "805",
   "URI": "https://asc.fasb.org/extlink&oid=123455525&loc=d3e2207-128464",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r16": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(30))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r160": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "805",
   "URI": "https://asc.fasb.org/extlink&oid=128092470&loc=d3e4845-128472",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r161": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(e)(1)",
   "Topic": "805",
   "URI": "https://asc.fasb.org/extlink&oid=128092470&loc=d3e4845-128472",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r162": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Subparagraph": "(e)",
   "Topic": "805",
   "URI": "https://asc.fasb.org/extlink&oid=123410050&loc=d3e5263-128473",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r163": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "805",
   "URI": "https://asc.fasb.org/extlink&oid=123410050&loc=d3e5333-128473",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r164": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(b)",
   "Topic": "805",
   "URI": "https://asc.fasb.org/extlink&oid=126975305&loc=d3e6927-128479",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r165": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(b)(2)",
   "Topic": "805",
   "URI": "https://asc.fasb.org/extlink&oid=126975305&loc=d3e6927-128479",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r166": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=126929396&loc=SL4568447-111683",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r167": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "16",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=126929396&loc=SL4568740-111683",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r168": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "19",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=126929396&loc=SL4569616-111683",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r169": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=126929396&loc=SL4569643-111683",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r17": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(31))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r170": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "21",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=126929396&loc=SL4613674-111683",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r171": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "23",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=126929396&loc=SL4569655-111683",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r172": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "24",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=126929396&loc=SL4616395-111683",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r173": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=109239629&loc=d3e5614-111684",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r174": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(2)",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=109239629&loc=SL4573702-111684",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r175": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c),(3)",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=109239629&loc=SL4573702-111684",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r176": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=109239629&loc=SL4573702-111684",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r177": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=109239629&loc=SL4582445-111684",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r178": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=123419778&loc=d3e5710-111685",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r179": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=123419778&loc=d3e5728-111685",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r18": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(32))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r180": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=123419778&loc=SL6759159-111685",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r181": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=123419778&loc=d3e5747-111685",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r182": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=123419778&loc=SL6228884-111685",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r183": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4I",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=120409616&loc=SL4590271-111686",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r184": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4J",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=120409616&loc=SL4591551-111686",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r185": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4K",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=120409616&loc=SL4591552-111686",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r186": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4M",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=120409616&loc=SL4591554-111686",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r187": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "810",
   "URI": "https://asc.fasb.org/topic&trid=2197479",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r188": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=125515794&loc=SL5579240-113959",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r189": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=125515794&loc=SL5579245-113959",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r19": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.1)",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r190": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=125515794&loc=d3e41620-113959",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r191": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=125515794&loc=d3e41638-113959",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r192": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=125515794&loc=SL5618551-113959",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r193": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=125515794&loc=SL5618551-113959",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r194": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=125515794&loc=SL5624163-113959",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r195": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=125515794&loc=SL5624163-113959",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r196": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4C",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=125515794&loc=SL5624171-113959",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r197": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4D",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=125515794&loc=SL5624177-113959",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r198": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=125515794&loc=d3e41675-113959",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r199": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126976982&loc=d3e19207-110258",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r2": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 201.5-02(25))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r20": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.12)",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r200": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126976982&loc=d3e19207-110258",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r201": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126976982&loc=d3e19207-110258",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r202": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126976982&loc=d3e19207-110258",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r203": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126976982&loc=d3e19279-110258",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r204": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)",
   "Topic": "825",
   "URI": "https://asc.fasb.org/extlink&oid=123596393&loc=d3e14064-108612",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r205": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "230",
   "Topic": "830",
   "URI": "https://asc.fasb.org/extlink&oid=123444420&loc=d3e33268-110906",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r206": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "835",
   "URI": "https://asc.fasb.org/extlink&oid=124435984&loc=d3e28541-108399",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r207": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "835",
   "URI": "https://asc.fasb.org/extlink&oid=124435984&loc=d3e28551-108399",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r208": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "835",
   "URI": "https://asc.fasb.org/extlink&oid=124435984&loc=d3e28555-108399",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r209": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "30",
   "Topic": "835",
   "URI": "https://asc.fasb.org/extlink&oid=114775985&loc=d3e28878-108400",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r21": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.19(a))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r210": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "850",
   "URI": "https://asc.fasb.org/extlink&oid=6457730&loc=d3e39549-107864",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r211": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "850",
   "URI": "https://asc.fasb.org/extlink&oid=6457730&loc=d3e39549-107864",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r212": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "850",
   "URI": "https://asc.fasb.org/extlink&oid=6457730&loc=d3e39549-107864",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r213": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "850",
   "URI": "https://asc.fasb.org/extlink&oid=6457730&loc=d3e39603-107864",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r214": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "25",
   "SubTopic": "20",
   "Topic": "940",
   "URI": "https://asc.fasb.org/extlink&oid=126941158&loc=d3e41242-110953",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r215": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(1)(a))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r216": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(10))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r217": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(11))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r218": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(13))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r219": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(15)(1))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r22": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.19(a),20,24)",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r220": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(15)(2))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r221": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(16))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r222": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(22))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r223": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(23))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r224": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03.17)",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r225": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03.7(e))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r226": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04(15))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r227": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04(22))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r228": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04.11)",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r229": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04.9)",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r23": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.19(b),22(b))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r230": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "470",
   "Subparagraph": "(d)",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=123599511&loc=d3e64711-112823",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r231": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "470",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=123599511&loc=d3e64711-112823",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r232": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(15)(b)(2))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r233": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(16))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r234": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(23)(a)(4)(i))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r235": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(10))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r236": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(12))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r237": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(15)(b)(1))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r238": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(16)(a)(2))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r239": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(16))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r24": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.19,20)",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r240": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(2))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r241": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(23)(a)(4)(ii))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r242": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(24))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r243": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(25))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r244": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(8))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r245": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03.(a),19)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r246": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(10))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r247": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(18))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r248": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(8))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r249": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "210",
   "Subparagraph": "(c)",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=99383244&loc=d3e12121-115841",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r25": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.19-26)",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r250": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.6-04(12)(b)(3))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=120401414&loc=d3e603758-122996",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r251": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.6-07.1(c))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=120401555&loc=SL114874292-224272",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r252": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12)",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=d3e611133-123010",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r253": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "985",
   "URI": "https://asc.fasb.org/extlink&oid=6501960&loc=d3e128462-111756",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r254": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "310",
   "URI": "https://asc.fasb.org/extlink&oid=123577603&loc=SL6953423-111524",
   "role": "http://fasb.org/us-gaap/role/ref/otherTransitionRef"
  },
  "r255": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "310",
   "URI": "https://asc.fasb.org/extlink&oid=123577603&loc=d3e5212-111524",
   "role": "http://fasb.org/us-gaap/role/ref/otherTransitionRef"
  },
  "r256": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "https://asc.fasb.org/extlink&oid=123577603&loc=d3e5093-111524",
   "role": "http://fasb.org/us-gaap/role/ref/otherTransitionRef"
  },
  "r257": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(n)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://fasb.org/us-gaap/role/ref/otherTransitionRef"
  },
  "r258": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "105",
   "URI": "https://asc.fasb.org/extlink&oid=126987489&loc=SL124442142-165695",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r259": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "105",
   "URI": "https://asc.fasb.org/extlink&oid=126987489&loc=SL124442142-165695",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r26": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.20)",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r260": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "105",
   "URI": "https://asc.fasb.org/extlink&oid=126987489&loc=SL124442142-165695",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r261": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "105",
   "URI": "https://asc.fasb.org/extlink&oid=126987489&loc=SL124442142-165695",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r262": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "105",
   "URI": "https://asc.fasb.org/extlink&oid=126987489&loc=SL124442142-165695",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r263": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(f)",
   "Topic": "105",
   "URI": "https://asc.fasb.org/extlink&oid=126987489&loc=SL124442142-165695",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r264": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)",
   "Topic": "205",
   "URI": "https://asc.fasb.org/extlink&oid=109222650&loc=d3e1361-107760",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r265": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "205",
   "URI": "https://asc.fasb.org/extlink&oid=109222650&loc=SL51721683-107760",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r266": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=124098289&loc=d3e6676-107765",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r267": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=124098289&loc=d3e6904-107765",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r268": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=6361739&loc=d3e7789-107766",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r269": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(1))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r27": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.21)",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r270": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(13))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r271": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(15))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r272": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(17))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r273": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(18))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r274": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(2))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r275": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(27)(b))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r276": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(28))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r277": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(29))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r278": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(4))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r279": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(6)(b))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r28": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.22(a)(1))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r280": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(8))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r281": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(9))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r282": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=99393222&loc=SL20226013-175313",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r283": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126968391&loc=SL7669646-108580",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r284": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126968391&loc=SL7669646-108580",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r285": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126968391&loc=d3e637-108580",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r286": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126968391&loc=d3e681-108580",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r287": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126968391&loc=SL7669686-108580",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r288": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126968391&loc=SL7669619-108580",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r289": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126968391&loc=SL7669619-108580",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r29": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.22)",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r290": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126968391&loc=SL7669619-108580",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r291": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126968391&loc=SL7669625-108580",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r292": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126968391&loc=SL7669625-108580",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r293": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=124431353&loc=SL116659661-227067",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r294": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=124431353&loc=SL124442407-227067",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r295": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=124431353&loc=SL124442411-227067",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r296": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=124431353&loc=SL124452729-227067",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r297": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(210.5-03(11))",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r298": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(1))",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r299": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(21))",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r3": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 201.5-02(26))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r30": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.24)",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r300": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(22))",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r301": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(23))",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r302": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(24))",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r303": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(25))",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r304": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "17",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3367-108585",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r305": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3000-108585",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r306": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "24",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3521-108585",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r307": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3536-108585",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r308": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126999549&loc=d3e4297-108586",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r309": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=126899994&loc=d3e18726-107790",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r31": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.25)",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r310": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(c))",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r311": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(e)(1))",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r312": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(e)(2))",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r313": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(e)(3)(ii))",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r314": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(g)(1)(ii))",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r315": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(h)(2))",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r316": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(h))",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r317": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(n))",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r318": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.12-04(a))",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=120395691&loc=d3e24072-122690",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r319": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "23",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124436220&loc=d3e21914-107793",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r32": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.29,30)",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r320": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "24",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124436220&loc=d3e21930-107793",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r321": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124436220&loc=d3e21711-107793",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r322": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22499-107794",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r323": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)(1)",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22499-107794",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r324": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)(2)",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22499-107794",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r325": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)(3)",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22499-107794",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r326": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)(4)",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22499-107794",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r327": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22499-107794",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r328": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22499-107794",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r329": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22694-107794",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r33": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.29-31)",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r330": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22694-107794",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r331": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22583-107794",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r332": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22595-107794",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r333": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22644-107794",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r334": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22644-107794",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r335": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22658-107794",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r336": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22663-107794",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r337": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 11.M.Q2)",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=122038215&loc=d3e31137-122693",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r338": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=122038215&loc=SL108384541-122693",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r339": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "250",
   "URI": "https://asc.fasb.org/topic&trid=2122394",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r34": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.3,4)",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r340": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=126958026&loc=d3e1448-109256",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r341": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=126958026&loc=d3e1377-109256",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r342": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "16",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=126958026&loc=d3e1505-109256",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r343": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=126958026&loc=d3e1252-109256",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r344": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=126958026&loc=d3e1707-109256",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r345": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "23",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=126958026&loc=d3e1757-109256",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r346": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=126958026&loc=d3e1500-109256",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r347": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=126958026&loc=d3e1278-109256",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r348": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "40",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=126958026&loc=d3e1930-109256",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r349": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "40",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)(1)",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=126958026&loc=d3e1930-109256",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r35": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.31)",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r350": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "40",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)(2)",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=126958026&loc=d3e1930-109256",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r351": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "40",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)(3)",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=126958026&loc=d3e1930-109256",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r352": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "60B",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=126958026&loc=SL5780133-109256",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r353": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "60B",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=126958026&loc=SL5780133-109256",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r354": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "60B",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=126958026&loc=SL5780133-109256",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r355": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=126958026&loc=d3e1337-109256",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r356": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=124432515&loc=d3e3550-109257",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r357": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=124432515&loc=d3e3550-109257",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r358": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=124432515&loc=d3e3630-109257",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r359": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=109243012&loc=SL65017193-207537",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r36": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(30)(a)(3)(ii))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r360": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=128363288&loc=d3e3842-109258",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r361": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "260",
   "URI": "https://asc.fasb.org/topic&trid=2144383",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r362": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "270",
   "URI": "https://asc.fasb.org/extlink&oid=126900757&loc=d3e543-108305",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r363": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "272",
   "URI": "https://asc.fasb.org/extlink&oid=125520817&loc=d3e70191-108054",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r364": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "272",
   "URI": "https://asc.fasb.org/extlink&oid=6373374&loc=d3e70434-108055",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r365": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "272",
   "URI": "https://asc.fasb.org/extlink&oid=6373374&loc=d3e70478-108055",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r366": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "275",
   "URI": "https://asc.fasb.org/extlink&oid=99393423&loc=d3e5967-108592",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r367": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "275",
   "URI": "https://asc.fasb.org/extlink&oid=99393423&loc=d3e5967-108592",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r368": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "https://asc.fasb.org/extlink&oid=99393423&loc=d3e6161-108592",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r369": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "https://asc.fasb.org/extlink&oid=99393423&loc=d3e6191-108592",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r37": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a),(b),(c)",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126968391&loc=SL7669646-108580",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r370": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8657-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r371": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8736-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r372": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8736-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r373": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8736-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r374": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8736-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r375": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8736-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r376": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8736-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r377": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(g)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8736-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r378": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(h)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8736-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r379": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(j)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8736-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r38": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126968391&loc=SL7669646-108580",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r380": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8736-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r381": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8813-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r382": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8813-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r383": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "29",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8864-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r384": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "29",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8864-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r385": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "29",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8864-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r386": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "29",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8864-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r387": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "29",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8864-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r388": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "29",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8864-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r389": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "30",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8906-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r39": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126968391&loc=d3e637-108580",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r390": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "30",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8906-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r391": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "30",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8906-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r392": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "30",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8906-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r393": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "31",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8924-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r394": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "32",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8933-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r395": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "32",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8933-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r396": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "32",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8933-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r397": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "32",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8933-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r398": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "32",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8933-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r399": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "40",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e9031-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r4": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(19)(a)(5))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r40": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126968391&loc=SL7669686-108580",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r400": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "41",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e9038-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r401": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "41",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e9038-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r402": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "42",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e9054-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r403": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "https://asc.fasb.org/extlink&oid=124259787&loc=d3e4428-111522",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r404": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "https://asc.fasb.org/extlink&oid=124259787&loc=d3e4531-111522",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r405": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "310",
   "URI": "https://asc.fasb.org/extlink&oid=123577603&loc=d3e4975-111524",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r406": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "https://asc.fasb.org/extlink&oid=123577603&loc=d3e5033-111524",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r407": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "https://asc.fasb.org/extlink&oid=123577603&loc=d3e5074-111524",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r408": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "310",
   "URI": "https://asc.fasb.org/extlink&oid=84159169&loc=d3e10133-111534",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r409": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "310",
   "URI": "https://asc.fasb.org/extlink&oid=126986314&loc=SL124402458-218513",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r41": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126968391&loc=d3e557-108580",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r410": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "310",
   "URI": "https://asc.fasb.org/extlink&oid=126986314&loc=SL124402458-218513",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r411": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "20",
   "Subparagraph": "(d)(1)",
   "Topic": "310",
   "URI": "https://asc.fasb.org/extlink&oid=126986314&loc=SL124402458-218513",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r412": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "20",
   "Subparagraph": "(d)(2)",
   "Topic": "310",
   "URI": "https://asc.fasb.org/extlink&oid=126986314&loc=SL124402458-218513",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r413": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "320",
   "URI": "https://asc.fasb.org/extlink&oid=124260329&loc=d3e26610-111562",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r414": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "320",
   "URI": "https://asc.fasb.org/extlink&oid=124260329&loc=SL6284422-111562",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r415": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(aaa)",
   "Topic": "320",
   "URI": "https://asc.fasb.org/extlink&oid=126970911&loc=d3e27232-111563",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r416": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "320",
   "URI": "https://asc.fasb.org/extlink&oid=126970911&loc=d3e27232-111563",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r417": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "320",
   "URI": "https://asc.fasb.org/extlink&oid=126970911&loc=SL120269820-111563",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r418": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "321",
   "URI": "https://asc.fasb.org/extlink&oid=126980263&loc=SL75117539-209714",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r419": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "321",
   "URI": "https://asc.fasb.org/extlink&oid=126980263&loc=SL75117539-209714",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r42": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=124507222&loc=d3e1436-108581",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r420": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(1)",
   "Topic": "323",
   "URI": "https://asc.fasb.org/extlink&oid=114001798&loc=d3e33918-111571",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r421": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "323",
   "URI": "https://asc.fasb.org/extlink&oid=114001798&loc=d3e33918-111571",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r422": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "323",
   "URI": "https://asc.fasb.org/topic&trid=2196965",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r423": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=122640432&loc=SL121648383-210437",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r424": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=122640432&loc=SL121648383-210437",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r425": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=122640432&loc=SL121648383-210437",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r426": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=122640432&loc=SL121648383-210437",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r427": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(e)(1)",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=122640432&loc=SL121648383-210437",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r428": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(e)(2)",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=122640432&loc=SL121648383-210437",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r429": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(e)(3)",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=122640432&loc=SL121648383-210437",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r43": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(1))",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r430": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(e)(4)",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=122640432&loc=SL121648383-210437",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r431": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124255206&loc=SL82895884-210446",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r432": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124255953&loc=SL82919244-210447",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r433": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124255953&loc=SL82919249-210447",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r434": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(f)",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124255953&loc=SL82919249-210447",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r435": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124255953&loc=SL82919249-210447",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r436": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124255953&loc=SL82919253-210447",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r437": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "16",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124255953&loc=SL82919258-210447",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r438": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124255953&loc=SL82919230-210447",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r439": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124269663&loc=SL82922888-210455",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r44": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(10))",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r440": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124269663&loc=SL82922895-210455",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r441": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124269663&loc=SL82922900-210455",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r442": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "330",
   "URI": "https://asc.fasb.org/extlink&oid=116847112&loc=d3e4492-108314",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r443": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "330",
   "URI": "https://asc.fasb.org/extlink&oid=116847112&loc=d3e4556-108314",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r444": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "330",
   "URI": "https://asc.fasb.org/topic&trid=2126998",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r445": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=99380562&loc=d3e13770-109266",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r446": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=99380562&loc=d3e13777-109266",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r447": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=121556970&loc=d3e13816-109267",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r448": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=121556970&loc=d3e13816-109267",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r449": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=121556970&loc=d3e13816-109267",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r45": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(12))",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r450": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=121556970&loc=d3e13816-109267",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r451": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(e)",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=121556970&loc=d3e13816-109267",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r452": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(f)",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=121556970&loc=d3e13816-109267",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r453": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(g)",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=121556970&loc=d3e13816-109267",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r454": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(h)",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=121556970&loc=d3e13816-109267",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r455": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=121556970&loc=d3e13816-109267",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r456": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=121556970&loc=SL108378252-109267",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r457": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=121556970&loc=d3e13854-109267",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r458": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=121556970&loc=d3e13854-109267",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r459": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "SubTopic": "20",
   "Topic": "350",
   "URI": "https://asc.fasb.org/subtopic&trid=2144439",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r46": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(20))",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r460": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(a)",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=66006027&loc=d3e16265-109275",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r461": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(a)(1)",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=66006027&loc=d3e16265-109275",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r462": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(d)",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=66006027&loc=d3e16265-109275",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r463": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(a)(1)",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=66006027&loc=d3e16323-109275",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r464": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(d)",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=66006027&loc=d3e16323-109275",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r465": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(c)",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=66006027&loc=d3e16373-109275",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r466": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "SubTopic": "30",
   "Topic": "350",
   "URI": "https://asc.fasb.org/subtopic&trid=2144471",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r467": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "360",
   "URI": "https://asc.fasb.org/extlink&oid=109226691&loc=d3e2941-110230",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r468": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)",
   "Topic": "360",
   "URI": "https://asc.fasb.org/extlink&oid=109226691&loc=d3e2941-110230",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r469": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "420",
   "URI": "https://asc.fasb.org/extlink&oid=6394359&loc=d3e17939-110869",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r47": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(4))",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r470": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "420",
   "URI": "https://asc.fasb.org/extlink&oid=6394359&loc=d3e17939-110869",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r471": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 5.P.4(d))",
   "Topic": "420",
   "URI": "https://asc.fasb.org/extlink&oid=115931487&loc=d3e140904-122747",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r472": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "440",
   "URI": "https://asc.fasb.org/extlink&oid=123406679&loc=d3e25336-109308",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r473": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "440",
   "URI": "https://asc.fasb.org/extlink&oid=123406679&loc=d3e25336-109308",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r474": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "440",
   "URI": "https://asc.fasb.org/extlink&oid=123406679&loc=d3e25336-109308",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r475": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "440",
   "URI": "https://asc.fasb.org/extlink&oid=123406679&loc=d3e25383-109308",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r476": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "450",
   "URI": "https://asc.fasb.org/extlink&oid=121557415&loc=d3e14326-108349",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r477": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "450",
   "URI": "https://asc.fasb.org/extlink&oid=121557415&loc=d3e14435-108349",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r478": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "450",
   "URI": "https://asc.fasb.org/extlink&oid=121557415&loc=d3e14557-108349",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r479": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "20",
   "Subparagraph": "(SAB Topic 5.Y.Q2)",
   "Topic": "450",
   "URI": "https://asc.fasb.org/extlink&oid=27011672&loc=d3e149879-122751",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r48": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(7)(c))",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r480": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "20",
   "Subparagraph": "(SAB Topic 5.Y.Q4)",
   "Topic": "450",
   "URI": "https://asc.fasb.org/extlink&oid=27011672&loc=d3e149879-122751",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r481": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(4)(i))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442526-122756",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r482": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(4)(iii)(A))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442526-122756",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r483": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(4)(iii)(B))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442526-122756",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r484": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(4)(iv))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442526-122756",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r485": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(5))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442526-122756",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r486": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-02(a)(4)(i))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442552-122756",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r487": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-02(a)(4)(iii)(A)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442552-122756",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r488": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-02(a)(4)(iii)(A))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442552-122756",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r489": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-02(a)(4)(iii)(B)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442552-122756",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r49": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03.1(e))",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r490": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-02(a)(4)(iii)(B))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442552-122756",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r491": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-02(a)(4)(iii)(C))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442552-122756",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r492": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-02(a)(4)(iv))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442552-122756",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r493": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-02(a)(5))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442552-122756",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r494": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r495": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r496": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r497": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(e)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r498": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(f)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r499": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(g)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r5": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(19))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r50": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03.2)",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r500": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(h)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r501": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(i)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r502": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r503": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1C",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495334-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r504": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1C",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495334-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r505": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1C",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495334-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r506": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1D",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495340-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r507": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1D",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495340-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r508": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1D",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495340-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r509": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1E",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495348-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r51": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03.4)",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r510": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1E",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495348-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r511": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1E",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495348-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r512": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1E",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495348-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r513": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1F",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495355-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r514": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1F",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495355-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r515": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1F",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(1)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495355-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r516": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1F",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(2)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495355-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r517": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1I",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495371-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r518": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1I",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495371-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r519": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1I",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495371-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r52": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03.9)",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r520": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1I",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495371-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r521": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(1)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466204&loc=SL6031897-161870",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r522": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(2)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466204&loc=SL6031897-161870",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r523": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(3)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466204&loc=SL6031897-161870",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r524": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466204&loc=SL6036836-161870",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r525": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=SL123496158-112644",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r526": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=SL123496158-112644",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r527": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=SL123496158-112644",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r528": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(h)",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=SL123496158-112644",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r529": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=SL123496171-112644",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r53": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3179-108585",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r530": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "18",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=SL123496189-112644",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r531": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=d3e21463-112644",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r532": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.3-04)",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=120397183&loc=d3e187085-122770",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r533": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "606",
   "URI": "https://asc.fasb.org/extlink&oid=126919976&loc=SL49130531-203044",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r534": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "606",
   "URI": "https://asc.fasb.org/extlink&oid=126919976&loc=SL49130532-203044",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r535": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "606",
   "URI": "https://asc.fasb.org/extlink&oid=126920106&loc=SL49130558-203045",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r536": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "606",
   "URI": "https://asc.fasb.org/extlink&oid=126920106&loc=SL49130569-203045",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r537": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "606",
   "URI": "https://asc.fasb.org/extlink&oid=126920106&loc=SL49130549-203045",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r538": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(i)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r539": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(01)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r54": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3179-108585",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r540": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(02)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r541": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(02)(A)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r542": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(02)(B)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r543": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(02)(C)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r544": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(03)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r545": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(n)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r546": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "70",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=49170846&loc=d3e28014-114942",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r547": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "80",
   "Subparagraph": "(d)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=65877416&loc=SL14450657-114947",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r548": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "80",
   "Subparagraph": "(f)(3)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=65877416&loc=SL14450657-114947",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r549": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1D",
   "Publisher": "FASB",
   "Section": "35",
   "SubTopic": "10",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=126961718&loc=SL116886442-113899",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r55": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3213-108585",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r550": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "35",
   "SubTopic": "10",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=126961718&loc=d3e4534-113899",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r551": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "35",
   "SubTopic": "10",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=126961718&loc=d3e4549-113899",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r552": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=126962052&loc=d3e4991-113900",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r553": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r554": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(1)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r555": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(2)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r556": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(3)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r557": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r558": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(i)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r559": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(ii)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r56": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3213-108585",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r560": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(iii)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r561": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(iv)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r562": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(iv)(01)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r563": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(iv)(02)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r564": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(iv)(03)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r565": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(iv)(04)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r566": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)(i)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r567": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)(ii)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r568": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)(iii)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r569": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)(iii)(01)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r57": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3213-108585",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r570": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)(iii)(02)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r571": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)(iii)(03)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r572": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)(1)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r573": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)(2)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r574": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)(1)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r575": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)(2)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r576": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(1)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r577": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r578": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)(i)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r579": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)(ii)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r58": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3255-108585",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r580": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)(iii)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r581": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)(iv)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r582": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)(v)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r583": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(h)(1)(i)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r584": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(h)(2)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r585": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(h)(2)(i)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r586": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(i)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r587": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(l)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r588": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128097895&loc=SL121327923-165333",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r589": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(f)(1)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128097895&loc=SL121327923-165333",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r59": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3255-108585",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r590": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128097895&loc=SL121327923-165333",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r591": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 14.D.2.Q6)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=122041274&loc=d3e301413-122809",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r592": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "718",
   "URI": "https://asc.fasb.org/topic&trid=2228938",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r593": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "35",
   "Subparagraph": "(a)",
   "Topic": "720",
   "URI": "https://asc.fasb.org/extlink&oid=6420018&loc=d3e36677-107848",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r594": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "25",
   "SubTopic": "10",
   "Subparagraph": "(a)(2)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=126928070&loc=d3e28200-109314",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r595": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=123427490&loc=d3e32247-109318",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r596": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=123427490&loc=d3e32280-109318",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r597": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=123427490&loc=d3e31917-109318",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r598": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=123427490&loc=d3e31931-109318",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r599": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32672-109319",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r6": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(20))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r60": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3255-108585",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r600": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32687-109319",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r601": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32705-109319",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r602": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "17",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32809-109319",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r603": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "19",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32840-109319",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r604": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32537-109319",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r605": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32537-109319",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r606": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32537-109319",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r607": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32847-109319",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r608": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "21",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32857-109319",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r609": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32639-109319",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r61": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3291-108585",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r610": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32639-109319",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r611": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32639-109319",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r612": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=126983759&loc=SL121830611-158277",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r613": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=126983759&loc=SL121830611-158277",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r614": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(d)(2)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=126983759&loc=SL121830611-158277",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r615": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(d)(3)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=126983759&loc=SL121830611-158277",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r616": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(e)(1)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=126983759&loc=SL121830611-158277",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r617": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(e)(2)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=126983759&loc=SL121830611-158277",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r618": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(e)(3)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=126983759&loc=SL121830611-158277",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r619": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB TOPIC 6.I.5.Q1)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=122134291&loc=d3e330036-122817",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r62": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3291-108585",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r620": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB TOPIC 6.I.7)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=122134291&loc=d3e330036-122817",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r621": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 6.I.Fact.1)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=122134291&loc=d3e330036-122817",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r622": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 6.I.Fact.2)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=122134291&loc=d3e330036-122817",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r623": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 6.I.Fact.4)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=122134291&loc=d3e330036-122817",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r624": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 11.C)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=122134291&loc=d3e330215-122817",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r625": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=123586238&loc=d3e38679-109324",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r626": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "270",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=6424409&loc=d3e44925-109338",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r627": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(a)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=6424122&loc=d3e41874-109331",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r628": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(b)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=6424122&loc=d3e41874-109331",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r629": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "740",
   "URI": "https://asc.fasb.org/topic&trid=2144680",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r63": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "21D",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=SL94080555-108585",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r630": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "805",
   "URI": "https://asc.fasb.org/extlink&oid=128092470&loc=d3e4946-128472",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r631": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "805",
   "URI": "https://asc.fasb.org/extlink&oid=128092918&loc=SL128093175-196984",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r632": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "805",
   "URI": "https://asc.fasb.org/extlink&oid=128092918&loc=SL128093175-196984",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r633": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "20",
   "Subparagraph": "(d)",
   "Topic": "805",
   "URI": "https://asc.fasb.org/extlink&oid=128092918&loc=SL128093175-196984",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r634": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(b)(1)",
   "Topic": "805",
   "URI": "https://asc.fasb.org/extlink&oid=126975305&loc=d3e6927-128479",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r635": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "19",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=126929396&loc=SL4569616-111683",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r636": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=116870748&loc=SL6758485-165988",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r637": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=116870748&loc=SL6758485-165988",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r638": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(1)",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=109239629&loc=SL4573702-111684",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r639": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=109239629&loc=SL4573702-111684",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r64": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "24",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3521-108585",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r640": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(bb)",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=123419778&loc=d3e5710-111685",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r641": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=123419778&loc=d3e5710-111685",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r642": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "40",
   "Subparagraph": "(f)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=126731327&loc=d3e90205-114008",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r643": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(a)(1)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=126732423&loc=SL123482106-238011",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r644": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(a)(2)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=126732423&loc=SL123482106-238011",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r645": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(a)(3)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=126732423&loc=SL123482106-238011",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r646": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(b)(1)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=126732423&loc=SL123482106-238011",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r647": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(b)(2)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=126732423&loc=SL123482106-238011",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r648": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(c)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=126732423&loc=SL123482106-238011",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r649": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(d)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=126732423&loc=SL123482106-238011",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r65": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(f)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3536-108585",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r650": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(e)(1)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=126732423&loc=SL123482106-238011",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r651": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(e)(2)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=126732423&loc=SL123482106-238011",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r652": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(e)(3)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=126732423&loc=SL123482106-238011",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r653": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(e)(4)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=126732423&loc=SL123482106-238011",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r654": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(f)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=126732423&loc=SL123482106-238011",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r655": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(a)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=126732423&loc=SL126732908-238011",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r656": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(c)(1)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=126732423&loc=SL126732908-238011",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r657": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(c)(2)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=126732423&loc=SL126732908-238011",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r658": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(c)(3)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=126732423&loc=SL126732908-238011",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r659": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126976982&loc=d3e19207-110258",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r66": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3536-108585",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r660": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126976982&loc=d3e19207-110258",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r661": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(bbb)(1)",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126976982&loc=d3e19207-110258",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r662": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(bbb)(2)",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126976982&loc=d3e19207-110258",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r663": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126976982&loc=d3e19207-110258",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r664": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126976982&loc=d3e19207-110258",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r665": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126976982&loc=d3e19279-110258",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r666": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126976982&loc=SL6742756-110258",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r667": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "825",
   "URI": "https://asc.fasb.org/extlink&oid=123594786&loc=SL75136599-209740",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r668": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "825",
   "URI": "https://asc.fasb.org/extlink&oid=123594809&loc=SL116692626-108610",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r669": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "825",
   "URI": "https://asc.fasb.org/extlink&oid=123594938&loc=d3e13433-108611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r67": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3602-108585",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r670": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)",
   "Topic": "825",
   "URI": "https://asc.fasb.org/extlink&oid=123596393&loc=d3e14064-108612",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r671": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "825",
   "URI": "https://asc.fasb.org/extlink&oid=126983955&loc=SL120254526-165497",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r672": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "825",
   "URI": "https://asc.fasb.org/extlink&oid=126983955&loc=SL120254526-165497",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r673": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "825",
   "URI": "https://asc.fasb.org/extlink&oid=126983955&loc=SL121967933-165497",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r674": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "825",
   "URI": "https://asc.fasb.org/extlink&oid=126983955&loc=SL121967933-165497",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r675": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)",
   "Topic": "825",
   "URI": "https://asc.fasb.org/extlink&oid=126983955&loc=SL121967933-165497",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r676": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)",
   "Topic": "825",
   "URI": "https://asc.fasb.org/extlink&oid=126983955&loc=SL121967933-165497",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r677": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(e)(1)",
   "Topic": "825",
   "URI": "https://asc.fasb.org/extlink&oid=126983955&loc=SL121967933-165497",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r678": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(e)(2)",
   "Topic": "825",
   "URI": "https://asc.fasb.org/extlink&oid=126983955&loc=SL121967933-165497",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r679": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(e)(3)",
   "Topic": "825",
   "URI": "https://asc.fasb.org/extlink&oid=126983955&loc=SL121967933-165497",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r68": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3602-108585",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r680": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "825",
   "URI": "https://asc.fasb.org/extlink&oid=126983955&loc=SL122642865-165497",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r681": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "825",
   "URI": "https://asc.fasb.org/extlink&oid=126983955&loc=SL122642865-165497",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r682": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "230",
   "Topic": "830",
   "URI": "https://asc.fasb.org/extlink&oid=123444420&loc=d3e33268-110906",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r683": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "17",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "830",
   "URI": "https://asc.fasb.org/extlink&oid=118261656&loc=d3e32136-110900",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r684": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Subparagraph": "(a)",
   "Topic": "830",
   "URI": "https://asc.fasb.org/extlink&oid=118261656&loc=d3e32211-110900",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r685": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Subparagraph": "(b)",
   "Topic": "830",
   "URI": "https://asc.fasb.org/extlink&oid=118261656&loc=d3e32211-110900",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r686": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Subparagraph": "(c)",
   "Topic": "830",
   "URI": "https://asc.fasb.org/extlink&oid=118261656&loc=d3e32211-110900",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r687": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Subparagraph": "(d)",
   "Topic": "830",
   "URI": "https://asc.fasb.org/extlink&oid=118261656&loc=d3e32211-110900",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r688": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "830",
   "URI": "https://asc.fasb.org/extlink&oid=118261656&loc=d3e32211-110900",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r689": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "830",
   "URI": "https://asc.fasb.org/extlink&oid=6450520&loc=d3e32583-110901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r69": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3602-108585",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r690": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "830",
   "URI": "https://asc.fasb.org/extlink&oid=6450520&loc=d3e32618-110901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r691": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "830",
   "URI": "https://asc.fasb.org/topic&trid=2175825",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r692": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "832",
   "URI": "https://asc.fasb.org/extlink&oid=128342835&loc=SL128342857-244232",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r693": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "832",
   "URI": "https://asc.fasb.org/extlink&oid=128342835&loc=SL128342857-244232",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r694": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "835",
   "URI": "https://asc.fasb.org/extlink&oid=6450988&loc=d3e26243-108391",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r695": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "835",
   "URI": "https://asc.fasb.org/extlink&oid=124429444&loc=SL124452920-239629",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r696": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "842",
   "URI": "https://asc.fasb.org/extlink&oid=128293352&loc=SL126838806-209984",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r697": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "842",
   "URI": "https://asc.fasb.org/extlink&oid=128293352&loc=SL126838806-209984",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r698": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "842",
   "URI": "https://asc.fasb.org/extlink&oid=128293352&loc=SL126838806-209984",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r699": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(d)(1)",
   "Topic": "842",
   "URI": "https://asc.fasb.org/extlink&oid=128293352&loc=SL126838806-209984",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r7": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(22))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r70": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3044-108585",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r700": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(f)(1)",
   "Topic": "842",
   "URI": "https://asc.fasb.org/extlink&oid=128293352&loc=SL126838806-209984",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r701": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(f)(3)",
   "Topic": "842",
   "URI": "https://asc.fasb.org/extlink&oid=128293352&loc=SL126838806-209984",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r702": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "842",
   "URI": "https://asc.fasb.org/extlink&oid=123391704&loc=SL77918627-209977",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r703": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "842",
   "URI": "https://asc.fasb.org/extlink&oid=123391704&loc=SL77918627-209977",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r704": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Topic": "842",
   "URI": "https://asc.fasb.org/extlink&oid=123391704&loc=SL77918631-209977",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r705": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "842",
   "URI": "https://asc.fasb.org/extlink&oid=123391704&loc=SL77918643-209977",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r706": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "842",
   "URI": "https://asc.fasb.org/extlink&oid=128292326&loc=SL77918666-209980",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r707": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)(3)",
   "Topic": "842",
   "URI": "https://asc.fasb.org/extlink&oid=128292326&loc=SL77918673-209980",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r708": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "842",
   "URI": "https://asc.fasb.org/extlink&oid=128292326&loc=SL77918673-209980",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r709": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "842",
   "URI": "https://asc.fasb.org/extlink&oid=128292326&loc=SL77918686-209980",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r71": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126999549&loc=d3e4273-108586",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r710": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)",
   "Topic": "842",
   "URI": "https://asc.fasb.org/extlink&oid=128292326&loc=SL77918686-209980",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r711": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(g)(1)",
   "Topic": "842",
   "URI": "https://asc.fasb.org/extlink&oid=128292326&loc=SL77918686-209980",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r712": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(g)(2)",
   "Topic": "842",
   "URI": "https://asc.fasb.org/extlink&oid=128292326&loc=SL77918686-209980",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r713": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(g)(3)",
   "Topic": "842",
   "URI": "https://asc.fasb.org/extlink&oid=128292326&loc=SL77918686-209980",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r714": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(g)(4)",
   "Topic": "842",
   "URI": "https://asc.fasb.org/extlink&oid=128292326&loc=SL77918686-209980",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r715": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "842",
   "URI": "https://asc.fasb.org/extlink&oid=128292326&loc=SL77918686-209980",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r716": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "842",
   "URI": "https://asc.fasb.org/extlink&oid=128292326&loc=SL77918701-209980",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r717": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "SubTopic": "20",
   "Topic": "842",
   "URI": "https://asc.fasb.org/subtopic&trid=77888251",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r718": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "848",
   "URI": "https://asc.fasb.org/extlink&oid=125980421&loc=SL122150809-237846",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r719": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(e)(1)",
   "Topic": "848",
   "URI": "https://asc.fasb.org/extlink&oid=125980421&loc=SL122150809-237846",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r72": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126999549&loc=d3e4297-108586",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r720": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "848",
   "URI": "https://asc.fasb.org/extlink&oid=125980421&loc=SL125981372-237846",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r721": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(a)(1)",
   "Topic": "848",
   "URI": "https://asc.fasb.org/extlink&oid=125980421&loc=SL125981372-237846",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r722": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(a)(2)",
   "Topic": "848",
   "URI": "https://asc.fasb.org/extlink&oid=125980421&loc=SL125981372-237846",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r723": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(a)(3)(iii)(01)",
   "Topic": "848",
   "URI": "https://asc.fasb.org/extlink&oid=125980421&loc=SL125981372-237846",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r724": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(a)(3)(iii)(03)",
   "Topic": "848",
   "URI": "https://asc.fasb.org/extlink&oid=125980421&loc=SL125981372-237846",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r725": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "848",
   "URI": "https://asc.fasb.org/extlink&oid=125980421&loc=SL125981372-237846",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r726": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "850",
   "URI": "https://asc.fasb.org/extlink&oid=6457730&loc=d3e39549-107864",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r727": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "850",
   "URI": "https://asc.fasb.org/extlink&oid=6457730&loc=d3e39549-107864",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r728": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "850",
   "URI": "https://asc.fasb.org/extlink&oid=6457730&loc=d3e39549-107864",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r729": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "850",
   "URI": "https://asc.fasb.org/extlink&oid=6457730&loc=d3e39549-107864",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r73": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126999549&loc=SL98516268-108586",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r730": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "850",
   "URI": "https://asc.fasb.org/extlink&oid=6457730&loc=d3e39599-107864",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r731": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "850",
   "URI": "https://asc.fasb.org/extlink&oid=6457730&loc=d3e39691-107864",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r732": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "850",
   "URI": "https://asc.fasb.org/topic&trid=2122745",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r733": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "852",
   "URI": "https://asc.fasb.org/extlink&oid=124437977&loc=d3e55792-112764",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r734": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "852",
   "URI": "https://asc.fasb.org/extlink&oid=124433192&loc=d3e56071-112765",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r735": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "855",
   "URI": "https://asc.fasb.org/extlink&oid=6842918&loc=SL6314017-165662",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r736": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(2)(i)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r737": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(2)(ii)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r738": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(3)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r739": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(bb)(1)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r74": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "235",
   "URI": "https://asc.fasb.org/topic&trid=2122369",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r740": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(bb)(2)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r741": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(bb)(3)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r742": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)(1)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r743": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)(2)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r744": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)(3)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r745": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(1)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107314-111719",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r746": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(2)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107314-111719",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r747": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(3)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107314-111719",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r748": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107314-111719",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r749": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=66007379&loc=d3e113888-111728",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r75": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "https://asc.fasb.org/extlink&oid=99393423&loc=d3e6061-108592",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r750": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(b)(1)(i)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=109249958&loc=SL6224234-111729",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r751": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(b)(1)(ii)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=109249958&loc=SL6224234-111729",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r752": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(b)(2)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=109249958&loc=SL6224234-111729",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r753": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(a)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=109249958&loc=SL34722452-111729",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r754": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(1)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=128311188&loc=d3e122625-111746",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r755": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(2)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=128311188&loc=d3e122625-111746",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r756": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(3)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=128311188&loc=d3e122625-111746",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r757": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(4)(i)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=128311188&loc=d3e122625-111746",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r758": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(1)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=128311188&loc=d3e122739-111746",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r759": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(2)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=128311188&loc=d3e122739-111746",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r76": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "https://asc.fasb.org/extlink&oid=99393423&loc=d3e6132-108592",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r760": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(3)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=128311188&loc=d3e122739-111746",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r761": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(4)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=128311188&loc=d3e122739-111746",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r762": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(5)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=128311188&loc=d3e122739-111746",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r763": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(6)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=128311188&loc=d3e122739-111746",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r764": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(7)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=128311188&loc=d3e122739-111746",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r765": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(b)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=128311188&loc=d3e122739-111746",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r766": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(e)(1)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=128311188&loc=d3e122739-111746",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r767": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(e)(2)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=128311188&loc=d3e122739-111746",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r768": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(e)(3)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=128311188&loc=d3e122739-111746",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r769": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "910",
   "URI": "https://asc.fasb.org/extlink&oid=126937589&loc=SL119991595-234733",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r77": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "https://asc.fasb.org/extlink&oid=99393423&loc=d3e6143-108592",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r770": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "330",
   "Topic": "912",
   "URI": "https://asc.fasb.org/extlink&oid=6471895&loc=d3e55923-109411",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r771": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 11.L)",
   "Topic": "924",
   "URI": "https://asc.fasb.org/extlink&oid=6472922&loc=d3e499488-122856",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r772": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "926",
   "URI": "https://asc.fasb.org/extlink&oid=120154696&loc=d3e54445-107959",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r773": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "926",
   "URI": "https://asc.fasb.org/extlink&oid=120154821&loc=SL120154904-197079",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r774": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "926",
   "URI": "https://asc.fasb.org/extlink&oid=120154821&loc=SL120154904-197079",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r775": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "926",
   "URI": "https://asc.fasb.org/extlink&oid=120154821&loc=SL120154904-197079",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r776": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "20",
   "Subparagraph": "(f)(1)",
   "Topic": "926",
   "URI": "https://asc.fasb.org/extlink&oid=120154821&loc=SL120154904-197079",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r777": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "20",
   "Subparagraph": "(f)(2)",
   "Topic": "926",
   "URI": "https://asc.fasb.org/extlink&oid=120154821&loc=SL120154904-197079",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r778": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "20",
   "Subparagraph": "(f)(3)",
   "Topic": "926",
   "URI": "https://asc.fasb.org/extlink&oid=120154821&loc=SL120154904-197079",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r779": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "340",
   "Topic": "928",
   "URI": "https://asc.fasb.org/extlink&oid=6473545&loc=d3e61844-108004",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r78": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "30",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8906-108599",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r780": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(a)",
   "Topic": "932",
   "URI": "https://asc.fasb.org/extlink&oid=126939881&loc=d3e61929-109447",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r781": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(b)",
   "Topic": "932",
   "URI": "https://asc.fasb.org/extlink&oid=126939881&loc=d3e61929-109447",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r782": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(a)",
   "Topic": "932",
   "URI": "https://asc.fasb.org/extlink&oid=126939881&loc=d3e62059-109447",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r783": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(b)",
   "Topic": "932",
   "URI": "https://asc.fasb.org/extlink&oid=126939881&loc=d3e62059-109447",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r784": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(a)",
   "Topic": "932",
   "URI": "https://asc.fasb.org/extlink&oid=126939881&loc=d3e62395-109447",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r785": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(b)",
   "Topic": "932",
   "URI": "https://asc.fasb.org/extlink&oid=126939881&loc=d3e62395-109447",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r786": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "33",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(a)",
   "Topic": "932",
   "URI": "https://asc.fasb.org/extlink&oid=126939881&loc=d3e62479-109447",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r787": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "33",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(b)",
   "Topic": "932",
   "URI": "https://asc.fasb.org/extlink&oid=126939881&loc=d3e62479-109447",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r788": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "35A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(a)",
   "Topic": "932",
   "URI": "https://asc.fasb.org/extlink&oid=126939881&loc=SL6807758-109447",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r789": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "35A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(b)",
   "Topic": "932",
   "URI": "https://asc.fasb.org/extlink&oid=126939881&loc=SL6807758-109447",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r79": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "31",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8924-108599",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r790": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(c)(1)",
   "Topic": "932",
   "URI": "https://asc.fasb.org/extlink&oid=126939881&loc=d3e61872-109447",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r791": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(c)(2)",
   "Topic": "932",
   "URI": "https://asc.fasb.org/extlink&oid=126939881&loc=d3e61872-109447",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r792": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(10)(1))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r793": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04(23))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r794": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04(24))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r795": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04(25))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r796": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04(26))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r797": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04(27))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r798": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "235",
   "Subparagraph": "(SX 210.9-05(b)(2))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=120399901&loc=d3e537907-122884",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r799": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "360",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=124429447&loc=SL124453093-239630",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r8": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(23))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r80": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8475-108599",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r800": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(19))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r801": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(20))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r802": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(21))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r803": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(22))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r804": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(23))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r805": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(3)(d))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r806": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(9))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r807": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "40",
   "Subparagraph": "(d)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=124506351&loc=SL117782755-158439",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r808": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(a)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r809": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(b)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r81": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "40",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e9031-108599",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r810": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(e)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r811": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(f)(1)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r812": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(f)(2)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r813": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(g)(1)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r814": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(g)(2)(i)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r815": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(g)(2)(ii)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r816": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(g)(2)(iii)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r817": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(g)(2)(iv)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r818": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(h)(1)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r819": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(h)(2)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r82": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "41",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "a",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e9038-108599",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r820": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column B))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=d3e611197-123010",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r821": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "310",
   "Subparagraph": "(SX 210.12-29(Footnote 4))",
   "Topic": "948",
   "URI": "https://asc.fasb.org/extlink&oid=120402547&loc=d3e617274-123014",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r822": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "450",
   "Topic": "954",
   "URI": "https://asc.fasb.org/extlink&oid=6491354&loc=d3e6049-115624",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r823": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "360",
   "Subparagraph": "(d)",
   "Topic": "958",
   "URI": "https://asc.fasb.org/extlink&oid=126982197&loc=d3e99779-112916",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r824": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "360",
   "Topic": "958",
   "URI": "https://asc.fasb.org/extlink&oid=126982197&loc=d3e99893-112916",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r825": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "360",
   "Topic": "958",
   "URI": "https://asc.fasb.org/extlink&oid=126982197&loc=SL120174063-112916",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r826": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "360",
   "Subparagraph": "(SX 210.12-28(Column B))",
   "Topic": "970",
   "URI": "https://asc.fasb.org/extlink&oid=120402810&loc=d3e638233-123024",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r827": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "360",
   "Subparagraph": "(SX 210.12-28(Column C))",
   "Topic": "970",
   "URI": "https://asc.fasb.org/extlink&oid=120402810&loc=d3e638233-123024",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r828": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "360",
   "Subparagraph": "(SX 210.12-28(Column D))",
   "Topic": "970",
   "URI": "https://asc.fasb.org/extlink&oid=120402810&loc=d3e638233-123024",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r829": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "360",
   "Subparagraph": "(SX 210.12-28(Column E))",
   "Topic": "970",
   "URI": "https://asc.fasb.org/extlink&oid=120402810&loc=d3e638233-123024",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r83": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "41",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e9038-108599",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r830": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "360",
   "Subparagraph": "(SX 210.12-28(Column F))",
   "Topic": "970",
   "URI": "https://asc.fasb.org/extlink&oid=120402810&loc=d3e638233-123024",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r831": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "360",
   "Subparagraph": "(SX 210.12-28(Column G))",
   "Topic": "970",
   "URI": "https://asc.fasb.org/extlink&oid=120402810&loc=d3e638233-123024",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r832": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "360",
   "Subparagraph": "(SX 210.12-28(Column H))",
   "Topic": "970",
   "URI": "https://asc.fasb.org/extlink&oid=120402810&loc=d3e638233-123024",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r833": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "360",
   "Subparagraph": "(SX 210.12-28(Column I))",
   "Topic": "970",
   "URI": "https://asc.fasb.org/extlink&oid=120402810&loc=d3e638233-123024",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r834": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "360",
   "Subparagraph": "(SX 210.12-28(Footnote 2))",
   "Topic": "970",
   "URI": "https://asc.fasb.org/extlink&oid=120402810&loc=d3e638233-123024",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r835": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "360",
   "Subparagraph": "(SX 210.12-28(Footnote 4))",
   "Topic": "970",
   "URI": "https://asc.fasb.org/extlink&oid=120402810&loc=d3e638233-123024",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r836": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "310",
   "Subparagraph": "(c)",
   "Topic": "976",
   "URI": "https://asc.fasb.org/extlink&oid=6497875&loc=d3e22274-108663",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r837": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "310",
   "Subparagraph": "(b)",
   "Topic": "978",
   "URI": "https://asc.fasb.org/extlink&oid=126945304&loc=d3e27327-108691",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r838": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(a)",
   "Publisher": "SEC",
   "Section": "1402",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r839": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=124098289&loc=d3e6676-107765",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r84": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)",
   "Topic": "310",
   "URI": "https://asc.fasb.org/extlink&oid=123577603&loc=SL6953423-111524",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r840": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(f)",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=124098289&loc=d3e6676-107765",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r841": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=99393222&loc=SL20226052-175313",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r842": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=126899994&loc=d3e18823-107790",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r843": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=126899994&loc=d3e18823-107790",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r844": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=126899994&loc=d3e18823-107790",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r845": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=126899994&loc=d3e18823-107790",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r846": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "52",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=128363288&loc=d3e4984-109258",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r847": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "30",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8906-108599",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r848": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "31",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8924-108599",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r849": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "30",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=121590138&loc=SL82922954-210456",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r85": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 4.E)",
   "Topic": "310",
   "URI": "https://asc.fasb.org/extlink&oid=122038336&loc=d3e74512-122707",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r850": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "24",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=122137925&loc=d3e14258-109268",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r851": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r852": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "69B",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466577&loc=SL123495735-112612",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r853": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "69C",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466577&loc=SL123495737-112612",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r854": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "69E",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466577&loc=SL123495743-112612",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r855": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "69F",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466577&loc=SL123495745-112612",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r856": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=SL123496158-112644",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r857": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "91",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "606",
   "URI": "https://asc.fasb.org/extlink&oid=126920602&loc=SL49130690-203046-203046",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r858": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "91",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "606",
   "URI": "https://asc.fasb.org/extlink&oid=126920602&loc=SL49130690-203046-203046",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r859": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(ii)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r86": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "320",
   "URI": "https://asc.fasb.org/extlink&oid=124260329&loc=d3e26610-111562",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r860": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(01)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r861": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "17",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123450688&loc=d3e4179-114921",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r862": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "80",
   "Subparagraph": "(a)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=65877416&loc=SL14450702-114947",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r863": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "80",
   "Subparagraph": "(a)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=65877416&loc=SL14450673-114947",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r864": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "80",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=35742348&loc=SL14450788-114948",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r865": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(1)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r866": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(2)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r867": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4J",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=120409616&loc=SL4591551-111686",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r868": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4K",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=120409616&loc=SL4591552-111686",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r869": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "53",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "842",
   "URI": "https://asc.fasb.org/extlink&oid=123414884&loc=SL77918982-209971",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r87": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "32",
   "Publisher": "FASB",
   "Section": "35",
   "SubTopic": "10",
   "Topic": "323",
   "URI": "https://asc.fasb.org/extlink&oid=126903467&loc=d3e32787-111569",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r870": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "852",
   "URI": "https://asc.fasb.org/extlink&oid=84165509&loc=d3e56426-112766",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r871": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13H",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "40",
   "Subparagraph": "(a)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126561865&loc=SL117783719-158441",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r872": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13H",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "40",
   "Subparagraph": "(b)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126561865&loc=SL117783719-158441",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r873": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "29F",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "40",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126561865&loc=SL117819544-158441",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r874": {
   "Name": "Exchange Act",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "12",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r875": {
   "Name": "Exchange Act",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "b",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r876": {
   "Name": "Exchange Act",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "b-2",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r877": {
   "Name": "Exchange Act",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "d1-1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r878": {
   "Name": "Exchange Act",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "15",
   "Subsection": "d-3",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r879": {
   "Name": "Form 10-K",
   "Number": "249",
   "Publisher": "SEC",
   "Section": "310",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r88": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "323",
   "URI": "https://asc.fasb.org/extlink&oid=109237563&loc=d3e33749-111570",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r880": {
   "Name": "Form 20-F",
   "Number": "249",
   "Publisher": "SEC",
   "Section": "220",
   "Subsection": "f",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r881": {
   "Name": "Form 40-F",
   "Number": "249",
   "Publisher": "SEC",
   "Section": "240",
   "Subsection": "f",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r882": {
   "Name": "Forms 10-K, 10-Q, 20-F",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "13",
   "Subsection": "a-1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r883": {
   "Name": "Regulation S-T",
   "Number": "232",
   "Publisher": "SEC",
   "Section": "405",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r884": {
   "Name": "Securities Act",
   "Number": "230",
   "Publisher": "SEC",
   "Section": "405",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r885": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "272",
   "URI": "https://asc.fasb.org/extlink&oid=125520817&loc=d3e70229-108054",
   "role": "http://www.xbrl.org/2003/role/recommendedDisclosureRef"
  },
  "r886": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "450",
   "URI": "https://asc.fasb.org/extlink&oid=121557415&loc=d3e14615-108349",
   "role": "http://www.xbrl.org/2003/role/recommendedDisclosureRef"
  },
  "r887": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "855",
   "URI": "https://asc.fasb.org/extlink&oid=6842918&loc=SL6314020-165662",
   "role": "http://www.xbrl.org/2003/role/recommendedDisclosureRef"
  },
  "r888": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "205",
   "URI": "https://asc.fasb.org/extlink&oid=109222650&loc=SL51721683-107760",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r889": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(10))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r89": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(1)",
   "Topic": "323",
   "URI": "https://asc.fasb.org/extlink&oid=114001798&loc=d3e33918-111571",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r890": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(3)(a)(4))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r891": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(9))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r892": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=124431353&loc=SL124442407-227067",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r893": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=124431353&loc=SL124442411-227067",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r894": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=124431353&loc=SL124452729-227067",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r895": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(b)(7)(c))",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r896": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(b)(9)(a))",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r897": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3602-108585",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r898": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(d))",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r899": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(f))",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r9": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(26)(a))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r90": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(2)",
   "Topic": "323",
   "URI": "https://asc.fasb.org/extlink&oid=114001798&loc=d3e33918-111571",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r900": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(g)(1)(ii))",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r901": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(h)(1)(Note 1))",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r902": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(k)(1))",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r903": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "23",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124436220&loc=d3e21914-107793",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r904": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "24",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124436220&loc=d3e21930-107793",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r905": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124436220&loc=d3e21711-107793",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r906": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22595-107794",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r907": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "55",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=126958026&loc=d3e2626-109256",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r908": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=124432515&loc=d3e3550-109257",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r909": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "18",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8672-108599",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r91": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(3)",
   "Topic": "323",
   "URI": "https://asc.fasb.org/extlink&oid=114001798&loc=d3e33918-111571",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r910": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "30",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8906-108599",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r911": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "321",
   "URI": "https://asc.fasb.org/extlink&oid=126980263&loc=SL75117539-209714",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r912": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "321",
   "URI": "https://asc.fasb.org/extlink&oid=126980263&loc=SL75117539-209714",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r913": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "321",
   "URI": "https://asc.fasb.org/extlink&oid=126980263&loc=SL75117539-209714",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r914": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "323",
   "URI": "https://asc.fasb.org/extlink&oid=114001798&loc=d3e33918-111571",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r915": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=121556970&loc=d3e13816-109267",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r916": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=121556970&loc=d3e13816-109267",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r917": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=121556970&loc=d3e13816-109267",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r918": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=121556970&loc=d3e13816-109267",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r919": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(e)",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=121556970&loc=d3e13816-109267",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r92": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "323",
   "URI": "https://asc.fasb.org/extlink&oid=114001798&loc=d3e33918-111571",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r920": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(f)",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=121556970&loc=d3e13816-109267",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r921": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(g)",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=121556970&loc=d3e13816-109267",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r922": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(h)",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=121556970&loc=d3e13816-109267",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r923": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=121556970&loc=d3e13816-109267",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r924": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=121556970&loc=SL108378252-109267",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r925": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=121556970&loc=d3e13854-109267",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r926": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(b)",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=66006027&loc=d3e16373-109275",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r927": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "360",
   "URI": "https://asc.fasb.org/extlink&oid=126905981&loc=d3e2443-110228",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r928": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "360",
   "URI": "https://asc.fasb.org/extlink&oid=109226691&loc=d3e2941-110230",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r929": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(c)",
   "Topic": "410",
   "URI": "https://asc.fasb.org/extlink&oid=6393242&loc=d3e13237-110859",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r93": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "323",
   "URI": "https://asc.fasb.org/extlink&oid=114001798&loc=d3e33918-111571",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r930": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "440",
   "URI": "https://asc.fasb.org/extlink&oid=123406679&loc=d3e25336-109308",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r931": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "440",
   "URI": "https://asc.fasb.org/extlink&oid=123406679&loc=d3e25336-109308",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r932": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "450",
   "URI": "https://asc.fasb.org/extlink&oid=121557415&loc=d3e14326-108349",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r933": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "450",
   "URI": "https://asc.fasb.org/extlink&oid=121557415&loc=d3e14435-108349",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r934": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "450",
   "URI": "https://asc.fasb.org/extlink&oid=121557415&loc=d3e14557-108349",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r935": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "450",
   "URI": "https://asc.fasb.org/extlink&oid=121557415&loc=d3e14557-108349",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r936": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "20",
   "Subparagraph": "(SAB Topic 5.Y.Q2)",
   "Topic": "450",
   "URI": "https://asc.fasb.org/extlink&oid=27011672&loc=d3e149879-122751",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r937": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(4)(i))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442526-122756",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r938": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(4)(ii))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442526-122756",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r939": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(4)(iii))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442526-122756",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r94": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=6388964&loc=d3e16225-109274",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r940": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(4)(iv))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442526-122756",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r941": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-02(a)(4)(iv))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442552-122756",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r942": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r943": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1E",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495348-112611",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r944": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "606",
   "URI": "https://asc.fasb.org/extlink&oid=126920106&loc=SL49130545-203045",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r945": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "91",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "606",
   "URI": "https://asc.fasb.org/extlink&oid=126920602&loc=SL49130690-203046-203046",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r946": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "705",
   "URI": "https://asc.fasb.org/topic&trid=2122478",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r947": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(1)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r948": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(2)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r949": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(3)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r95": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(a)",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=66006027&loc=d3e16265-109275",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r950": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(i)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r951": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(ii)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r952": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(iii)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r953": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(iv)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r954": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(iv)(01)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r955": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(iv)(02)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r956": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(iv)(03)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r957": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(iv)(04)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r958": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)(i)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r959": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)(ii)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r96": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(a)(3)",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=66006027&loc=d3e16265-109275",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r960": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)(iii)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r961": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)(iii)(01)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r962": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)(iii)(02)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r963": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)(iii)(03)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r964": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)(1)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r965": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)(2)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r966": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)(1)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r967": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)(2)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r968": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)(i)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r969": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)(ii)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r97": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=66006027&loc=d3e16265-109275",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r970": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)(iii)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r971": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)(iv)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r972": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)(v)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r973": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32687-109319",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r974": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32537-109319",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r975": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32621-109319",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r976": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "808",
   "URI": "https://asc.fasb.org/extlink&oid=6931272&loc=SL5834143-161434",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r977": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6A",
   "Publisher": "FASB",
   "Section": "25",
   "SubTopic": "20",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=124256753&loc=SL5864739-113975",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r978": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(e)(3)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=126732423&loc=SL123482106-238011",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r979": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)",
   "Topic": "825",
   "URI": "https://asc.fasb.org/extlink&oid=123596393&loc=d3e14064-108612",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r98": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(a)",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=66006027&loc=d3e16323-109275",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r980": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "830",
   "URI": "https://asc.fasb.org/extlink&oid=118261656&loc=d3e32211-110900",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r981": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)(3)",
   "Topic": "842",
   "URI": "https://asc.fasb.org/extlink&oid=128292326&loc=SL77918673-209980",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r982": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "842",
   "URI": "https://asc.fasb.org/extlink&oid=128292326&loc=SL77918686-209980",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r983": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "842",
   "URI": "https://asc.fasb.org/extlink&oid=128292326&loc=SL77918701-209980",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r984": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "850",
   "URI": "https://asc.fasb.org/extlink&oid=6457730&loc=d3e39603-107864",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r985": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "852",
   "URI": "https://asc.fasb.org/extlink&oid=124433192&loc=SL2890621-112765",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r986": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "852",
   "URI": "https://asc.fasb.org/extlink&oid=124433192&loc=SL2890621-112765",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r987": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)(1)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r988": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)(2)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r989": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)(3)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r99": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(a)(1)",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=66006027&loc=d3e16323-109275",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r990": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(1)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107314-111719",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r991": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(2)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107314-111719",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r992": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(3)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107314-111719",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r993": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "25",
   "SubTopic": "730",
   "Topic": "912",
   "URI": "https://asc.fasb.org/extlink&oid=6472174&loc=d3e58812-109433",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r994": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04(13)(g))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r995": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(3)(a))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r996": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4H",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "40",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=116884468&loc=SL65671331-158438",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r997": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "80",
   "Subparagraph": "(e)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=124508989&loc=d3e19393-158473",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r998": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(a)",
   "Publisher": "SEC",
   "Section": "1402",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r999": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(b)",
   "Publisher": "SEC",
   "Section": "1402",
   "Subparagraph": "(1)",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  }
 },
 "version": "2.2"
}
