Buchhaltung, Personalamt und Ökonomat