XML 86 R51.htm IDEA: XBRL DOCUMENT
v3.23.1

Revenue (Tables) | 12 Months Ended
--- | ---
Dec. 31, 2022
Revenue |
Schedule of revenues | ​
​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | Year Ended December 31,
​ |  | 2020 |  | 2021 |  | 2022
Vehicle sales |  | 15,182,522 | ​ | 33,169,740 | ​ | 45,506,581
Sales of packages and provision of power solution | ​ | 244,072 | ​ | 526,171 | ​ | 857,912
Sales of charging piles | ​ | 229,781 | ​ | 319,386 | ​ | 405,246
Sales of automotive regulatory credits |  | 120,648 | ​ | 516,549 | ​ | 67,291
Battery upgrade service |  | 5,346 | ​ | 291,218 | ​ | 64,123
Others |  | 475,564 | ​ | 1,313,359 | ​ | 2,367,408
Total |  | 16,257,933 | ​ | 36,136,423 | ​ | 49,268,561
​

X
- References No definition available. + Details
Name: | us-gaap_DisaggregationOfRevenueAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of disaggregation of revenue into categories depicting how nature, amount, timing, and uncertainty of revenue and cash flows are affected by economic factor. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 606 -SubTopic 10 -Section 50 -Paragraph 5 -URI https://asc.fasb.org/extlink&oid=126920106&loc=SL49130545-203045 + Details
Name: | us-gaap_DisaggregationOfRevenueTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration