The ritsuryo code in Japan was basically an imitation of the Tang's ritsuryo code, and specifications in the Tang's ritsuryo code were used for those of the kubunden system in Japan as well.
日本の律令は唐律令を焼き直したものであり、口分田の制も唐田令の規定から採用している。