In other words, it refers to an enmacho (a report card on a dead person describing his/her sins and activities during his/her lives) kept by Enma Daio (the Great King Yama) of hell.
すなわち地獄の閻魔大王の手元にある閻魔帳のこと。