A company sold merchandise of $2,000 to a customer on December 12, 2009. The company's sales terms require the customer to pay the company by January 28, 2010. The company's income statement reported the sale in December 2009. This is proper under which accounting principle?