Optimization of the reporting system and organization of accounting