XML 32 R12.htm IDEA: XBRL DOCUMENT
v3.24.1.u1

Accounts receivable, net | 12 Months Ended
--- | ---
Dec. 31, 2023
Accounts receivable, net |
Accounts receivable, net | 5. Accounts receivable, net Accounts receivable consist of the following: ​
​ | ​ | ​ | ​ | ​
​ |  | As of
​ | ​ | December 31,
​ | ​ | 2022 |  | 2023
​ | ​ | RMB | ​ | RMB
Accounts receivable |  | 3,164,023 |  | 3,746,826
Allowance for credit losses |  | (96,959) |  | (107,032)
Accounts receivable, net |  | 3,067,064 |  | 3,639,794
​ The movements in the allowance for credit losses are as follows: ​
​ | ​ | ​ | ​ | ​
​ |  | Year ended
​ | ​ | December 31,
​ | ​ | 2022 |  | 2023
​ | ​ | RMB | ​ | RMB
Balance at the beginning of the year |  | 85,115 |  | 96,959
Additions |  | 28,006 |  | 12,388
Write-off |  | (16,162) |  | (2,683)
Recovery of write-off | ​ | — | ​ | 368
Balance at the end of the year |  | 96,959 |  | 107,032
​

X
- Definition The entire disclosure for accounts receivable, contract receivable, receivable held-for-sale, and nontrade receivable. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 310 -Name Accounting Standards Codification -Publisher FASB -URI https://asc.fasb.org//310/tableOfContent Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -Name Accounting Standards Codification -Publisher FASB -URI https://asc.fasb.org//326/tableOfContent + Details
Name: | us-gaap_AccountsAndNontradeReceivableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

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