新唐書
The 1050 CE "Xin Tang Shu" 新唐書 "New Book of Tang", which has a "Riben" 日本 heading for Japan under the "Eastern Barbarians", gives more details.