"December (Barn Jesus i en krybbe lå)" [Danish title] is number 1779 in the Hans Christian Andersen Center's register of Andersen's literary works, i.e. no. 279 in the category poems (the range 1501 - 2900).
"December (Barn Jesus i en krybbe lå)" [Danish title] was first published 18 December 1832.
In modern Danish on p. 276 in Johan de Mylius (editor): H.C. Andersen. Samlede digte ('Collected poems', Copenhagen, 2000).