The Qidan guo zhi 契丹國志 "Records of the Khitan empire" is an inofficial history of the Liao dynasty 遼 (907-1125) and its founding people, the Khitans. The 27 juan "scrolls" long book is attributed to Ye Longli 葉隆禮 (jinshi degree 1247). Modern editions of the Qidan guo zhi include a memorial to the throne indicating that the book was submitted to the throne in 1180, which must be an error (Chunxi reign 淳熙 instead of Xianchun reign 咸淳). The book originates from documents preserved at the court of the Song dynasty 宋 (960-1279) in the south, it is thus a compilation by a "foreign" dynasty and not a history of the Liao dynasty written by Liao subjects. The official history of the Liao dynasty, the Liaoshi 遼史, was mainly based on the veritable records of the Liao dynasty kept in the imperial archives, while the Qidan guo zhi was based on other primary sources. The book is therefore worth using when studying the Liao period. The Qidan guo zhi includes a concise report on the origins and the history of the Khitans (Qidan guo chuxing benmo 契丹國初興本末), a time table of the nine emperors of the Liao dynasty (Qidan guo jiuzhu nianpu 契丹國九主年譜), and tables on the occupation of the most important Khitan and Chinese posts in the dual administration of the Liao government (Fanjiang chushou zhiming 蕃將除授職名 and Hanguan chushou zhiming 漢官除授職名). Although the Qidan guo zhi does not exclusively rely on the official veritable records, it includes some important archival documents, like the declaration of the submission of the Later Jin dynasty 後晉 (936-946, Shi-Jin jiang biao 石晉降表), the treaty of Chanyuan (Chanyuan shi shu 澶淵誓書), the treaty of Guannan (Guannan shi shu 關南誓書), and treatises on the border between the Liao and the Song empires (Yige dijie 議割地界). It also includes lists of the tributes the Song dynasty and other rulers presented to the Liao court, as well as information on the four capitals and the local administration, the customs and habits of the Khitans, and statements about the embassies of the Song court to the Liao.
The most important editions of the Qidan guo zhi are those of the Cheng'en Hall 承恩堂, the Saoye shanfang Studio 掃葉山房 and the series Guoxue wenku 國學文庫. In 1985 the Shanghai guji press 上海古籍出版社 published a puncutated edition, based on a Yuan period 元 (1279-1368) print.
There is a translation into German based on the Manchurian translation, H. Conon von der Gabelentz (1877), Geschichte der großen Liao aus dem Mandschu übersetzt, St. Petersburg: Kaiserliche Akademie der Wissenschaften.
Chen Shu 陳述 (1992). "Qidan guo zhi 契丹國志", in: Zhongguo da baike quanshu 中國大百科全書, Zhongguo lishi 中國歷史, vol. 2, p. 768. Beijing/Shanghai: Zhongguo da baike quanshu chubanshe.
Li Xueqin 李學勤, Lü Wenyu 呂文鬰 (1996). Siku da cidian 四庫大辭典, vol. 1, p. 935. Changchun: Jilin daxue chubanshe.