Operating Activities
Net cash provided by operating activities was RMB 178,085,000 for the six months ended June 30, 2019. Our net cash provided by operating activities in the first half of 2019 reflected a net loss of RMB 120,868,000, as adjusted by (i) the add back of non-cash items mainly consisting of share-based compensation expenses of RMB 20,872,000, depreciation and amortization expenses of RMB 168,853,000, impairment of trade receivables of RMB 3,216,000, and finance costs of RMB 69,420,000. The RMB 45,803,000 change in operating assets and liabilities, net of additions and disposals mainly arises from an increase in trade payables, contract liabilities, accrued expenses and other current liabilities of RMB 81,067,000, a decrease in restricted cash of RMB 1,957,000, and an increase in trade receivables, prepayments and other current assets of RMB 41,310,000, a decrease in amounts due from related parties of RMB 3,866,000.
Net cash provided by operating activities was RMB 130,980,000 for the year ended December 31, 2018. Our net cash provided by operating activities in 2018 reflected a net loss of RMB 154,046,000, as adjusted by (i) the add back of non-cash items mainly consisting of share-based compensation expenses of RMB 18,418,000, depreciation and amortization expenses of RMB 138,639,000, impairment of trade receivables of RMB 16,329,000, and foreign exchange losses of RMB 34,190,000, and (ii) partially offset by gain reclassified from comprehensive income on liquidation of a foreign operation of RMB 26,429,000. The RMB 111,212,000 change in operating assets and liabilities, net of additions and disposals mainly arises from an increase in trade payables, contract liabilities, accrued expenses and other current liabilities of RMB137,433,000, an increase in amounts due to related parties of RMB 1,841,000, and a decrease in restricted cash of RMB 1,717,000, partially offset by an increase in inventories of RMB 17,489,000, an increase in trade receivables, prepayments and other current assets of RMB 7,529,000, an increase in amounts due from related parties of RMB 3,742,000 and changes in other non-current assets and liabilities of RMB 1,019,000.
Net cash provided by operating activities was RMB 191,220,000 for the year ended December 31, 2017. Our net cash provided by operating activities in 2017 reflected a net income of RMB 1,591,000, adjusted by (i) the add back of non-cash items mainly consisting of share-based compensation expenses of RMB 22,850,000, depreciation and amortization expenses of RMB 115,908,000, and impairment of trade receivables of RMB 16,571,000, and (ii) partially offset by foreign exchange gains of RMB 12,856,000, and gain on disposal of an associate of RMB 29,618,000. The RMB 72,013,000 change in operating assets and liabilities, net of additions and disposals mainly arises from an increase in trade payables, contract liabilities, accrued expenses and other current liabilities of RMB115,880,000, a decrease in amounts due from related parties of RMB 6,580,000, a decrease in restricted cash of RMB 10,280,000, and changes in other non-current assets and liabilities of RMB 8,236,000, partially offset by an increase in inventories of RMB 9,595,000, an increase in trade receivables, prepayments and other current assets of RMB 53,251,000, and a decrease in amounts due to related parties of RMB 6,117,000.
Net cash provided by operating activities was RMB 211,106,000 for the year ended December 31, 2016. Our net cash provided by operating activities in 2016 reflected a net loss of RMB 2,227,000, adjusted by (i) the add back of non-cash items mainly consisting of share-based compensation expenses of RMB 33,286,000, depreciation and amortization expenses of RMB 111,830,000, impairment of trade receivables of RMB 28,031,000, and foreign exchange losses of RMB 20,193,000. The RMB 2,486,000 change in operating assets and liabilities, net of additions and disposals mainly arises from an increase in trade payables, contract liabilities, accrued expenses and other current liabilities of RMB 84,683,000, a decrease in restricted cash of RMB 7,306,000, and changes in other non-current assets and liabilities of RMB 1,348,000, partially offset by an increase in inventories of RMB 3,347,000, an increase in trade receivables, prepayments and other current assets of RMB 81,972,000, and a decrease in amounts due to related parties of RMB 5,654,000.
Investing Activities
Cash used in investing activities during the six months ended June 30, 2019 was RMB 179,916,000, and was primarily attributable to capital expenditures of RMB 179,916,000 in connection with the purchase of equipment and software licenses, as well as development of UFH’s existing facilities and expansion of new facilities mainly in Shanghai and Guangzhou.