As an affiliate department of Zushoryo (the Bureau of Drawings and Books) under the Ritsuryo system (a system of centralized government based on the ritsuryo code), Kamiyain manufactured paper used in the Imperial Court.
紙屋院（かみやいん）は律令制における図書寮の別所（付属機関）で朝廷で用いる紙の製造を扱った。