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

Accounts receivable, net | 12 Months Ended
--- | ---
Dec. 31, 2022
Accounts receivable, net |
Accounts receivable, net |
4. | Accounts receivable, net
Accounts receivable, net consisted of the following: ​
​ | ​ | ​ | ​ | ​
​ | ​ | 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
​ The movement of the allowance for doubtful accounts receivables is as follows: ​
​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | 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
- 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 The entire disclosure for claims held for amounts due a entity, excluding financing receivables. Examples include, but are not limited to, trade accounts receivables, notes receivables, loans receivables. Includes disclosure for allowance for credit losses. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -URI https://asc.fasb.org/subtopic&trid=2196772 + Details
Name: | us-gaap_LoansNotesTradeAndOtherReceivablesDisclosureTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration