3 4 . Commitments and contingencies Operating lease commitments for offices and fulfillment infrastructures The Group leases offices and fulfillment infrastructures under non-cancelable operating lease agreements. Future minimum lease payments under these non-cancelable operating lease agreements with initial terms longer than twelve months are disclosed as maturity of lease liabilities in Note 1 8 . Commitments for internet data center (IDC) service fee The Group entered into non-cancelable IDC service agreements. The related expenses were RMB805,656, RMB1,498,935 and RMB2,493,830 for the years ended December 31, 2017, 2018 and 2019, respectively, and were charged to the consolidated statements of operations and comprehensive income/(loss) when incurred. Future minimum payments under these non-cancelable agreements with initial terms of one year or more consist of the following: As of December 31, 2019 RMB 2020 1,495,899 2021 1,248,228 2022 1,137,632 2023 753,652 2024 637,341 2025 and t hereafter 749,163 6,021,915 Capital commitments The Groups capital commitments primarily relate to commitments on construction and purchase of office building and warehouses. Total capital commitments contracted but not yet reflected in the consolidated financial statements amounted to RMB7,093,075 as of December 31, 2019. All of these capital commitments will be fulfilled in the following years according to the construction progress. Long-term debt obligations The Groups long-term debt obligations include unsecured senior notes and long-term borrowings. The amounts exclude the corresponding interest payable. The expected repayment schedule of the unsecured senior notes and long-term borrowings have been disclosed in Note 17 and Note 33, respectively. Legal proceedings From time to time, the Group is subject to legal proceedings and claims in the ordinary course of business. Third parties assert patent infringement claims against the Group from time to time in the form of letters, lawsuits and other forms of communication. In addition, from time to time, the Group receives notification from customers claiming that they are entitled to indemnification or other obligations from the Group related to infringement claims made against them by third parties. Litigation, even if the Group is ultimately successful, can be costly and divert managements attention away from the day-to-day operations of the Group. The Group records a liability when it is both probable that a liability has been incurred and the amount of the loss can be reasonably estimated. The Group reviews the need for any such liability on a regular basis. The Group has not recorded any material liabilities in this regard as of December 31, 2017, 2018 and 2019.