Payroll
Pay Salaries
Endpoint for paying salaries.
URL: {{base_url}}/modules/payroll/pay_salaries
Method: POST
Bearer Token: Replace this with an actual token in the request
Headers
Subscription: Replace this with the subscription value
Access_Token: Replace this with the actual access token value
Request Body
Key | Values | Required |
---|---|---|
uid | Enter employee unique id | Yes |
narration | Enter short narration | Yes |
calculate_tax | State whether tax and statutory contributions should be included on the payslip.Value should either be yes or no | Yes |
Response Codes
Code | Description |
---|---|
200 | Successful |
500 | Internal Server Error |
401 | Unauthorized: Check error message |
Example of Request Body
{
"uid": 1,
"narration":January salaries,
"calculate_tax":"yes"
}