Dunjia fuying jing 遁甲符應經, also called Dunjia yuhan fuying jing 遁甲玉函符應經, is a book on divination written during the Song period 宋 (960-1279) by Yang Weide 楊維德. His official biography among the magicians (Fangji zhuan 方技傳) in the dynastic history Songshi 宋史 says that he was also familiar with the armillary sphere (hunyi 渾儀).
His book of 3 juan, however, is not included in the bibliographical chapter of the Songshi, but it is listed, with a length indication of 3 juan, in the Tongzhi 通志 and Qian Zunwang's 錢遵王 (1629-1701) book catalogue Shugutang shumu 述古堂書目. In Ma Duanlin's 馬端臨 (1254-c. 1324) Wenxian tongkao 文獻通考, the length is given as 2 juan.
The book discusses the application of the dunjia 遁甲 prognostication method (see Dunjia yanyi 遁甲演義) in military movements, including advancing and avoiding danger. It addresses all matters of fortune and misfortune with precise methods and detailed analysis. It is indispensable for practitioners of the Five Agents (wuxing 五行) tradition. The descriptive catalogue Siku quanshu zongmu tiyao 四庫全書總目提要 says, the text was transcribed directly from an old manuscript introduced by an imperial preface by Emperor Renzong 宋仁宗 (r. 1022-1063) of the Song dynasty. At the end, there is a preface by Wang Xun 王巽, an official of the Directorate of Astronomy (qintianjian 欽天監) during the Yongle reign-period 永樂 (1403-1424) of the Ming era 明 (1368-1644).