Our accounts payable mainly include trade payables for products purchased from suppliers and payables to third-party sellers on our Marketplace. As of September 30, 2020 and 2019, our accounts payable amounted toP24,792 million andP14,534 million, respectively. As of December 31, 2019 and 2018, our accounts payable amounted toP21,242 million andP12,509 million, respectively. These changes reflect significant growth in the scale of our business and seasonality of our operating cycle.
Our inventories mainly include merchandise held for resale, adjusted for write-downs and losses of inventories. As of September 30, 2020 and 2019, we hadP11,265 million andP8,553 million of inventories, respectively. As of December 31, 2019 and 2018, we hadP10,774 million andP6,339 million of inventories, respectively. These changes are attributable to recent growth in our Direct Sales business.
Cash Flows
The following table summarizes our cash flows for the nine months ended September 30, 2020 and 2019 and the years ended December 31, 2019 and 2018:
| | | | | | | | | | | | | | | | |
(P in millions) | | For the nine months ended September 30, | | | For the year ended December 31, | |
| | 2020 | | | 2019 | | | 2019 | | | 2018 | |
Net cash used in operating activities | | | (4,074 | ) | | | (11,590 | ) | | | (14,312 | ) | | | (3,599 | ) |
Net cash used in investing activities | | | (4,614 | ) | | | (2,949 | ) | | | (4,539 | ) | | | (2,863 | ) |
Net cash generated from financing activities | | | 10,721 | | | | 14,346 | | | | 19,335 | | | | 5,270 | |
Net cash used in operating activities
During the nine months ended September 30, 2020, we usedP4,074 million in our operating activities, compared toP11,590 million during the nine months ended September 30, 2019, primarily due to an improvement in all line items across in our working capital. In particular, during the nine months ended September 30, 2020, we had faster inventory turnover and an increase in buyer advances led by our revenue growth.
During the year ended December 31, 2019, we usedP14,312 million in our operating activities, compared toP3,599 million during the year ended December 31, 2018, mainly due to an increase in operating loss excluding non-cash charges and net negative working capital movements.
Net cash used in investing activities
During the nine months ended September 30, 2020, we usedP4,614 million in our investing activities, compared toP2,949 million during the nine months ended September 30, 2019, primarily due to an increase in our capital expenditures, as we continued to invest in our fulfillment and delivery infrastructure, as we launched fulfillment centers in Rostov-on-Don, Saint Petersburg, Kazan and Novosibirsk in the nine months ended September 30, 2020.
During the year ended December 31, 2019, we usedP4,539 million in our investing activities, compared toP2,863 million during the year ended December 31, 2018, mainly due to an increase in our capital expenditures, in particular, purchasing additional warehouse equipment, as we launched our new fulfillment center in the Moscow region in 2019.
Net cash generated by financing activities
During the nine months ended September 30, 2020, we generatedP10,721 million from our financing activities, compared toP14,346 million during the nine months ended September 30, 2019. During the nine months ended September 30, 2020, we receivedP6,171 million in convertible loans from our shareholders andP6,418 million in bank loans and under equipment financing programs, compared to the nine months ended September 30, 2019, when we mainly received financing from the proceeds of a convertible loan issuance.
97