As of March 31, 2024, we had a total of RMB256.0 billion (US$35.5 billion) in cash and cash equivalents, restricted cash and short-term investments and time deposits or wealth management products with maturities more than one year recorded in marketable securities and investments. This included primarily RMB157.4 billion (US$21.8 billion), HK$3.0 million (US$0.4 million) and US$0.1 billion in Chinese mainland, RMB3.0 billion (US$0.4 billion) and US$9.4 billion in Hong Kong. Our cash and cash equivalents generally consist of cash on hand, time deposits and liquid investments with maturities of three months or less.
Taking into account cash and cash equivalents on hand, our operating cash flows, and the available bank facilities, we believe that we have sufficient working capital for our present requirements and for at least the next 12 months from the date of this offering memorandum. We may, however, need additional cash resources in the future if we experience changes in business conditions or other developments. We may also need additional cash resources in the future if we find and wish to pursue opportunities for investment, acquisition, capital expenditure or similar actions. If we determine that our cash requirements exceed the amount of cash and cash equivalents we have on hand, we may seek to issue debt or equity securities or obtain additional credit facilities.
Our net inventories amounted to RMB75.6 billion, RMB77.9 billion, RMB68.1 billion (US$9.6 billion) and RMB68.0 billion (US$9.4 billion), as of December 31, 2021, 2022 and 2023 and March 31, 2024, respectively. Our annual inventory turnover days were 30.3 days in 2021, 33.2 days in 2022, and 30.3 days in 2023. Annual inventory turnover days are the quotient of average inventory over the immediately preceding five quarters, up to and including the last quarter of the annual period, to cost of revenues of retail business for that annual period, and then multiplied by 360 days. For the three months ended March 31, 2024, our trailing-twelve-month, or TTM, inventory turnover days were 29.0 days. TTM inventory turnover days are the quotient of average inventory over the immediately preceding five quarters, up to and including the last quarter of the period, to cost of revenues of retail business for the last twelve months, and then multiplied by 360 days. Our inventory balances will fluctuate over time due to a number of factors, including expansion in our product selection and changes in our product mix. Our inventory balances typically increase when we prepare for special promotion events, such as the anniversary of the founding of our company on June 18 and China’s online shopping festival on November 11.
Our accounts payable primarily include accounts payable to suppliers associated with our retail business. As of December 31, 2021, 2022 and 2023 and March 31, 2024, our accounts payable amounted to RMB140.5 billion, RMB160.6 billion, RMB166.2 billion (US$23.4 billion) and RMB146.8 billion (US$20.3 billion), respectively. Our annual accounts payable turnover days for retail business were 45.3 days in 2021, 52.5 days in 2022, and 53.2 days in 2023. Annual accounts payable turnover days are the quotient of average accounts payable for retail business over the immediately preceding five quarters, up to and including the last quarter of the annual period to cost of revenues of retail business for that annual period, and then multiplied by 360 days. For the three months ended March 31, 2024, our TTM accounts payable turnover days for retail business were 51.8 days. TTM accounts payable turnover days are the quotient of average accounts payable for retail business over the immediately preceding five quarters, up to and including the last quarter of the period, to cost of revenues of retail business for the last twelve months, and then multiplied by 360 days.
Our accounts receivable primarily include amounts due from customers and online payment channels. As of December 31, 2021, 2022 and 2023 and March 31, 2024, our accounts receivable amounted to RMB11.9 billion, RMB20.6 billion, RMB20.3 billion (US$2.9 billion) and RMB17.5 billion (US$2.4 billion), respectively. JD Technology provides consumer financing to our customers. As of December 31, 2021, 2022 and 2023 and March 31, 2024, the balances of current portion of financing provided to our customers that were included in accounts receivable balances amounted to RMB2.5 billion, RMB3.1 billion, RMB2.3 billion (US$0.3 billion) and RMB1.2 billion (US$0.2 billion), respectively. Our annual accounts receivable turnover days excluding the impact from consumer financing were 2.9 days in 2021, 4.5 days in 2022, and 5.6 days in 2023. Annual accounts receivable turnover days are the quotient of average accounts receivable over the immediately preceding five quarters, up to and including the last quarter of the annual period, to total net revenues for that annual period and then multiplied by 360 days. For the three months ended March 31, 2024, our TTM accounts receivable turnover days excluding the impact from consumer financing were 5.4 days. TTM accounts receivable turnover days are the quotient of average accounts receivable over the immediately preceding five quarters, up to and including the last quarter of the period, to total net revenues for the last twelve months and then multiplied by 360 days.
9