Employees, Payroll And Teams
Last updated
Last updated
The Veend Expense Product is designed for Companies to manage employees, teams and payroll on VeendHQ.
Create and employees on Veend Platform with the Employees API.
To add an employee to your Veend Business Account, the employee must have a user account registered as an employee type.
POST
{{BASE_URL}}/register
type*
employee
Sets the account type to employee
If you already have the employee user account, you can add the employee to your business.
POST
{{ORG_BASE_URL}}/register
_id*
String
Employee Id return in the response data above
employer*
String
Veend Business User Id
role*
employee
one of these values approver, disburser, employee or admin
roles
employee
must be same value as the role field
type*
employee
Sets the account type to employee
GET
{{ORG_BASE_URL}}/myEmployees/users?populate=addressBooks
populate
addressBooks
GET
{{ORG_BASE_URL}}/users/{{USER_ID}}?populate=addressBooks
populate
addressBooks
PATCH
{{ORG_BASE_URL}}/updateProfile/users/{{employeeId}}
firstName
String
lastName
String
phoneNumber
String
employeeDetails
dateOfBirth
String
address
String
addressState
String
picture
String
String
Create and manage payrolls to schedule and disburse salary
POST
{{ORG_BASE_URL}}/payrolls
GET
{{ORG_BASE_URL}}/payrolls
PATCH
{{BASE_URL}}/payrolls/{{PAYROLL_ID}}
Deduct amount from salary for a list of employees.
PATCH
{{BASE_URL}}/deduct/payrolls/{{PAYROLL_ID}}
Create teams, assign your employees to teams on Veend Platform with the Teams API.
POST
{{ORG_BASE_URL}}/teams?accountId={{ACCOUNT_ID}}
name*
Design
Name of the team
DELETE
{{ORG_BASE_URL}}/teams/{{TEAM_ID}}?accountId={{ACCOUNT_ID}}
name*
Design
The name of the team to delete
POST
{{BASE_URL}}/teams/{{TEAM_ID}}/assignEmployeeToTeam?accountId={{ACCOUNT_ID}}
teamId*
Team _id
employeeId*
String
Employee _id