End-to-end payroll processing and optimized salary structuring