ended December 31, 2022. The change from a cash inflow to a cash outflow is primarily due to an increase of $88,354 in third party trade receivables resulting from higher sales volumes, product mix and market mix, as well as an increase of related party trade receivables and accrued income from Volvo Cars of $104,845.
In 2022, change in inventory was a negative $226,638, as an effect of build-up in inventory following a general ramp up in business and a readiness to deliver on orders in 2023.
Cash provided by changes in interest paid increased by $55,566 from $12,564 for the year ended December 31, 2021, to $68,130 for the year ended December 31, 2022. The change is primarily due to $25,449 and $36,480 in interest paid to credit institutions related to working capital loans and Volvo Cars on past due payables, respectively.
Compared to 2021 cash-flow from changes in trade payables, accrued expenses, and other liabilities decreased by $466,875 from $519,676 for the year ended December 31, 2021 to $52,801 for the year ended December 31, 2022, primarily due to higher repayments of trade payables with Volvo Cars during the year ended December 31, 2022.
Cash used for operating activities decreased from $57,050 for the year ended December 31, 2020 to $312,156 for the year ended December 31, 2021. The change was primarily the result of Polestar fulfilling its provisions related to warranties, employee benefits, and other provisions, increased prepaid expenses, and higher levels of inventory due to market expansion, partially offset by higher collections of trade receivables from related parties.
Cash used for investing activities
Cash used for investing activities increased by $586,301, from $129,672 for the year ended December 31, 2021 to $715,973 for the year ended December 31, 2022. The change was primarily the result of significantly more cash settlements with Volvo Cars and Geely for prior period investments in intellectual property related to the Polestar 2, Polestar 3 and Polestar 4. Polestar also made an investment of $2,500 in the fast-charging battery technology innovator, StoreDot, during the year ended December 31, 2022.
Cash used for investing activities decreased from $243,707 for the year ended December 31, 2020 to $129,672 for the year ended December 31, 2021. The change was primarily the result of a decrease in cash payments for investments in property, plant and equipment and lower cash payments for intangible assets in accordance with the terms of agreements with Volvo Cars.
Cash provided by financing activities
Cash provided by financing activities increased by $1,173,457, from $909,572 for the year ended December 31, 2021 to $2,083,029 for the year ended December 31, 2022. The change was primarily the result of (1) the merger with GGI that occurred on June 23, 2022 resulting in total cash received in the transaction of $1,417,973 and (2) increased liquidity provided by eight short-term working capital facilities secured by Polestar during the year ended December 31, 2022. The merger with GGI and related arrangements provided Polestar with gross cash proceeds of $1,417,973, of which $588,826 was provided by Volvo Cars, $250,000 was provided by PIPE investors, and $638,197 was provided by transfer from GGI to the group at close, less transaction costs of $59,050. Polestar’s borrowings provided $2,149,799 in gross cash proceeds during the period, of which $1,018,517 was sourced from seven short-term working capital facilities with Chinese banking partners, $966,903 was sourced from a green trade revolving credit facility with a syndicate of European banks, and $160,976 was sourced from multiple low-value floorplan and sale-leaseback facilities, including a small credit facility with Volvo Cars. These gross cash proceeds were partially offset by principal repayments of $1,426,935 during the period, of which $600,722 was used to settle three short-term working capital facilities with Chinese banking partners, $669,582 was used to settle amounts due on the green trade revolving credit facility, and $152,559 was used to settle amounts due on the low-value floorplan and sale-leaseback facilities, including the credit facility with Volvo Cars.
119