A company ships a product in December but receives payment in January. Under accrual accounting, when is revenue recorded?