In this paper I use a principal-agent framework to explore the relation between the hierarchical structure of firms and the accounting information technologies available to them. I allow the principal to choose the number of layers in the firm, the number of agents in each layer, and the...