In millions of CNY, except per share items | Dec-31-21 | Dec-31-20 | Dec-31-19 | Dec-31-18 | Dec-31-17 | Dec-31-16 | Dec-31-15 | Dec-31-14 |
| 20-F | 20-F | 20-F | 20-F | 20-F | 20-F | 20-F | 20-F |
Cash flows from operating activities: | | | | | | | | |
Net Income (loss) | -206.0 | 426.5 | 281.9 | 269.8 | 209.1 | 85.4 | 22.6 | -59.8 |
Adjustments to reconcile net income to net cash from (used in) operating activities: | | | | | | | | |
Provision for allowance for credit losses | 105.8 | 2.7 | 9.0 | 0.2 | | | | |
Inventory write-down | 89.5 | 108.5 | 76.2 | 38.7 | 42.3 | 38.8 | 21.1 | 12.5 |
Share-based compensation | 196.5 | 108.4 | 75.2 | 75.9 | 58.2 | 34.2 | 25.2 | 85.0 |
Depreciation and amortization | 206.9 | 151.7 | 120.1 | 72.2 | 50.6 | 35.9 | 23.1 | 13.3 |
Amortization of issuance cost of convertible senior notes | 23.7 | 25.2 | 16.6 | | | | | |
Deferred income tax | -63.7 | -0.6 | -16.8 | -22.9 | -3.4 | 1.5 | -13.8 | |
Loss on disposal of property and equipment | 8.3 | 5.5 | 3.5 | 2.1 | 1.1 | 0.9 | 0.9 | 0.3 |
Gain on disposal of equity investees | -0.2 | | | | | | | |
Share of income in equity method investment | -3.3 | -5.5 | -4.8 | 1.0 | 1.3 | | 10.2 | |
Impairment loss of investments | 3.5 | 10.8 | 9.0 | 9.0 | 6.2 | | | |
Unrealized loss related to investment securities | 242.9 | | | | | | | |
Exchange loss (gain) | -14.0 | 3.1 | 10.7 | 4.9 | -0.4 | -0.3 | 0.1 | 2.7 |
Changes in operating assets and liabilities: | | | | | | | | |
Accounts receivable | -98.6 | -400.1 | -247.8 | -462.1 | -457.0 | -260.5 | -135.5 | -123.5 |
Inventories | -137.0 | -237.7 | -320.1 | -307.0 | -106.8 | -16.5 | -112.5 | -122.1 |
Advances to suppliers | -243.8 | -70.9 | -39.2 | -77.2 | -13.2 | -40.6 | 15.1 | -10.7 |
Prepayments and other current assets | 3.1 | -50.5 | -100.7 | -80.6 | -77.2 | -1.9 | -70.8 | -16.9 |
Amounts due from related parties | -19.2 | -21.6 | 12.9 | 56.5 | -50.0 | -1.2 | -22.4 | -8.0 |
Operating lease right-of-use assets | -570.8 | -84.2 | 24.5 | | | | | |
Other non-current assets | -28.7 | -10.1 | -11.0 | -12.0 | -3.1 | -1.1 | -11.4 | -1.0 |
Accounts payable | 39.3 | -450.8 | -24.4 | 302.8 | 54.5 | 65.4 | 170.5 | 126.6 |
Notes payable | 28.8 | 290.1 | 183.9 | -21.2 | -67.1 | 84.1 | 1.1 | 17.0 |
Income tax payables | -26.7 | -9.4 | 19.2 | 32.3 | 14.6 | 8.0 | 5.6 | |
Amounts due to related party | 28.8 | 38.2 | -7.2 | 14.0 | | | | |
Accrued expenses and other current liabilities | -254.6 | 392.8 | 242.5 | 5.3 | 175.1 | -19.0 | 82.5 | 16.0 |
Operating lease liabilities | 626.1 | 87.7 | -11.9 | | | | | |
Net cash provided by (used in) operating activities | -96.1 | 310.0 | 301.4 | -98.5 | -169.1 | 13.4 | 2.2 | |
|
Cash flows from investing activities: | | | | | | | | |
Purchases of property and equipment | -285.6 | -111.1 | -91.3 | -123.0 | -267.0 | -76.1 | -46.5 | -19.8 |
Purchases of investment securities | -324.5 | | | | | | | |
Purchases of short-term investments | -954.9 | -1,977.8 | -1,532.0 | | -272.6 | | -50.0 | |
Maturity of short-term investments | 2,388.4 | 1,541.5 | 766.0 | 256.1 | | | | |
Purchase of long-term time deposits | | | -211.6 | | | | | |
Additions of intangible assets | -67.2 | -47.5 | -61.6 | -85.7 | -36.4 | -16.1 | -12.0 | -9.3 |
Investment in equity investees | -163.2 | -21.3 | -16.5 | -17.4 | | | -10.6 | |
Net cash received (paid) for business combination | -208.4 | -0.1 | 13.6 | | -17.0 | | | |
Loan to a related party | -8.8 | | | | | | | |
Net cash (used in) provided by investing activities | 375.8 | -616.4 | -1,133.5 | 37.6 | -639.2 | -116.7 | -126.9 | |
|
Cash flows from financing activities: | | | | | | | | |
Proceeds from issuance of ordinary shares upon public offering in Hong Kong | | 3,127.3 | | | | 253.7 | 784.4 | 0.0 |
Payment for public offering costs | -11.1 | -31.7 | | | -8.6 | -15.6 | -77.3 | -2.1 |
Proceeds from short-term borrowings | 548.5 | 235.4 | 916.6 | 780.1 | 329.4 | | | 160.0 |
Repayment of short-term borrowings | | -663.9 | -924.3 | -515.9 | -157.4 | | | -160.0 |
Repayment of long-term borrowings | | | -69.4 | | | | | |
Repurchase of ordinary shares | -1,060.4 | | | | | -45.3 | -14.0 | |
Proceeds from sale of a subsidiary's equity interest to Cainiao | 1,290.8 | | 4.5 | | | | | |
Proceeds from exercises of stock options | 0.1 | 0.4 | 1.7 | 3.7 | 4.3 | 3.9 | 0.2 | |
Proceeds from issuance of convertible senior notes, net of issuance cost paid | | -0.7 | 1,847.8 | | | | | |
Proceeds from ADS lending | | | 0.0 | | | | | |
Acquisition of non-controlling interests of subsidiaries | -18.0 | | | | | | | |
Net cash provided by financing activities | 750.0 | 2,666.8 | 1,776.9 | 331.2 | 167.7 | 210.7 | 687.7 | |
Net increase in cash, cash equivalents and restricted cash | 1,029.7 | 2,360.5 | 944.8 | 270.3 | | | | |
Effect of exchange rate changes on cash, cash equivalents and restricted cash | -60.9 | -156.3 | -0.9 | 18.9 | -34.0 | 25.3 | | |
|
Cash and cash equivalents | | | | | | | | |
Restricted cash | | | | | | | | |
|
Supplemental disclosure of cash flow information: | | | | | | | | |
Cash paid for interest | 29.8 | 38.7 | 37.6 | 13.0 | 3.1 | | | 1.6 |
Cash paid for income tax | 145.6 | 137.7 | 68.7 | 55.6 | 43.0 | 7.3 | 2.2 | 0.0 |
Supplemental disclosures of non-cash investing and financing activities: | | | | | | | | |
Unpaid convertible senior notes offering costs | | | 0.7 | | | | | |
Unpaid Hong Kong public offering costs | | 11.1 | | | | | | |
Purchases of property and equipment included in payables | 40.6 | 6.5 | 0.1 | 2.5 | | | | |