According to the "Yoro-ryo" (Yoro Code), 'Kaheisho,' which provided salted food (of meat or fish), condiments such as Chinese sauce and misho (original form of miso or say sauce), fruits, rice cake products (millet and so on) and so on and dealt confectioneries and rice cakes under the jurisdiction of it, and 'Shoin' (section in charge of primitive soy sauce, sho) were established.
『養老令』によれば、醢（肉や魚を塩辛状にしたもの）、醤・未醤（みそ）などの調味料、菓（くだもの）、雑餅（雑穀などの餅製品）などを供給し、管下の組織として菓・餅類を扱う「菓餅所」と醤・未醤を扱う「醤院」が設置された。