Kokki (国記), alternatively known as Kuni tsu Fumi meaning "National Record", is a Japanese historical text purported to have been written in 620 by Shōtoku Taishi and Soga no Umako.
Assuming that it did in fact exist, it would predate both the Kojiki (712) and the Nihon Shoki (720).
According to the Nihon Shoki, On this year, Hitsugi no Miko and Shima no Ōomi worked together on Tennōki and Kokki, composing the true history of the various court nobles.
Fune no Fubitoesaka quickly grabbed the burning Kokki and presented it to Naka no Ōe.
On November 13, 2005, the remains of Soga no Iruka's residence were discovered in Nara, supporting the description found in Nihon Shoki.