XML 64 R43.htm IDEA: XBRL DOCUMENT
v3.23.1

Accounts receivable, net (Tables) | 12 Months Ended
--- | ---
Dec. 31, 2022
Accounts receivable, net |
Schedule of accounts receivable, net | ​
​ | ​ | ​ | ​ | ​
​ | ​ | As of December 31,
​ |  | 2021 |  | 2022
​ | ​ | RMB | ​ | RMB
Accounts receivable – third parties |  | 184,546 | ​ | 422,743
Less: Allowance for doubtful accounts, third parties |  | — |  | (4,521)
Accounts receivable – third parties, net |  | 184,546 |  | 418,222
​
​ | ​ | ​ | ​ | ​
Accounts receivable – related parties |  | 768,747 |  | 485,358
Less: Allowance for doubtful accounts |  | — |  | (2,366)
Accounts receivable – related parties, net |  | 768,747 |  | 482,992
​
Schedule of movement of the allowance for doubtful accounts of accounts receivables due from related parties | ​
​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | As of December 31,
​ |  | 2020 |  | 2021 |  | 2022
​ | ​ | RMB | ​ | RMB | ​ | RMB
Balance at the beginning of the year |  | — | ​ | — |  | —
Additions |  | 360 | ​ | — |  | 6,887
Write-off |  | (360) | ​ | — |  | —
Balance at the end of the year |  | — | ​ | — |  | 6,887

X
- Definition Tabular disclosure of allowance for credit loss on accounts receivable. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 50 -Paragraph 13 -URI https://asc.fasb.org/extlink&oid=124255953&loc=SL82919249-210447 + Details
Name: | us-gaap_AccountsReceivableAllowanceForCreditLossTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

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

X
- Definition Tabular disclosure of the various 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. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.3,4) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration