How To Post Salary Vouchers From HRMS To ERP By Cost Centre
Use this guide when finance needs salary expenses and deductions allocated to departments, depots, territories, or other cost centres without entering the payroll accounting voucher manually.
The employee's Integration Key determines the debit and credit ledgers for payroll components. Cost-centre posting uses the employee's assigned Cost Center and the cost-centre requirements of those ledgers.
Approving payroll makes it eligible for Voucher Posting; approval does not itself create the accounting voucher. Complete the posting steps after reviewing and approving payroll.
Before You Start
- Complete and approve payroll for the required salary month and year.
- Confirm that the required ERP ledgers and cost centres exist.
- Assign a Cost Center and an Integration Key to each employee you intend to post.
- Confirm which ledgers require cost-centre allocation.
- Have access to Voucher Posting and permission to create accounting vouchers.
- Agree the voucher date, voucher type, business area, and posting format with finance.
If a territory is used as a cost centre, maintain it as a Cost Center and assign it to the relevant employees. Employees sharing a cost centre contribute to that centre's total; separate allocations per employee require the corresponding cost-centre setup.
1. Configure The Integration Key
Open HRMS > Settings > Integration Key.
- Create a key or review one that matches the employees' accounting treatment.
- Enter Integration Key ID, Description, and Effective Date.
- Review Integration Key Details, which contains Component Name, Component Type, Credit Ledger Name, and Debit Ledger Name.
- Select the debit and credit ledgers for every component that must be posted, using the treatment agreed by finance.
- Check that all required components are covered and save.
Use Fetch from CTC or Fetch from Int. Key to prepare component rows from an existing setup where appropriate. Review every resulting ledger selection before saving.
Check Salary And Statutory Components
| Component or amount | What to verify |
|---|---|
| Salary earnings | Required earning components map to the intended salary expense and offset ledgers. |
| Employee PF and ESIC | Deduction components map to the intended deduction or payable ledgers. |
| Employer PF and ESIC | Employer contribution components are covered separately where used in payroll. |
| Professional Tax | The ledger mapping matches the required treatment, even if finance does not require cost-centre allocation. |
| Salary TDS / Income Tax | The payroll tax component maps to the intended tax payable ledger. |
| Net salary / Salary Payable | The mapping produces the expected salary liability without duplicating earnings or deductions. |
These are checks, not a fixed journal-entry template. Do not map an aggregate amount and its underlying components in a way that counts the same amount twice.
For each ledger that needs allocation, confirm its Cost Centres Required setting in ERP. An employee's cost centre alone does not make every ledger cost-centre-wise. For example, salary and PF may need territory allocation while Professional Tax does not; review the individual ledger settings.
See Integration Key settings and Cost Centres And Branches.
2. Assign The Key And Cost Centre To Employees
Open HRMS > Employee > Assign Integration Key.
- Select the employee scope and load the employee list.
- Review existing assignments.
- Select the required Integration Key for each employee being changed.
- Select the employee rows and save the assignments.
Review the employee's Cost Center in Employee Details as well. The key selects the ledger mapping; the cost centre selects the allocation. Assigning one does not replace the other.
Use different keys when employees need different ledger mappings. Employees can share a key when their accounting treatment is the same, even if their cost centres differ.
See Assign Integration Key and Employee Details.
3. Generate, Review, And Approve Payroll
Open HRMS > Payroll > Generate Payroll and process the required period.
Review earnings, deductions, employer contributions, and net salary before approving through Approve / Reject Payroll. Voucher Posting lists approved or disbursed payroll that has not already been linked to an accounting voucher.
If you change an Integration Key or employee cost centre before posting, reload the posting list and review the preview again.
See Generate Payroll and Approve / Reject Payroll.
4. Select Payroll For Posting
Open HRMS > Payroll > Voucher Posting.
- Select Salary Month and Salary Year.
- Confirm Voucher Date, Voucher Type, and Business Area. The date initially follows the selected salary month's end; check it before proceeding.
- Use payroll group, location, department, Integration Key, cost centre, and employee type filters to limit the run.
- Click Go.
- Review employee code, name, location, cost centre, Integration Key, earnings, deductions, net salary, other amount, and CTC.
- Select the employees to post and click Execute to open the voucher preview.
A missing Integration Key must be assigned before proceeding. For the first run, use a small representative group whose payroll totals finance has already checked.
5. Review And Choose The Posting Format
The preview shows Account ID, Account Name, Amount, and Cr/Dr, with Total Cr and Total Dr. Confirm that the ledger totals agree with the selected payroll and that debits and credits balance.
Cost-centre actions appear when cost-centre functionality is enabled for the company.
| Posting action | Use it when |
|---|---|
| Post Voucher | You need standard payroll posting without the cost-centre allocation process. |
| Post Voucher With Cost Center | You need one voucher with allocations for ledgers that require cost centres. |
| Cost Center Wise Separate Vouchers | You need separate vouchers for the selected cost centres. |
| Cost Center, PayGrp & EmpType | You need the supported posting grouped by cost centre, payroll group, and employee type. |
For one salary voucher with territory-wise allocations, use Post Voucher With Cost Center. Use Cost Center Wise Separate Vouchers when finance needs a separate voucher per cost centre.
If manual numbering is enabled for the voucher type, enter the requested voucher number or numbers. Separate cost-centre vouchers can require multiple numbers.
Complete the selected action and check its result message. If an error occurs, check whether any voucher was created before repeating the run.
6. Reconcile The ERP Result
Open the resulting voucher in ERP > Account > Account Vouchers.
- Confirm voucher date, type, business area, and number.
- Compare salary expense, deductions, employer contributions, and salary payable against the same employees and payroll period.
- Review cost-centre allocations on every ledger that requires them.
- Check that each allocated ledger's cost-centre total agrees with its voucher amount.
- For separate vouchers, reconcile the combined vouchers to the selected payroll total.
- Reload Voucher Posting for the same scope. Successfully linked payroll should no longer be available for posting again.
Posting creates accounting entries. It does not transfer salary to employees or settle statutory liabilities; follow the company's payment and statutory settlement processes separately.
See Account Vouchers.
Resolve Common Problems
| Problem | What to check |
|---|---|
| No employees appear | Check month, year, filters, and approval status. Payroll already linked to a voucher is excluded. |
| Integration Key is not assigned | Assign a valid key to the listed employees, then reload the posting list. |
| Cost Center is not assigned | Review the employee list provided by the warning, assign missing cost centres, and reload before posting. |
| Cost-centre actions are missing | Ask the administrator to check whether company cost-centre functionality is enabled. |
| A ledger has no allocation | Check the employee's cost centre, posting action, and the ledger's Cost Centres Required setting. |
| A component is missing or totals differ | Check component mappings and payroll amounts, including whether an aggregate and its detail components were both mapped. |
| Numbering or accounting error | Check voucher numbers and accounting setup. Check for an existing voucher before retrying. |
| Payroll and ERP are in different companies | Confirm the destination ledger company in the Integration Key and corresponding cost-centre names in both companies. Have the administrator verify the mapping before posting. |
If the result still differs, provide support with the salary period, employee scope, Integration Key, posting action, and voucher reference. Share payroll amounts or employee details only through your approved support channel.