Introduction
This article explains how to use Keka's Payroll APIs to automate updates to employee financial information, salary structures, and tax-related documents. Whether you're integrating with an external payroll tool or building internal workflows, these APIs provide flexible endpoints to manage critical payroll data programmatically.
Prerequisites
-
A valid API authentication token
-
Admin or payroll-specific role access in Keka
-
Correct employee IDs for update actions
Steps
1. Newly Release Payroll APIs
Here’s a breakdown of the payroll-related API endpoints you can use:
-
Update employee financial details
Modify statutory identifiers like PAN, UAN, PF number, and other compliance data.
update employee financial details. -
Update employee bank details
Add or update the employee’s bank account number, IFSC code, or bank name.
update employee bank details.
Sample JSON for Post call for Update. -
Add employee salary
Define an employee's salary structure by specifying components and amounts.
Add Employee Salary -
Revise employee salary
Adjust an employee’s salary package with updated components and effective dates.
Revise Employee Salary -
Get employee Form 16
Retrieve Form 16 for tax filing and audit purposes.
Gets employee form 16 -
Get all banks
Fetch a list of supported banks available in the Keka payroll system.
Get all Banks -
Get employee tax declaration
Access tax-saving investment declarations and attachments submitted by employees.
Get employee tax declaration.
Get Attachment Download Url.
Best Practices
Tip: Follow these guidelines to avoid common API issues:
-
Always include a valid API token in your request headers.
-
Use HTTPS for secure data transmission.
-
Double-check employee IDs before making updates.
-
Maintain audit logs for salary and tax-related changes.
-
Ensure your request JSON matches the expected schema.
We trust this article provides the guidance you need.
Comments
0 comments
Please sign in to leave a comment.