XML 71 R42.htm IDEA: XBRL DOCUMENT
v3.21.1

CONTRACT BALANCES (Tables) | 12 Months Ended
--- | ---
Dec. 31, 2020
CONTRACT BALANCES |
Schedule of accounts receivable, net | ​
​ | ​ | ​ | ​ | ​
​ | ​ | As of December 31,
​ |  | 2019 |  | 2020
​ | ​ | ​ | ​ | ​
Accounts receivable |  | 881,177 |  | 1,482,498
Less: allowance for doubtful accounts |  | (133) |  | (2,163)
Accounts receivable, net |  | 881,044 |  | 1,480,335
​ | ​ | ​ | ​ | ​
Including: | ​ | ​ | ​ | ​
- Current portion | ​ | 879,962 | ​ | 1,480,335
- Non-current portion | ​ | 1,082 | ​ | —
​
Schedule of allowance for doubtful accounts | ​
​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | Years ended December 31,
​ |  | 2018 |  | 2019 |  | 2020
​ | ​ | ​ | ​ | ​ | ​ | ​
Balance at the beginning of the year |  | — |  | 241 | ​ | 133
Allowance made during the year |  | 241 |  | 274 | ​ | 2,032
Write-off during the year | ​ | — | ​ | (382) | ​ | —
Foreign exchange impact | ​ | — | ​ | — | ​ | (2)
Balance at the end of the year |  | 241 |  | 133 | ​ | 2,163
​
Schedule of deferred revenue | ​
​ | ​ | ​
​ |  | Deferred revenue
​ | ​ | ​
Beginning balance as of January 1, 2020 |  | 105,735
Increase |  | 5,804
​ | ​ | ​
Closing balance as of December 31, 2020 |  | 111,539
​

X
- Definition Tabular disclosure of allowance for credit loss on financing receivable. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 50 -Paragraph 11B -URI http://asc.fasb.org/extlink&oid=121611835&loc=SL6953423-111524 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 50 -Paragraph 13 -URI http://asc.fasb.org/extlink&oid=121599337&loc=SL82919249-210447 + Details
Name: | us-gaap_AllowanceForCreditLossesOnFinancingReceivablesTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration

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

X
- Definition Tabular disclosure of receivable, contract asset, and contract liability from contract with customer. Includes, but is not limited to, change in contract asset and contract liability. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 606 -SubTopic 10 -Section 50 -Paragraph 10 -URI http://asc.fasb.org/extlink&oid=121604090&loc=SL49130551-203045 + Details
Name: | us-gaap_ContractWithCustomerAssetAndLiabilityTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
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 http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration