Therefore, although the original texts of the Ritsuryo were dispersed and lost early on, the ritsu penal code was recorded in the commentary "Tanglu Shuyi" written by Linfu LI and others, and the ryo administrative code was recorded in "Torei Shui" written by Noboru NIIDA, a Japanese historian of Chinese legal history, in 1933 by collating missing writing from Japanese and Chinese classical books.
よって、律令の本文は早くに散逸したが、律については李林甫らによる注釈書『唐律疏義』が残り、令については、1933年、日本の中国法制史学者である仁井田陞が、和漢の典籍より逸文を輯逸し、『唐令拾遺』を著している。