Skip to main content

Tenant

Manage your Tenant/Organization/Company

GET

Summary

Get a tenant by id

Description

Get a tenant by it's id.

Parameters
NameLocated inDescriptionRequiredSchema
getTenantConfigqueryNoboolean
Responses
CodeDescriptionSchema
200A successful response.v1GetTenantResponse
defaultAn unexpected error response.gatewayruntimeError
Request URL
https://bifrost-us.deskera.com/v1/people/tenants?getTenantConfig=true
Curl
curl -X 'GET' \
'https://bifrost-us.deskera.comv1/people/tenants?getTenantConfig=true' \
-H 'accept: application/json' \
-H 'x-access-token: sampletoken'

Sample Request

Sample Response
{
"status": "OK",
"tenant": {
"tenantId": "6332e1f84a34b52444ff72b9",
"iamUserId": "58372",
"erpTenantId": "75531",
"organizationName": "SingaporeTEst",
"name": ",
"companyCode": ",
"phone": ",
"address": {
"addressLine1": ",
"addressLine2": ",
"zipCode": ",
"city": ",
"state": ",
"country": "SG",
"suburb": ",
"county": "
},
"fax": ",
"currency": "SGD",
"orgSetupCompleted": true,
"complianceEnabled": false,
"multiCurrencyEnabled": false,
"isWorkLocation": false,
"profileStages": {
"companyDetails": true,
"paySchedule": true,
"employeeDetails": true,
"paymentDetails": false,
"cpfDetails": true,
"taxDetails": false,
"payrollComponents": true,
"completeEmployeeProfiles": false,
"bankDetails": false,
"filingAuthorization": false
},
"payrunCheckList": null,
"website": ",
"emailId": "rohan_us_temp@temp.deskera.xyz",
"countryCode": "SG",
"workWeekDetails": [
{
"day": "monday",
"isWorkingDay": true,
"startTime": "09:00 AM",
"endTime": "06:00 PM",
"duration": 9
},
{
"day": "tuesday",
"isWorkingDay": true,
"startTime": "09:00 AM",
"endTime": "06:00 PM",
"duration": 9
},
{
"day": "wednesday",
"isWorkingDay": true,
"startTime": "09:00 AM",
"endTime": "06:00 PM",
"duration": 9
},
{
"day": "thursday",
"isWorkingDay": true,
"startTime": "09:00 AM",
"endTime": "06:00 PM",
"duration": 9
},
{
"day": "friday",
"isWorkingDay": true,
"startTime": "09:00 AM",
"endTime": "06:00 PM",
"duration": 9
},
{
"day": "saturday",
"isWorkingDay": false,
"startTime": "09:00 AM",
"endTime": "06:00 PM",
"duration": 9
},
{
"day": "sunday",
"isWorkingDay": false,
"startTime": "09:00 AM",
"endTime": "06:00 PM",
"duration": 9
}
],
"dateOfCreation": "2022-09-27T08:53:56.678Z",
"companyId": ",
"legalEntityName": ",
"contactNumber": ",
"companySignatory": ",
"businessClassification": {
"id": "000000000000000000000000",
"dwollaId": ",
"name": ",
"industryClassification": {
"dwollaId": ",
"name": "
}
},
"UBI": {
"type": ",
"value": "
},
"businessType": ",
"lineOfBusiness": ",
"businessDescription": ",
"UMR": 0,
"companyEmail": ",
"compliance": {
"@type": "type.googleapis.com/v1.DefaultCompliance",
"countryCode": "
},
"signatoryVerificationStatus": ",
"tenantConfiguration": {
"countryCode": "SG",
"tenantId": "6332e1f84a34b52444ff72b9",
"financialYear": {
"startDate": "1900-01-01T00:00:00Z",
"endDate": "1900-12-31T00:00:00Z"
},
"investmentConfig": {
"declarationConfig": [],
"proofOfInvestmentConfig": []
},
"confId": "6332e1f84a34b52444ff72c3",
"dateFormat": "dd-MM-yyyy",
"decimalFormat": "2",
"geofencing": false
},
"dwollaDocumentRequiredFor": ",
"oldFlow": false,
"isCashfreeEnabled": false,
"isAddBankAcc": false,
"checkNumber": "0",
"isLocationActive": false,
"locationType": ",
"checkHQIntegration": false,
"checkHQCompanyCreated": false,
"checkHqError": null,
"isCheckhqOffCyclePaymentEnabled": false,
"isPaypalPaymentEnabled": false,
"payrunCalcCriteria": "numberOfWorkingDaysInMonth",
"enableShiftManagement": true
}
}

PUT

Summary

Update a tenant

Description

Update a tenant.

Parameters
NameLocated inDescriptionRequiredSchema
bodybodyYesv1Tenant
Responses
CodeDescriptionSchema
200A successful response.v1GetTenantResponse
defaultAn unexpected error response.gatewayruntimeError
Request URL
https://bifrost-us.deskera.com/v1/people/tenants
Curl
curl-X'PUT'\'https://bifrost-us.deskera.com/v1/people/tenants'\-H'accept: application/json'\-H'x-access-token: sampleaccesstoken'\-H'Content-Type: application/json'\-d'{   "tenantId": "6332e1f84a34b52444ff72b9",   "iamUserId": "58372",   "erpTenantId": "75531",   "organizationName": "SingaporeTEst",   "name": ",   "companyCode": ",   "phone": ",   "address": {     "addressLine1": ",     "addressLine2": ",     "zipCode": ",     "city": ",     "state": ",     "country": "SG",     "suburb": ",     "county": "   },   "fax": ",   "currency": "SGD",   "orgSetupCompleted": true,   "complianceEnabled": false,   "multiCurrencyEnabled": false,   "isWorkLocation": false,   "profileStages": {     "companyDetails": true,     "paySchedule": true,     "employeeDetails": true,     "paymentDetails": false,     "cpfDetails": true,     "taxDetails": false,     "payrollComponents": true,     "completeEmployeeProfiles": false,     "bankDetails": false,     "filingAuthorization": false   },   "payrunCheckList": null,   "website": ",   "emailId": "rohan_us_temp@temp.deskera.xyz",   "countryCode": "SG",   "workWeekDetails": [     {       "day": "monday",       "isWorkingDay": true,       "startTime": "09:00 AM",       "endTime": "06:00 PM",       "duration": 9     },     {       "day": "tuesday",       "isWorkingDay": true,       "startTime": "09:00 AM",       "endTime": "06:00 PM",       "duration": 9     },     {       "day": "wednesday",       "isWorkingDay": true,       "startTime": "09:00 AM",       "endTime": "06:00 PM",       "duration": 9     },     {       "day": "thursday",       "isWorkingDay": true,       "startTime": "09:00 AM",       "endTime": "06:00 PM",       "duration": 9     },     {       "day": "friday",       "isWorkingDay": true,       "startTime": "09:00 AM",       "endTime": "06:00 PM",       "duration": 9     },     {       "day": "saturday",       "isWorkingDay": false,       "startTime": "09:00 AM",       "endTime": "06:00 PM",       "duration": 9     },     {       "day": "sunday",       "isWorkingDay": false,       "startTime": "09:00 AM",       "endTime": "06:00 PM",       "duration": 9     }   ],   "dateOfCreation": "2022-09-27T08:53:56.678Z",   "companyId": ",   "legalEntityName": ",   "contactNumber": ",   "companySignatory": ",   "businessClassification": {     "id": "000000000000000000000000",     "dwollaId": ",     "name": ",     "industryClassification": {       "dwollaId": ",       "name": "     }   },   "UBI": {     "type": ",     "value": "   },   "businessType": ",   "lineOfBusiness": ",   "businessDescription": ",   "UMR": 0,   "companyEmail": ",   "compliance": {     "@type": "type.googleapis.com/v1.DefaultCompliance",     "countryCode": "   },   "signatoryVerificationStatus": ",   "tenantConfiguration": null,   "dwollaDocumentRequiredFor": ",   "oldFlow": false,   "isCashfreeEnabled": false,   "isAddBankAcc": false,   "checkNumber": "0",   "isLocationActive": false,   "locationType": ",   "checkHQIntegration": false,   "checkHQCompanyCreated": false,   "checkHqError": null,   "isCheckhqOffCyclePaymentEnabled": false,   "isPaypalPaymentEnabled": false,   "payrunCalcCriteria": "numberOfWorkingDaysInMonth",   "enableShiftManagement": false }'

Sample Request
{
"tenantId": "6332e1f84a34b52444ff72b9",
"iamUserId": "58372",
"erpTenantId": "75531",
"organizationName": "SingaporeTEst",
"name": ",
"companyCode": ",
"phone": ",
"address": {
"addressLine1": ",
"addressLine2": ",
"zipCode": ",
"city": ",
"state": ",
"country": "SG",
"suburb": ",
"county": "
},
"fax": ",
"currency": "SGD",
"orgSetupCompleted": true,
"complianceEnabled": false,
"multiCurrencyEnabled": false,
"isWorkLocation": false,
"profileStages": {
"companyDetails": true,
"paySchedule": true,
"employeeDetails": true,
"paymentDetails": false,
"cpfDetails": true,
"taxDetails": false,
"payrollComponents": true,
"completeEmployeeProfiles": false,
"bankDetails": false,
"filingAuthorization": false
},
"payrunCheckList": null,
"website": ",
"emailId": "rohan_us_temp@temp.deskera.xyz",
"countryCode": "SG",
"workWeekDetails": [
{
"day": "monday",
"isWorkingDay": true,
"startTime": "09:00 AM",
"endTime": "06:00 PM",
"duration": 9
},
{
"day": "tuesday",
"isWorkingDay": true,
"startTime": "09:00 AM",
"endTime": "06:00 PM",
"duration": 9
},
{
"day": "wednesday",
"isWorkingDay": true,
"startTime": "09:00 AM",
"endTime": "06:00 PM",
"duration": 9
},
{
"day": "thursday",
"isWorkingDay": true,
"startTime": "09:00 AM",
"endTime": "06:00 PM",
"duration": 9
},
{
"day": "friday",
"isWorkingDay": true,
"startTime": "09:00 AM",
"endTime": "06:00 PM",
"duration": 9
},
{
"day": "saturday",
"isWorkingDay": false,
"startTime": "09:00 AM",
"endTime": "06:00 PM",
"duration": 9
},
{
"day": "sunday",
"isWorkingDay": false,
"startTime": "09:00 AM",
"endTime": "06:00 PM",
"duration": 9
}
],
"dateOfCreation": "2022-09-27T08:53:56.678Z",
"companyId": ",
"legalEntityName": ",
"contactNumber": ",
"companySignatory": ",
"businessClassification": {
"id": "000000000000000000000000",
"dwollaId": ",
"name": ",
"industryClassification": {
"dwollaId": ",
"name": "
}
},
"UBI": {
"type": ",
"value": "
},
"businessType": ",
"lineOfBusiness": ",
"businessDescription": ",
"UMR": 0,
"companyEmail": ",
"compliance": {
"@type": "type.googleapis.com/v1.DefaultCompliance",
"countryCode": "
},
"signatoryVerificationStatus": ",
"tenantConfiguration": null,
"dwollaDocumentRequiredFor": ",
"oldFlow": false,
"isCashfreeEnabled": false,
"isAddBankAcc": false,
"checkNumber": "0",
"isLocationActive": false,
"locationType": ",
"checkHQIntegration": false,
"checkHQCompanyCreated": false,
"checkHqError": null,
"isCheckhqOffCyclePaymentEnabled": false,
"isPaypalPaymentEnabled": false,
"payrunCalcCriteria": "numberOfWorkingDaysInMonth",
"enableShiftManagement": true
}
Sample Response
{
"status": "OK",
"tenant": {
"tenantId": "6332e1f84a34b52444ff72b9",
"iamUserId": "58372",
"erpTenantId": "75531",
"organizationName": "SingaporeTEst",
"name": ",
"companyCode": ",
"phone": ",
"address": {
"addressLine1": ",
"addressLine2": ",
"zipCode": ",
"city": ",
"state": ",
"country": "SG",
"suburb": ",
"county": "
},
"fax": ",
"currency": "SGD",
"orgSetupCompleted": true,
"complianceEnabled": false,
"multiCurrencyEnabled": false,
"isWorkLocation": false,
"profileStages": {
"companyDetails": true,
"paySchedule": true,
"employeeDetails": true,
"paymentDetails": false,
"cpfDetails": true,
"taxDetails": false,
"payrollComponents": true,
"completeEmployeeProfiles": false,
"bankDetails": false,
"filingAuthorization": false
},
"payrunCheckList": null,
"website": ",
"emailId": "rohan_us_temp@temp.deskera.xyz",
"countryCode": "SG",
"workWeekDetails": [
{
"day": "monday",
"isWorkingDay": true,
"startTime": "09:00 AM",
"endTime": "06:00 PM",
"duration": 9
},
{
"day": "tuesday",
"isWorkingDay": true,
"startTime": "09:00 AM",
"endTime": "06:00 PM",
"duration": 9
},
{
"day": "wednesday",
"isWorkingDay": true,
"startTime": "09:00 AM",
"endTime": "06:00 PM",
"duration": 9
},
{
"day": "thursday",
"isWorkingDay": true,
"startTime": "09:00 AM",
"endTime": "06:00 PM",
"duration": 9
},
{
"day": "friday",
"isWorkingDay": true,
"startTime": "09:00 AM",
"endTime": "06:00 PM",
"duration": 9
},
{
"day": "saturday",
"isWorkingDay": false,
"startTime": "09:00 AM",
"endTime": "06:00 PM",
"duration": 9
},
{
"day": "sunday",
"isWorkingDay": false,
"startTime": "09:00 AM",
"endTime": "06:00 PM",
"duration": 9
}
],
"dateOfCreation": "2022-09-27T08:53:56.678Z",
"companyId": ",
"legalEntityName": ",
"contactNumber": ",
"companySignatory": ",
"businessClassification": {
"id": "000000000000000000000000",
"dwollaId": ",
"name": ",
"industryClassification": {
"dwollaId": ",
"name": "
}
},
"UBI": {
"type": ",
"value": "
},
"businessType": ",
"lineOfBusiness": ",
"businessDescription": ",
"UMR": 0,
"companyEmail": ",
"compliance": {
"@type": "type.googleapis.com/v1.DefaultCompliance",
"countryCode": "
},
"signatoryVerificationStatus": ",
"tenantConfiguration": null,
"dwollaDocumentRequiredFor": ",
"oldFlow": false,
"isCashfreeEnabled": false,
"isAddBankAcc": false,
"checkNumber": "0",
"isLocationActive": false,
"locationType": ",
"checkHQIntegration": false,
"checkHQCompanyCreated": false,
"checkHqError": null,
"isCheckhqOffCyclePaymentEnabled": false,
"isPaypalPaymentEnabled": false,
"payrunCalcCriteria": "numberOfWorkingDaysInMonth",
"enableShiftManagement": true
}
}

Business classifications

GET

Summary

Get dwolla business classifications

Description

Get dwolla business classifications

Responses
CodeDescriptionSchema
200A successful response.v1BusinessClassificationsResponse
defaultAn unexpected error response.gatewayruntimeError

POST

Summary

Insert dwolla business classifications

Description

Insert dwolla business classifications

Parameters
NameLocated inDescriptionRequiredSchema
bodybodyYesv1AddBusinessClassificationsRequest
Responses
CodeDescriptionSchema
200A successful response.v1BusinessClassificationsResponse
defaultAn unexpected error response.gatewayruntimeError

Tenant Configurations

GET

Summary

Get tenant configuration for company

Description

Get tenant configuration for company

Responses
CodeDescriptionSchema
200A successful response.v1TenantConfigurationResponse
defaultAn unexpected error response.gatewayruntimeError
Request URL
https://bifrost-us.deskera.com/v1/people/tenants/configuration
Curl
curl -X 'GET' \
https://bifrost-us.deskera.com/v1/people/tenants/configuration' \
-H 'accept: application/json' \
-H 'x-access-token: sampletoken'
Sample Request

Sample Response
{
"countryCode": "string",
"tenantId": "string",
"financialYear": {
"startDate": "2022-10-28T07:26:09.482Z",
"endDate": "2022-10-28T07:26:09.482Z"
},
"investmentConfig": {
"declarationConfig": [
{
"declarationStartDate": "2022-10-28T07:26:09.482Z",
"declarationEndDate": "2022-10-28T07:26:09.482Z",
"declarationLockStatus": true,
"considerForITDeclaration": true,
"declarationEffectiveMonth": "string",
"active": true,
"id": "string"
}
],
"proofOfInvestmentConfig": [
{
"proofOfInvestmentStartDate": "2022-10-28T07:26:09.482Z",
"proofOfInvestmentEndDate": "2022-10-28T07:26:09.482Z",
"proofOfInvestmentLockStatus": true,
"active": true,
"id": "string"
}
]
},
"confId": "string",
"dateFormat": "string",
"decimalFormat": "string",
"geofencing": true
}

PATCH

Summary

Update tenant configuration for company

Description

Update tenant configuration for company

Parameters
NameLocated inDescriptionRequiredSchema
bodybodyYesv1TenantConfigurationRequest
Responses
CodeDescriptionSchema
200A successful response.v1TenantConfigurationResponse
defaultAn unexpected error response.gatewayruntimeError

Configuration stage of an Organization/Company

PUT

Summary

Update a tenant

Description

Update a tenant.

Parameters
NameLocated inDescriptionRequiredSchema
stagepathYesstring
bodybodyYesv1ProfileStage
Responses
CodeDescriptionSchema
200A successful response.v1TenantProfileStagesResponse
defaultAn unexpected error response.gatewayruntimeError
Request URL
https://bifrost-us.deskera.com/v1/people/tenants/profile/cpfDetails
Curl
curl -X 'PUT' \
'https://bifrost-us.deskera.com/v1/people/tenants/profile/cpfDetails' \
-H 'accept: application/json' \
-H 'x-access-token: sampletoken' \
-H 'Content-Type: application/json' \
-d '{
"stage": "cpfDetails"
}'
Sample Request
{
"stage": "cpfDetails"
}
Sample Response
{
"status": "OK",
"tenantId": "6332e1f84a34b52444ff72b9",
"profileStages": {
"companyDetails": true,
"paySchedule": true,
"employeeDetails": true,
"paymentDetails": false,
"cpfDetails": true,
"taxDetails": false,
"payrollComponents": true,
"completeEmployeeProfiles": false,
"bankDetails": false,
"filingAuthorization": false
}
}

Fetch minimal Organization/Company Info

GET

Summary

Get tenant info

Description

Get tenant info based on its tenant ID contained in auth token

Responses
CodeDescriptionSchema
200A successful response.v1GetTenantShortInfoResponse
defaultAn unexpected error response.gatewayruntimeError
Request URL
https://bifrost-us.deskera.com/v1/people/tenants/tenant-short-info
Curl
curl -X 'GET' \
'https://bifrost-us.deskera.com/v1/people/tenants/tenant-short-info' \
-H 'accept: application/json' \
-H 'x-access-token: sampletoken'
Sample Request

Sample Response
{
"status": "OK",
"tenantShortInfo": {
"tenantId": "6332e1f84a34b52444ff72b9",
"organizationName": "SingaporeTEst",
"name": "Rohan Test",
"companyCode": ",
"phone": ",
"address": {
"addressLine1": ",
"addressLine2": ",
"zipCode": ",
"city": ",
"state": ",
"country": "SG",
"suburb": ",
"county": "
},
"fax": ",
"currency": "SGD",
"countryCode": "SG",
"companyId": ",
"legalEntityName": ",
"contactNumber": ",
"businessClassification": {
"id": "000000000000000000000000",
"dwollaId": ",
"name": ",
"industryClassification": {
"dwollaId": ",
"name": "
}
},
"companySignatory": ",
"companyEmail": ",
"oldFlow": false,
"isAddBankAcc": false,
"checkNumber": "0",
"isLocationActive": false,
"locationType": "
}
}

Get list features for your Organization/Company

GET

Summary

Get Features for Country

Description

Get Features for Country

Parameters
NameLocated inDescriptionRequiredSchema
countryCodepathYesstring
Responses
CodeDescriptionSchema
200A successful response.v1CountryFeaturesResponse
defaultAn unexpected error response.gatewayruntimeError
Request URL
https://bifrost-us.deskera.com/v1/people/tenants/country-feature/US
Curl
curl -X 'GET' \
'https://bifrost-us.deskera.com/v1/people/tenants/country-feature/US' \
-H 'accept: application/json' \
-H 'x-access-token: sampletoken'
Sample Request

Sample Response
{
"isRevertPayrunAllowed": false,
"isDeletePayrunAllowed": false,
"isEmployeeExportEnabled": false
}

Validate emails for company/users/employees

GET

Summary

Check email exist for any user or for company

Description

Check email exist for any user or for company

Parameters
NameLocated inDescriptionRequiredSchema
emailIdqueryNostring
contactqueryNostring
userIdqueryNostring
Responses
CodeDescriptionSchema
200A successful response.v1DuplicateEmailResponse
defaultAn unexpected error response.gatewayruntimeError
Request URL
https://bifrost-us.deskera.com/v1/people/tenants/email/validate?emailId=shubham%40gmail.com&contact=9392939442
Curl
curl -X 'GET' \
'https://bifrost-us.deskera.com/v1/people/tenants/email/validate?emailId=shubham%40gmail.com&contact=9392939442' \
-H 'accept: application/json' \
-H 'x-access-token: sampletoken'
Sample Request

Sample Response
{
"isdupliacateEmail": false,
"isdupliacateContact": false
}

Geo-locations

GET

Summary

Get tenant geolocations by iamUserId

Description

Get geolocations values of the tenant by iamUserId

Responses
CodeDescriptionSchema
200A successful response.v1GeoFencingPlansResponse
defaultAn unexpected error response.gatewayruntimeError
Request URL
https://bifrost-us.deskera.com/v1/people/tenants/geofencing/plans
Curl
curl -X 'GET' \
'https://bifrost-us.deskera.com/v1/people/tenants/geofencing/plans' \
-H 'accept: application/json' \
-H 'x-access-token: sampletoken'
Sample Request

Sample Response
{
"plans": [
"ProfessionalPlus"
]
}

Fetch Books Integration for JE

GET

Summary

Get Integration Mapping

Description

Get Integration Mapping.

Responses
CodeDescriptionSchema
200A successful response.v1IntegrationMappingResponse
defaultAn unexpected error response.gatewayruntimeError
Request URL
https://bifrost-us.deskera.com/v1/people/tenants/integration-mapping
Curl
curl -X 'GET' \
'https://bifrost-us.deskera.com/v1/people/tenants/integration-mapping' \
-H 'accept: application/json' \
-H 'x-access-token: sampletoken'
Sample Request

Sample Response
{
"id": "629636e7d3e4fba66b81d717",
"tenantId": "629636e6d3e4fba66b81d705",
"erpTenantId": "74192",
"countryCode": "IN",
"active": true,
"whenJEPosted": "payDate",
"mapping": [
{
"payType": "Earnings",
"expenseAccount": "ACC70003",
"liabilityAccount": "ACC40004",
"components": [
{
"name": "Basic",
"id": "629636e7772d5f6a6954c2a9",
"expenseAccount": "ACC70003",
"liabilityAccount": "ACC40004",
"isTax": false
},
{
"name": "Bonus",
"id": "629636e7772d5f6a6954c2aa",
"expenseAccount": "ACC70003",
"liabilityAccount": "ACC40004",
"isTax": false
},
{
"name": "Conveyance Allowance",
"id": "629636e7772d5f6a6954c2a7",
"expenseAccount": "ACC70003",
"liabilityAccount": "ACC40004",
"isTax": false
},
{
"name": "Fixed Allowance",
"id": "629636e7772d5f6a6954c2a6",
"expenseAccount": "ACC70003",
"liabilityAccount": "ACC40004",
"isTax": false
},
{
"name": "Commission",
"id": "629636e7772d5f6a6954c2ab",
"expenseAccount": "ACC70003",
"liabilityAccount": "ACC40004",
"isTax": false
},
{
"name": "HRA",
"id": "629636e7772d5f6a6954c2a8",
"expenseAccount": "ACC70003",
"liabilityAccount": "ACC40004",
"isTax": false
},
{
"name": "Transport Allowance",
"id": "629636e7772d5f6a6954c2ac",
"expenseAccount": "ACC70003",
"liabilityAccount": "ACC40004",
"isTax": false
}
]
},
{
"payType": "Employee Deductions",
"expenseAccount": "ACC70003",
"liabilityAccount": "ACC40004",
"components": [
{
"name": "EPF Contribution",
"id": "EPF",
"expenseAccount": "ACC70003",
"liabilityAccount": "ACC40004",
"isTax": true
},
{
"name": "ESI",
"id": "ESI",
"expenseAccount": "ACC70003",
"liabilityAccount": "ACC40004",
"isTax": true
},
{
"name": "Income Tax",
"id": "Income Tax",
"expenseAccount": "ACC70003",
"liabilityAccount": "ACC40004",
"isTax": true
},
{
"name": "Professional Tax",
"id": "Professional Tax",
"expenseAccount": "ACC70003",
"liabilityAccount": "ACC40004",
"isTax": true
}
]
},
{
"payType": "Employer Contributions",
"expenseAccount": "ACC70003",
"liabilityAccount": "ACC40004",
"components": [
{
"name": "EPF Contribution",
"id": "EPF",
"expenseAccount": "ACC70003",
"liabilityAccount": "ACC40004",
"isTax": true
},
{
"name": "ESI",
"id": "ESI",
"expenseAccount": "ACC70003",
"liabilityAccount": "ACC40004",
"isTax": true
},
{
"name": "EPS",
"id": "EPS",
"expenseAccount": "ACC70003",
"liabilityAccount": "ACC40004",
"isTax": true
}
]
}
]
}

Toggle Books Integration for JE

PATCH

Summary

Toggle Integration Mapping

Description

Toggle Integration Mapping.

Parameters
NameLocated inDescriptionRequiredSchema
bodybodyYesv1ToggleIntegrationMappingRequest
Responses
CodeDescriptionSchema
200A successful response.v1IntegrationMappingResponse
defaultAn unexpected error response.gatewayruntimeError
Request URL
https://bifrost-us.deskera.com/v1/people/tenants/integration-mapping
Curl
curl -X 'GET' \
'https://bifrost-us.deskera.com/v1/people/tenants/integration-mapping' \
-H 'accept: application/json' \
-H 'x-access-token: sampletoken'
Sample Request

Sample Response
{
"id": "629636e7d3e4fba66b81d717",
"tenantId": "629636e6d3e4fba66b81d705",
"erpTenantId": "74192",
"countryCode": "IN",
"active": true,
"whenJEPosted": "payDate",
"mapping": [
{
"payType": "Earnings",
"expenseAccount": "ACC70003",
"liabilityAccount": "ACC40004",
"components": [
{
"name": "Basic",
"id": "629636e7772d5f6a6954c2a9",
"expenseAccount": "ACC70003",
"liabilityAccount": "ACC40004",
"isTax": false
},
{
"name": "Bonus",
"id": "629636e7772d5f6a6954c2aa",
"expenseAccount": "ACC70003",
"liabilityAccount": "ACC40004",
"isTax": false
},
{
"name": "Conveyance Allowance",
"id": "629636e7772d5f6a6954c2a7",
"expenseAccount": "ACC70003",
"liabilityAccount": "ACC40004",
"isTax": false
},
{
"name": "Fixed Allowance",
"id": "629636e7772d5f6a6954c2a6",
"expenseAccount": "ACC70003",
"liabilityAccount": "ACC40004",
"isTax": false
},
{
"name": "Commission",
"id": "629636e7772d5f6a6954c2ab",
"expenseAccount": "ACC70003",
"liabilityAccount": "ACC40004",
"isTax": false
},
{
"name": "HRA",
"id": "629636e7772d5f6a6954c2a8",
"expenseAccount": "ACC70003",
"liabilityAccount": "ACC40004",
"isTax": false
},
{
"name": "Transport Allowance",
"id": "629636e7772d5f6a6954c2ac",
"expenseAccount": "ACC70003",
"liabilityAccount": "ACC40004",
"isTax": false
}
]
},
{
"payType": "Employee Deductions",
"expenseAccount": "ACC70003",
"liabilityAccount": "ACC40004",
"components": [
{
"name": "EPF Contribution",
"id": "EPF",
"expenseAccount": "ACC70003",
"liabilityAccount": "ACC40004",
"isTax": true
},
{
"name": "ESI",
"id": "ESI",
"expenseAccount": "ACC70003",
"liabilityAccount": "ACC40004",
"isTax": true
},
{
"name": "Income Tax",
"id": "Income Tax",
"expenseAccount": "ACC70003",
"liabilityAccount": "ACC40004",
"isTax": true
},
{
"name": "Professional Tax",
"id": "Professional Tax",
"expenseAccount": "ACC70003",
"liabilityAccount": "ACC40004",
"isTax": true
}
]
},
{
"payType": "Employer Contributions",
"expenseAccount": "ACC70003",
"liabilityAccount": "ACC40004",
"components": [
{
"name": "EPF Contribution",
"id": "EPF",
"expenseAccount": "ACC70003",
"liabilityAccount": "ACC40004",
"isTax": true
},
{
"name": "ESI",
"id": "ESI",
"expenseAccount": "ACC70003",
"liabilityAccount": "ACC40004",
"isTax": true
},
{
"name": "EPS",
"id": "EPS",
"expenseAccount": "ACC70003",
"liabilityAccount": "ACC40004",
"isTax": true
}
]
}
]
}

Update Books Integration Mappings for JE

PUT

Summary

Update Integration Mapping

Description

Update Integration Mapping.

Parameters
NameLocated inDescriptionRequiredSchema
bodybodyYesv1IntegrationMappingRequest
Responses
CodeDescriptionSchema
200A successful response.v1IntegrationMappingResponse
defaultAn unexpected error response.gatewayruntimeError
Request URL
https://bifrost-us.deskera.com/v1/people/tenants/update/integration-mapping```
Curl
curl -X 'PUT' \
'https://bifrost-us.deskera.com/v1/people/tenants/update/integration-mapping' \
-H 'accept: application/json' \
-H 'x-access-token: sampletoken' \
-H 'Content-Type: application/json' \
-d '{"active":true,"countryCode":"SG","erpTenantId":"75531","id":"6332e1f94a25f774ed3a4fa2","tenantId":"6332e1f84a34b52444ff72b9","whenJEPosted":"payDate","mapping":[{"expenseAccount":"ACC70003","liabilityAccount":"ACC40004","payType":"Earnings","components":[{"name":"Reimbursement","id":"6332e1fa99b248f47220d2d3","expenseAccount":"ACC70003","liabilityAccount":"ACC40004","isTax":false},{"name":"AWS","id":"6332e1fa99b248f47220d2d4","expenseAccount":"ACC70003","liabilityAccount":"ACC40004","isTax":false},{"name":"Bonus","id":"6332e1fa99b248f47220d2d6","expenseAccount":"ACC70003","liabilityAccount":"ACC40004","isTax":false},{"name":"Allowance","id":"6332e1fa99b248f47220d2d7","expenseAccount":"ACC70003","liabilityAccount":"ACC40004","isTax":false},{"name":"Commission","id":"6332e1fa99b248f47220d2d5","expenseAccount":"ACC70003","liabilityAccount":"ACC40004","isTax":false}]},{"expenseAccount":"ACC70003","liabilityAccount":"ACC40004","payType":"Employee Deductions","components":[{"name":"SINDA","id":"sinda","expenseAccount":"ACC70003","liabilityAccount":"ACC40004","isTax":true},{"name":"CDAC","id":"cdac","expenseAccount":"ACC70003","liabilityAccount":"ACC40004","isTax":true},{"name":"MBMF","id":"mbmf","expenseAccount":"ACC70003","liabilityAccount":"ACC40004","isTax":true},{"name":"ECF","id":"ecf","expenseAccount":"ACC70003","liabilityAccount":"ACC40004","isTax":true},{"name":"CPF","id":"cpfContribution","expenseAccount":"ACC70003","liabilityAccount":"ACC40004","isTax":true}]},{"expenseAccount":"ACC70003","liabilityAccount":"ACC40004","payType":"Employer Contributions","components":[{"name":"CPF","id":"cpfContribution","expenseAccount":"ACC70003","liabilityAccount":"ACC40004","isTax":true},{"name":"SDL","id":"employerSDL","expenseAccount":"ACC70003","liabilityAccount":"ACC40004","isTax":true},{"name":"FWL","id":"employerFWL","expenseAccount":"ACC70003","liabilityAccount":"ACC40004","isTax":true}]}]}'```
Sample Request
{"active":true,"countryCode":"SG","erpTenantId":"75531","id":"6332e1f94a25f774ed3a4fa2","tenantId":"6332e1f84a34b52444ff72b9","whenJEPosted":"payDate","mapping":[{"expenseAccount":"ACC70003","liabilityAccount":"ACC40004","payType":"Earnings","components":[{"name":"Reimbursement","id":"6332e1fa99b248f47220d2d3","expenseAccount":"ACC70003","liabilityAccount":"ACC40004","isTax":false},{"name":"AWS","id":"6332e1fa99b248f47220d2d4","expenseAccount":"ACC70003","liabilityAccount":"ACC40004","isTax":false},{"name":"Bonus","id":"6332e1fa99b248f47220d2d6","expenseAccount":"ACC70003","liabilityAccount":"ACC40004","isTax":false},{"name":"Allowance","id":"6332e1fa99b248f47220d2d7","expenseAccount":"ACC70003","liabilityAccount":"ACC40004","isTax":false},{"name":"Commission","id":"6332e1fa99b248f47220d2d5","expenseAccount":"ACC70003","liabilityAccount":"ACC40004","isTax":false}]},{"expenseAccount":"ACC70003","liabilityAccount":"ACC40004","payType":"Employee Deductions","components":[{"name":"SINDA","id":"sinda","expenseAccount":"ACC70003","liabilityAccount":"ACC40004","isTax":true},{"name":"CDAC","id":"cdac","expenseAccount":"ACC70003","liabilityAccount":"ACC40004","isTax":true},{"name":"MBMF","id":"mbmf","expenseAccount":"ACC70003","liabilityAccount":"ACC40004","isTax":true},{"name":"ECF","id":"ecf","expenseAccount":"ACC70003","liabilityAccount":"ACC40004","isTax":true},{"name":"CPF","id":"cpfContribution","expenseAccount":"ACC70003","liabilityAccount":"ACC40004","isTax":true}]},{"expenseAccount":"ACC70003","liabilityAccount":"ACC40004","payType":"Employer Contributions","components":[{"name":"CPF","id":"cpfContribution","expenseAccount":"ACC70003","liabilityAccount":"ACC40004","isTax":true},{"name":"SDL","id":"employerSDL","expenseAccount":"ACC70003","liabilityAccount":"ACC40004","isTax":true},{"name":"FWL","id":"employerFWL","expenseAccount":"ACC70003","liabilityAccount":"ACC40004","isTax":true}]}]}```
Sample Response
{
"id": "6332e1f94a25f774ed3a4fa2",
"tenantId": "6332e1f84a34b52444ff72b9",
"erpTenantId": "75531",
"countryCode": "SG",
"active": true,
"whenJEPosted": "payDate",
"mapping": [
{
"payType": "Earnings",
"expenseAccount": "ACC70003",
"liabilityAccount": "ACC40004",
"components": [
{
"name": "Reimbursement",
"id": "6332e1fa99b248f47220d2d3",
"expenseAccount": "ACC70003",
"liabilityAccount": "ACC40004",
"isTax": false
},
{
"name": "AWS",
"id": "6332e1fa99b248f47220d2d4",
"expenseAccount": "ACC70003",
"liabilityAccount": "ACC40004",
"isTax": false
},
{
"name": "Bonus",
"id": "6332e1fa99b248f47220d2d6",
"expenseAccount": "ACC70003",
"liabilityAccount": "ACC40004",
"isTax": false
},
{
"name": "Allowance",
"id": "6332e1fa99b248f47220d2d7",
"expenseAccount": "ACC70003",
"liabilityAccount": "ACC40004",
"isTax": false
},
{
"name": "Commission",
"id": "6332e1fa99b248f47220d2d5",
"expenseAccount": "ACC70003",
"liabilityAccount": "ACC40004",
"isTax": false
}
]
},
{
"payType": "Employee Deductions",
"expenseAccount": "ACC70003",
"liabilityAccount": "ACC40004",
"components": [
{
"name": "SINDA",
"id": "sinda",
"expenseAccount": "ACC70003",
"liabilityAccount": "ACC40004",
"isTax": true
},
{
"name": "CDAC",
"id": "cdac",
"expenseAccount": "ACC70003",
"liabilityAccount": "ACC40004",
"isTax": true
},
{
"name": "MBMF",
"id": "mbmf",
"expenseAccount": "ACC70003",
"liabilityAccount": "ACC40004",
"isTax": true
},
{
"name": "ECF",
"id": "ecf",
"expenseAccount": "ACC70003",
"liabilityAccount": "ACC40004",
"isTax": true
},
{
"name": "CPF",
"id": "cpfContribution",
"expenseAccount": "ACC70003",
"liabilityAccount": "ACC40004",
"isTax": true
}
]
},
{
"payType": "Employer Contributions",
"expenseAccount": "ACC70003",
"liabilityAccount": "ACC40004",
"components": [
{
"name": "CPF",
"id": "cpfContribution",
"expenseAccount": "ACC70003",
"liabilityAccount": "ACC40004",
"isTax": true
},
{
"name": "SDL",
"id": "employerSDL",
"expenseAccount": "ACC70003",
"liabilityAccount": "ACC40004",
"isTax": true
},
{
"name": "FWL",
"id": "employerFWL",
"expenseAccount": "ACC70003",
"liabilityAccount": "ACC40004",
"isTax": true
}
]
}
]
}

PUT

Summary

Update Payment Integration Status

Description

Update Payment Integration Status.

Parameters
NameLocated inDescriptionRequiredSchema
statuspathYesstring
bodybodyYesv1PaymentIntegrationStatus
Responses
CodeDescriptionSchema
200A successful response.v1PaymentIntegrationStatus
defaultAn unexpected error response.gatewayruntimeError

Fetch Leave balances for employees

GET

Summary

Get Entitlement

Description

Get Entitlement.

Parameters
NameLocated inDescriptionRequiredSchema
limitqueryNostring (int64)
currentPagequeryNostring (int64)
orderBy.fieldqueryNostring
orderBy.orderqueryNostring
searchStringqueryNostring
searchFieldqueryNostring
getComponentsqueryNoboolean
fromDatequeryNodateTime
toDatequeryNodateTime
userTypequeryNostring
cpfAccountqueryNostring
accountTypequeryNostring
getBenefitsqueryNoboolean
orderqueryNostring
fieldqueryNostring
isInCompleteProfilequeryNoboolean
stagequeryNostring
includeDraftqueryNoboolean
ignTeamDataqueryNoboolean
ignRolesqueryNoboolean
ignUserApproversqueryNoboolean
ignTeamMembersqueryNoboolean
Responses
CodeDescriptionSchema
200A successful response.v1EntitlementResponse
defaultAn unexpected error response.gatewayruntimeError
Request URL
https://bifrost-us.deskera.com/v1/people/tenants/leave-entitlement/leaveBalance?limit=10&currentPage=1&orderBy.field=updatedAt&orderBy.order=desc&field=2022-01-01,2022-12-31
Curl
curl -X 'GET' \
'https://bifrost-us.deskera.com/v1/people/tenants/leave-entitlement/leaveBalance?limit=10&currentPage=1&orderBy.field=updatedAt&orderBy.order=desc&field=2022-01-01,2022-12-31'\
-H 'accept: application/json' \
-H 'x-access-token: sampletoken'
Sample Request

Sample Response
{
"leaveTypes": [
{
"_id": "635277725c3a1f94f308213f",
"leaveDescription": "",
"leaveType": "A",
"colorCode": "green",
"isPaid": false,
"leaveStatus": "Active",
"daysPerYear": 10,
"isApplicableToAll": true,
"isAllowForUnpaidLeave": false
}
],
"leaveDetails": [
{
"users": {
"firstName": "Rohan",
"lastName": "Test",
"designation": "qa",
"iamUserId": "58372",
"roles": [

]
},
"leaveBalanace": [
{
"_id": "635277725c3a1f94f308213f",
"leaveType": "A",
"entitledLeaves": 10,
"carryForwardLeaves": 0,
"earnedLeaves": 10,
"takenLeaves": 2,
"balanceLeaves": 8,
"colorCode": "",
"isPaid": false,
"appliedLeaves": 0,
"isFromLeaveDetails": false,
"isAllowForUnpaidLeave": false,
"adjustedLeaves": 0,
"carryForwardExpiredBal": 0
}
]
},

],
"filterConfig": {
"page": "1",
"numberOfElements": "6",
"sizePerPage": "10",
"totalPage": "1",
"numberOfRecords": "6"
}
}

Organization/Company notification settings

GET

Summary

Get user notification settings

Description

Get notification settings values of the user

Responses
CodeDescriptionSchema
200A successful response.v1TenantNotificationSetting
defaultAn unexpected error response.gatewayruntimeError
Request URL
https://bifrost-us.deskera.com/v1/people/tenants/notification-settings
Curl
curl -X 'GET' \
'https://bifrost-us.deskera.com/v1/people/tenants/notification-settings' \
-H 'accept: application/json' \
-H 'x-access-token: sampletoken'
Sample Request

Sample Response
{
"id": "",
"tenantId": "75531",
"settings": [
{
"id": "6256cfa07585d431b22398a6",
"name": "Payrun Emails",
"value": true,
"key": "PAYRUN_EMAILS",
"type": "EMAIL",
"description": "Setting to enable/disable payrun processing email notifications"
},
{
"id": "6258050af909e7b6a773e072",
"name": "Test Emails",
"value": true,
"key": "TEST_EMAILS",
"type": "EMAIL",
"description": "Setting to enable/disable test processing email notifications"
},
{
"id": "62580532f909e7b6a773e073",
"name": "Payrun Bell",
"value": true,
"key": "PAYRUN_BELL",
"type": "BELL",
"description": "Setting to enable/disable payrun processing bell notifications"
}
],
"updatedAt": null,
"updatedBy": "0"
}

POST

Summary

Set user notification settings

Description

Set notification settings values of the user

Parameters
NameLocated inDescriptionRequiredSchema
bodybodyYesv1TenantNotificationSetting
Responses
CodeDescriptionSchema
200A successful response.v1TenantNotificationSetting
defaultAn unexpected error response.gatewayruntimeError

Organization/Comapny Checlist for running payruns

GET

Summary

Get tenant payrun checklist

Description

Get tenant payrun checklist.

Responses
CodeDescriptionSchema
200A successful response.v1PayrunCheckListResponse
defaultAn unexpected error response.gatewayruntimeError
Request URL
 https://bifrost-us.deskera.com/v1/people/tenants/payrun/checklist
Curl
curl -X 'GET' \
'https://bifrost-us.deskera.com/v1/people/tenants/payrun/checklist' \
-H 'accept: application/json' \
-H 'x-access-token: sampletoken'
Sample Request

Sample Response
{
"status": "OK",
"checklist": [
{
"index": "0",
"isChecked": false,
"question": "Have you filled your Company Details?"
},
{
"index": "1",
"isChecked": false,
"question": "Have you created a CPF Account?"
},
{
"index": "2",
"isChecked": false,
"question": "Have you created a Pay Schedule for your employees?"
}
]
}

PUT

Summary

Update tenant payrun checklist

Description

Update tenant payrun checklist

Parameters
NameLocated inDescriptionRequiredSchema
bodybodyYesv1PayrunCheckList
Responses
CodeDescriptionSchema
200A successful response.v1PayrunCheckListResponse
defaultAn unexpected error response.gatewayruntimeError

Get all the roles available for users

GET

Summary

Get tenant roles

Description

Get tenant roles.

Parameters
NameLocated inDescriptionRequiredSchema
modulequeryNostring
Responses
CodeDescriptionSchema
200A successful response.v1TenantRoleMappingResponse
defaultAn unexpected error response.gatewayruntimeError
Request URL
https://bifrost-us.deskera.com/v1/people/tenants/roles/details
Curl
curl -X 'GET' \
'https://bifrost-us.deskera.com/v1/people/tenants/roles/details' \
-H 'accept: application/json' \
-H 'x-access-token: sampletoken'
Sample Request

Sample Response
{
"status": "OK",
"tenantRoles": {
"id": "6332e1f84a34b52444ff72ba",
"erpTenantId": "75531",
"roles": [
{
"roleId": "5f4fd64782e6aa8ee90378ec",
"name": "HR",
"appName": "PEOPLE",
"policies": []
},
{
"roleId": "5f4fd64782e6aa8ee90378eb",
"name": "ADMIN",
"appName": "PEOPLE",
"policies": []
},
{
"roleId": "5f4fd64782e6aa8ee90378ef",
"name": "OWNER",
"appName": "PEOPLE",
"policies": []
},
{
"roleId": "5f4fd64782e6aa8ee90378ed",
"name": "MANAGER",
"appName": "PEOPLE",
"policies": []
},
{
"roleId": "5f4fd64782e6aa8ee90378ee",
"name": "USER",
"appName": "PEOPLE",
"policies": []
},
{
"roleId": "61d28833b26d810f034b96a2",
"name": "PAID_USER",
"appName": "PEOPLE",
"policies": []
},
{
"roleId": "62a32b0a13c229e91fb26036",
"name": "HIRINGADMIN",
"appName": "PEOPLE",
"policies": []
}
]
}
}

Manage Organization/Company Workweek

GET

Summary

Get tenant workweek info

Description

Get tenant workweek info based on its tenant ID contained in auth token

Responses
CodeDescriptionSchema
200A successful response.v1TenantWorkweekResponse
defaultAn unexpected error response.gatewayruntimeError
Request URL
https://bifrost-us.deskera.com/v1/people/tenants/workweek
Curl
curl -X 'GET' \
'https://bifrost-us.deskera.com/v1/people/tenants/workweek' \
-H 'accept: application/json' \
-H 'x-access-token: sampletoken'
Sample Request

Sample Response
{
"workweek": [
{
"day": "monday",
"isWorkingDay": true,
"startTime": "09:00 AM",
"endTime": "06:00 PM",
"duration": 9
},
{
"day": "tuesday",
"isWorkingDay": true,
"startTime": "09:00 AM",
"endTime": "06:00 PM",
"duration": 9
},
{
"day": "wednesday",
"isWorkingDay": true,
"startTime": "09:00 AM",
"endTime": "06:00 PM",
"duration": 9
},
{
"day": "thursday",
"isWorkingDay": true,
"startTime": "09:00 AM",
"endTime": "06:00 PM",
"duration": 9
},
{
"day": "friday",
"isWorkingDay": true,
"startTime": "09:00 AM",
"endTime": "06:00 PM",
"duration": 9
},
{
"day": "saturday",
"isWorkingDay": false,
"startTime": "09:00 AM",
"endTime": "06:00 PM",
"duration": 9
},
{
"day": "sunday",
"isWorkingDay": false,
"startTime": "09:00 AM",
"endTime": "06:00 PM",
"duration": 9
}
]
}

POST

Parameters
NameLocated inDescriptionRequiredSchema
bodybodyYesv1ErpTenantId
Responses
CodeDescriptionSchema
200A successful response.v1TenantWorkweekResponse
defaultAn unexpected error response.gatewayruntimeError
Request URL
https://bifrost-us.deskera.com/v1/people/tenants
Curl
curl-X'PUT'\'https://bifrost-us.deskera.com/v1/people/tenants'\-H'accept: application/json'\-H'x-access-token: sampleaccesstoken'\-H'Content-Type: application/json'\-d'{   ""tenantId"": ""6332e1f84a34b52444ff72b9"",   ""iamUserId"": ""58372"",   ""erpTenantId"": ""75531"",   ""organizationName"": ""SingaporeTEst"",   ""name"": """",   ""companyCode"": """",   ""phone"": """",   ""address"": {     ""addressLine1"": """",     ""addressLine2"": """",     ""zipCode"": """",     ""city"": """",     ""state"": """",     ""country"": ""SG"",     ""suburb"": """",     ""county"": """"   },   ""fax"": """",   ""currency"": ""SGD"",   ""orgSetupCompleted"": true,   ""complianceEnabled"": false,   ""multiCurrencyEnabled"": false,   ""isWorkLocation"": false,   ""profileStages"": {     ""companyDetails"": true,     ""paySchedule"": true,     ""employeeDetails"": true,     ""paymentDetails"": false,     ""cpfDetails"": true,     ""taxDetails"": false,     ""payrollComponents"": true,     ""completeEmployeeProfiles"": false,     ""bankDetails"": false,     ""filingAuthorization"": false   },   ""payrunCheckList"": null,   ""website"": """",   ""emailId"": ""rohan_us_temp@temp.deskera.xyz"",   ""countryCode"": ""SG"",   ""workWeekDetails"": [     {       ""day"": ""monday"",       ""isWorkingDay"": true,       ""startTime"": ""09:00 AM"",       ""endTime"": ""06:00 PM"",       ""duration"": 9     },     {       ""day"": ""tuesday"",       ""isWorkingDay"": true,       ""startTime"": ""09:00 AM"",       ""endTime"": ""06:00 PM"",       ""duration"": 9     },     {       ""day"": ""wednesday"",       ""isWorkingDay"": true,       ""startTime"": ""09:00 AM"",       ""endTime"": ""06:00 PM"",       ""duration"": 9     },     {       ""day"": ""thursday"",       ""isWorkingDay"": true,       ""startTime"": ""09:00 AM"",       ""endTime"": ""06:00 PM"",       ""duration"": 9     },     {       ""day"": ""friday"",       ""isWorkingDay"": true,       ""startTime"": ""09:00 AM"",       ""endTime"": ""06:00 PM"",       ""duration"": 9     },     {       ""day"": ""saturday"",       ""isWorkingDay"": false,       ""startTime"": ""09:00 AM"",       ""endTime"": ""06:00 PM"",       ""duration"": 9     },     {       ""day"": ""sunday"",       ""isWorkingDay"": false,       ""startTime"": ""09:00 AM"",       ""endTime"": ""06:00 PM"",       ""duration"": 9     }   ],   ""dateOfCreation"": ""2022-09-27T08:53:56.678Z"",   ""companyId"": """",   ""legalEntityName"": """",   ""contactNumber"": """",   ""companySignatory"": """",   ""businessClassification"": {     ""id"": ""000000000000000000000000"",     ""dwollaId"": """",     ""name"": """",     ""industryClassification"": {       ""dwollaId"": """",       ""name"": """"     }   },   ""UBI"": {     ""type"": """",     ""value"": """"   },   ""businessType"": """",   ""lineOfBusiness"": """",   ""businessDescription"": """",   ""UMR"": 0,   ""companyEmail"": """",   ""compliance"": {     ""@type"": ""type.googleapis.com/v1.DefaultCompliance"",     ""countryCode"": """"   },   ""signatoryVerificationStatus"": """",   ""tenantConfiguration"": null,   ""dwollaDocumentRequiredFor"": """",   ""oldFlow"": false,   ""isCashfreeEnabled"": false,   ""isAddBankAcc"": false,   ""checkNumber"": ""0"",   ""isLocationActive"": false,   ""locationType"": """",   ""checkHQIntegration"": false,   ""checkHQCompanyCreated"": false,   ""checkHqError"": null,   ""isCheckhqOffCyclePaymentEnabled"": false,   ""isPaypalPaymentEnabled"": false,   ""payrunCalcCriteria"": ""numberOfWorkingDaysInMonth"",   ""enableShiftManagement"": false }'

Sample Request
{
""tenantId"": ""6332e1f84a34b52444ff72b9"",
""iamUserId"": ""58372"",
""erpTenantId"": ""75531"",
""organizationName"": ""SingaporeTEst"",
""name"": """",
""companyCode"": """",
""phone"": """",
""address"": {
""addressLine1"": """",
""addressLine2"": """",
""zipCode"": """",
""city"": """",
""state"": """",
""country"": ""SG"",
""suburb"": """",
""county"": """"
},
""fax"": """",
""currency"": ""SGD"",
""orgSetupCompleted"": true,
""complianceEnabled"": false,
""multiCurrencyEnabled"": false,
""isWorkLocation"": false,
""profileStages"": {
""companyDetails"": true,
""paySchedule"": true,
""employeeDetails"": true,
""paymentDetails"": false,
""cpfDetails"": true,
""taxDetails"": false,
""payrollComponents"": true,
""completeEmployeeProfiles"": false,
""bankDetails"": false,
""filingAuthorization"": false
},
""payrunCheckList"": null,
""website"": """",
""emailId"": ""rohan_us_temp@temp.deskera.xyz"",
""countryCode"": ""SG"",
""workWeekDetails"": [
{
""day"": ""monday"",
""isWorkingDay"": true,
""startTime"": ""09:00 AM"",
""endTime"": ""06:00 PM"",
""duration"": 9
},
{
""day"": ""tuesday"",
""isWorkingDay"": true,
""startTime"": ""09:00 AM"",
""endTime"": ""06:00 PM"",
""duration"": 9
},
{
""day"": ""wednesday"",
""isWorkingDay"": true,
""startTime"": ""09:00 AM"",
""endTime"": ""06:00 PM"",
""duration"": 9
},
{
""day"": ""thursday"",
""isWorkingDay"": true,
""startTime"": ""09:00 AM"",
""endTime"": ""06:00 PM"",
""duration"": 9
},
{
""day"": ""friday"",
""isWorkingDay"": true,
""startTime"": ""09:00 AM"",
""endTime"": ""06:00 PM"",
""duration"": 9
},
{
""day"": ""saturday"",
""isWorkingDay"": false,
""startTime"": ""09:00 AM"",
""endTime"": ""06:00 PM"",
""duration"": 9
},
{
""day"": ""sunday"",
""isWorkingDay"": false,
""startTime"": ""09:00 AM"",
""endTime"": ""06:00 PM"",
""duration"": 9
}
],
""dateOfCreation"": ""2022-09-27T08:53:56.678Z"",
""companyId"": """",
""legalEntityName"": """",
""contactNumber"": """",
""companySignatory"": """",
""businessClassification"": {
""id"": ""000000000000000000000000"",
""dwollaId"": """",
""name"": """",
""industryClassification"": {
""dwollaId"": """",
""name"": """"
}
},
""UBI"": {
""type"": """",
""value"": """"
},
""businessType"": """",
""lineOfBusiness"": """",
""businessDescription"": """",
""UMR"": 0,
""companyEmail"": """",
""compliance"": {
""@type"": ""type.googleapis.com/v1.DefaultCompliance"",
""countryCode"": """"
},
""signatoryVerificationStatus"": """",
""tenantConfiguration"": null,
""dwollaDocumentRequiredFor"": """",
""oldFlow"": false,
""isCashfreeEnabled"": false,
""isAddBankAcc"": false,
""checkNumber"": ""0"",
""isLocationActive"": false,
""locationType"": """",
""checkHQIntegration"": false,
""checkHQCompanyCreated"": false,
""checkHqError"": null,
""isCheckhqOffCyclePaymentEnabled"": false,
""isPaypalPaymentEnabled"": false,
""payrunCalcCriteria"": ""numberOfWorkingDaysInMonth"",
""enableShiftManagement"": true
}
Sample Response
{
""status"": ""OK"",
""tenant"": {
""tenantId"": ""6332e1f84a34b52444ff72b9"",
""iamUserId"": ""58372"",
""erpTenantId"": ""75531"",
""organizationName"": ""SingaporeTEst"",
""name"": """",
""companyCode"": """",
""phone"": """",
""address"": {
""addressLine1"": """",
""addressLine2"": """",
""zipCode"": """",
""city"": """",
""state"": """",
""country"": ""SG"",
""suburb"": """",
""county"": """"
},
""fax"": """",
""currency"": ""SGD"",
""orgSetupCompleted"": true,
""complianceEnabled"": false,
""multiCurrencyEnabled"": false,
""isWorkLocation"": false,
""profileStages"": {
""companyDetails"": true,
""paySchedule"": true,
""employeeDetails"": true,
""paymentDetails"": false,
""cpfDetails"": true,
""taxDetails"": false,
""payrollComponents"": true,
""completeEmployeeProfiles"": false,
""bankDetails"": false,
""filingAuthorization"": false
},
""payrunCheckList"": null,
""website"": """",
""emailId"": ""rohan_us_temp@temp.deskera.xyz"",
""countryCode"": ""SG"",
""workWeekDetails"": [
{
""day"": ""monday"",
""isWorkingDay"": true,
""startTime"": ""09:00 AM"",
""endTime"": ""06:00 PM"",
""duration"": 9
},
{
""day"": ""tuesday"",
""isWorkingDay"": true,
""startTime"": ""09:00 AM"",
""endTime"": ""06:00 PM"",
""duration"": 9
},
{
""day"": ""wednesday"",
""isWorkingDay"": true,
""startTime"": ""09:00 AM"",
""endTime"": ""06:00 PM"",
""duration"": 9
},
{
""day"": ""thursday"",
""isWorkingDay"": true,
""startTime"": ""09:00 AM"",
""endTime"": ""06:00 PM"",
""duration"": 9
},
{
""day"": ""friday"",
""isWorkingDay"": true,
""startTime"": ""09:00 AM"",
""endTime"": ""06:00 PM"",
""duration"": 9
},
{
""day"": ""saturday"",
""isWorkingDay"": false,
""startTime"": ""09:00 AM"",
""endTime"": ""06:00 PM"",
""duration"": 9
},
{
""day"": ""sunday"",
""isWorkingDay"": false,
""startTime"": ""09:00 AM"",
""endTime"": ""06:00 PM"",
""duration"": 9
}
],
""dateOfCreation"": ""2022-09-27T08:53:56.678Z"",
""companyId"": """",
""legalEntityName"": """",
""contactNumber"": """",
""companySignatory"": """",
""businessClassification"": {
""id"": ""000000000000000000000000"",
""dwollaId"": """",
""name"": """",
""industryClassification"": {
""dwollaId"": """",
""name"": """"
}
},
""UBI"": {
""type"": """",
""value"": """"
},
""businessType"": """",
""lineOfBusiness"": """",
""businessDescription"": """",
""UMR"": 0,
""companyEmail"": """",
""compliance"": {
""@type"": ""type.googleapis.com/v1.DefaultCompliance"",
""countryCode"": """"
},
""signatoryVerificationStatus"": """",
""tenantConfiguration"": null,
""dwollaDocumentRequiredFor"": """",
""oldFlow"": false,
""isCashfreeEnabled"": false,
""isAddBankAcc"": false,
""checkNumber"": ""0"",
""isLocationActive"": false,
""locationType"": """",
""checkHQIntegration"": false,
""checkHQCompanyCreated"": false,
""checkHqError"": null,
""isCheckhqOffCyclePaymentEnabled"": false,
""isPaypalPaymentEnabled"": false,
""payrunCalcCriteria"": ""numberOfWorkingDaysInMonth"",
""enableShiftManagement"": true
}
}

Manage Tax Details of your organization/Company

GET

Summary

Get tax detail

Description

Get new tax details.

Parameters
NameLocated inDescriptionRequiredSchema
countryCodepathYesstring
Responses
CodeDescriptionSchema
200A successful response.v1TaxDetailResponse
defaultAn unexpected error response.gatewayruntimeError
Request URL
https://bifrost-us.deskera.com/v1/people/tenants/{countryCode}/tax
Curl
curl -X 'GET' \
'https://bifrost-us.deskera.com/v1/people/tenants/IN/tax' \
-H 'accept: application/json' \
-H 'x-access-token: sampletoken'```
Sample Request

Sample Response
{
"id": "635ba97f5ced530c2f3be9e0",
"erpTenantId": "74192",
"federalEmployeeIdNo": ",
"businessType": ",
"federalFilterType": ",
"federalDepositSchedule": ",
"receivedFUTATaxCredit": false,
"compliance": {
"@type": "type.googleapis.com/v1.INTaxDetails",
"epefNumber": "AAAAA3245345333",
"epfEmployerContribution": "Restrict to 15000",
"esiNumber": "45645646456456444",
"esiEmployerContribution": 0,
"esiEmployeeContribution": 0,
"ptNumber": "345343",
"epfApplicable": true,
"esiApplicable": true,
"laborWelfareFund": false,
"edliApplicable": false,
"epfAdminChargesApplicable": false,
"epfContributionInCtc": false,
"edliContributionInCtc": false,
"epfAdminContributionInCtc": false,
"esiContributionInCtc": false,
"epfEmployeeContribution": "12% of PF Wage"
},
"tenantId": "629636e6d3e4fba66b81d705",
"hasBeneficialOwners": false,
"stateCode": "
}

POST

Summary

Add tax detail

Description

Add new tax details.

Parameters
NameLocated inDescriptionRequiredSchema
countryCodepathYesstring
bodybodyYesv1TaxDetail
Responses
CodeDescriptionSchema
200A successful response.v1TaxDetailResponse
defaultAn unexpected error response.gatewayruntimeError
Request URL
https://bifrost-us.deskera.com/v1/people/tenants/{countryCode}/tax
Curl
curl -X 'POST' \
'https://bifrost-us.deskera.com/v1/people/tenants/IN/tax' \
-H 'accept: application/json' \
-H 'x-access-token: sampletoken' \
-H 'Content-Type: application/json' \
-d '{"compliance":{"@type":"type.googleapis.com/v1.INTaxDetails","epefNumber":"AAAAA3245345333","epfEmployerContribution":"Restrict to 15000","epfEmployeeContribution":"12% of PF Wage","esiNumber":"45645646456456444","esiEmployerContribution":0,"esiEmployeeContribution":0,"ptNumber":"345343","epfApplicable":true,"esiApplicable":true,"edliApplicable":false,"epfAdminChargesApplicable":false,"epfContributionInCtc":false,"edliContributionInCtc":false,"epfAdminContributionInCtc":false,"laborWelfareFund":false,"esiContributionInCtc":false},"countryCode":"IN"}'
Sample Request
{
"compliance": {
"@type": "type.googleapis.com/v1.INTaxDetails",
"epefNumber": "AAAAA3245345333",
"epfEmployerContribution": "Restrict to 15000",
"epfEmployeeContribution": "12% of PF Wage",
"esiNumber": "45645646456456444",
"esiEmployerContribution": 0,
"esiEmployeeContribution": 0,
"ptNumber": "345343",
"epfApplicable": true,
"esiApplicable": true,
"edliApplicable": false,
"epfAdminChargesApplicable": false,
"epfContributionInCtc": false,
"edliContributionInCtc": false,
"epfAdminContributionInCtc": false,
"laborWelfareFund": false,
"esiContributionInCtc": false
},
"countryCode": "IN"
}
Sample Response
{
"id": "635babe3e0c4dfe41091136e",
"erpTenantId": "74192",
"federalEmployeeIdNo": ",
"businessType": ",
"federalFilterType": ",
"federalDepositSchedule": ",
"receivedFUTATaxCredit": false,
"compliance": {
"@type": "type.googleapis.com/v1.INTaxDetails",
"epefNumber": "AAAAA3245345333",
"epfEmployerContribution": "Restrict to 15000",
"esiNumber": "45645646456456444",
"esiEmployerContribution": 0,
"esiEmployeeContribution": 0,
"ptNumber": "345343",
"epfApplicable": true,
"esiApplicable": true,
"laborWelfareFund": false,
"edliApplicable": false,
"epfAdminChargesApplicable": false,
"epfContributionInCtc": false,
"edliContributionInCtc": false,
"epfAdminContributionInCtc": false,
"esiContributionInCtc": false,
"epfEmployeeContribution": "12% of PF Wage"
},
"tenantId": "629636e6d3e4fba66b81d705",
"hasBeneficialOwners": false,
"stateCode": "
}

PUT

Summary

Update tax detail

Description

Update new tax details.

Parameters
NameLocated inDescriptionRequiredSchema
countryCodepathYesstring
bodybodyYesv1TaxDetail
Responses
CodeDescriptionSchema
200A successful response.v1TaxDetailResponse
defaultAn unexpected error response.gatewayruntimeError
Request URL
https://bifrost-us.deskera.com/v1/people/tenants/{countryCode}/tax
Curl
curl -X 'PUT' \
'http://localhost:8082/v1/people/tenants/IN/tax' \
-H 'accept: application/json' \
-H 'x-access-token: sampletoken' \
-H 'Content-Type: application/json' \
-d '{"compliance":{"@type":"type.googleapis.com/v1.INTaxDetails","epefNumber":"AAAAA3245345336","epfEmployerContribution":"Restrict to 15000","esiNumber":"45645646456456444","esiEmployerContribution":0,"esiEmployeeContribution":0,"ptNumber":"345343","epfApplicable":true,"esiApplicable":true,"laborWelfareFund":false,"edliApplicable":false,"epfAdminChargesApplicable":false,"epfContributionInCtc":false,"edliContributionInCtc":false,"epfAdminContributionInCtc":false,"esiContributionInCtc":false,"epfEmployeeContribution":"12% of PF Wage"},"id":"635ba97f5ced530c2f3be9e0","countryCode":"IN"}'
Sample Request
{
"compliance": {
"@type": "type.googleapis.com/v1.INTaxDetails",
"epefNumber": "AAAAA3245345336",
"epfEmployerContribution": "Restrict to 15000",
"esiNumber": "45645646456456444",
"esiEmployerContribution": 0,
"esiEmployeeContribution": 0,
"ptNumber": "345343",
"epfApplicable": true,
"esiApplicable": true,
"laborWelfareFund": false,
"edliApplicable": false,
"epfAdminChargesApplicable": false,
"epfContributionInCtc": false,
"edliContributionInCtc": false,
"epfAdminContributionInCtc": false,
"esiContributionInCtc": false,
"epfEmployeeContribution": "12% of PF Wage"
},
"id": "635ba97f5ced530c2f3be9e0",
"countryCode": "IN"
}
Sample Response
{
"id": "635ba97f5ced530c2f3be9e0",
"erpTenantId": "74192",
"federalEmployeeIdNo": ",
"businessType": ",
"federalFilterType": ",
"federalDepositSchedule": ",
"receivedFUTATaxCredit": false,
"compliance": {
"@type": "type.googleapis.com/v1.INTaxDetails",
"epefNumber": "AAAAA3245345336",
"epfEmployerContribution": "Restrict to 15000",
"esiNumber": "45645646456456444",
"esiEmployerContribution": 0,
"esiEmployeeContribution": 0,
"ptNumber": "345343",
"epfApplicable": true,
"esiApplicable": true,
"laborWelfareFund": false,
"edliApplicable": false,
"epfAdminChargesApplicable": false,
"epfContributionInCtc": false,
"edliContributionInCtc": false,
"epfAdminContributionInCtc": false,
"esiContributionInCtc": false,
"epfEmployeeContribution": "12% of PF Wage"
},
"tenantId": "629636e6d3e4fba66b81d705",
"hasBeneficialOwners": false,
"stateCode": "
}

Manage Malaysia Country Tax Details

POST

Summary

Add MY user tax detail

Description

Add MY user tax details.

Parameters
NameLocated inDescriptionRequiredSchema
bodybodyYesv1MYUserTaxDetails
Responses
CodeDescriptionSchema
200A successful response.v1AddUpdateMYUserTaxDetailsResponse
defaultAn unexpected error response.gatewayruntimeError

PUT

Summary

Update MY user tax detail

Description

Update MY user tax details.

Parameters
NameLocated inDescriptionRequiredSchema
bodybodyYesv1MYUserTaxDetails
Responses
CodeDescriptionSchema
200A successful response.v1AddUpdateMYUserTaxDetailsResponse
defaultAn unexpected error response.gatewayruntimeError

Fetch Manage Malaysia Country Tax Details

POST

Summary

Get MY user tax detail

Description

Get MY user tax details.

Parameters
NameLocated inDescriptionRequiredSchema
bodybodyYesv1MYUserTaxDetailsRequest
Responses
CodeDescriptionSchema
200A successful response.v1MYUserTaxDetailsResponse
defaultAn unexpected error response.gatewayruntimeError

Models

gatewayruntimeError

NameTypeDescriptionRequired
errorstringNo
codeintegerNo
messagestringNo
details[ protobufAny ]No

protobufAny

Any contains an arbitrary serialized protocol buffer message along with a URL that describes the type of the serialized message.

Protobuf library provides support to pack/unpack Any values in the form of utility functions or additional generated methods of the Any type.

Example 1: Pack and unpack a message in C++.

Foo foo = ...;
Any any;
any.PackFrom(foo);
...
if (any.UnpackTo(&foo)) {
...
}

Example 2: Pack and unpack a message in Java.

Foo foo = ...;
Any any = Any.pack(foo);
...
if (any.is(Foo.class)) {
foo = any.unpack(Foo.class);
}

Example 3: Pack and unpack a message in Python.

foo = Foo(...)
any = Any()
any.Pack(foo)
...
if any.Is(Foo.DESCRIPTOR):
any.Unpack(foo)
...

Example 4: Pack and unpack a message in Go

 foo := &pb.Foo{...}
any, err := ptypes.MarshalAny(foo)
...
foo := &pb.Foo{}
if err := ptypes.UnmarshalAny(any, foo); err != nil {
...
}

The pack methods provided by protobuf library will by default use 'type.googleapis.com/full.type.name' as the type URL and the unpack methods only use the fully qualified type name after the last '/' in the type URL, for example "foo.bar.com/x/y.z" will yield type name "y.z".

JSON

The JSON representation of an Any value uses the regular representation of the deserialized, embedded message, with an additional field @type which contains the type URL. Example:

package google.profile;
message Person {
string first_name = 1;
string last_name = 2;
}

{
"@type": "type.googleapis.com/google.profile.Person",
"firstName": <string>,
"lastName": <string>
}

If the embedded message type is well-known and has a custom JSON representation, that representation will be embedded adding a field value which holds the custom JSON in addition to the @type field. Example (for message [google.protobuf.Duration][]):

{
"@type": "type.googleapis.com/google.protobuf.Duration",
"value": "1.212s"
}
NameTypeDescriptionRequired
type_urlstringA URL/resource name that uniquely identifies the type of the serialized protocol buffer message. This string must contain at least one "/" character. The last segment of the URL's path must represent the fully qualified name of the type (as in path/google.protobuf.Duration). The name should be in a canonical form (e.g., leading "." is not accepted). In practice, teams usually precompile into the binary all types that they expect it to use in the context of Any. However, for URLs which use the scheme http, https, or no scheme, one can optionally set up a type server that maps type URLs to message definitions as follows: If no scheme is provided, https is assumed. An HTTP GET on the URL must yield a [google.protobuf.Type][] value in binary format, or produce an error. * Applications are allowed to cache lookup results based on the URL, or have them precompiled into a binary to avoid any lookup. Therefore, binary compatibility needs to be preserved on changes to types. (Use versioned type names to manage breaking changes.) Note: this functionality is not currently available in the official protobuf release, and it is not used for type URLs beginning with type.googleapis.com. Schemes other than http, https (or the empty scheme) might be used with implementation specific semantics.No
valuebyteMust be a valid serialized protocol buffer of the above specified type.No

v1AddBusinessClassificationsRequest

NameTypeDescriptionRequired
businessClassifications[ v1BusinessClassification ]No

v1AddUpdateMYUserTaxDetailsResponse

NameTypeDescriptionRequired
myUserTaxDetailsv1MYUserTaxDetailsNo
msgstringNo

v1Address

NameTypeDescriptionRequired
addressLine1stringNo
addressLine2stringNo
zipCodestringNo
citystringNo
statestringNo
countrystringNo
suburbstringNo
countystringNo

v1BusinessClassification

NameTypeDescriptionRequired
idstringNo
dwollaIdstringNo
namestringNo
industryClassifications[ v1IndustryClassification ]No

v1BusinessClassificationsResponse

NameTypeDescriptionRequired
statusv1StatusNo
businessClassifications[ v1BusinessClassification ]No
checkCompanyTypesv1CheckCompanyTypesNo

v1CheckCompanyTypes

NameTypeDescriptionRequired
idstringNo
companyType[ v1Types ]No
industryType[ v1Types ]No

v1CheckComponentRequest

NameTypeDescriptionRequired
componentstringNo
employeeIdstringNo
modulestringNo

v1CheckComponentUrlResponse

NameTypeDescriptionRequired
urlstringNo

v1CheckHQSyncRequest

NameTypeDescriptionRequired
modulestringNo
componentstringNo
employeeIdstringNo

v1CheckHQSyncResponse

NameTypeDescriptionRequired
statusv1StatusNo
modulestringNo
msgstringNo

v1ChecklistItem

NameTypeDescriptionRequired
indexstring (int64)No
isCheckedbooleanNo
questionstringNo

v1Component

NameTypeDescriptionRequired
namestringNo
idstringNo
expenseAccountstringNo
liabilityAccountstringNo
isTaxbooleanNo

v1Condition

NameTypeDescriptionRequired
colIdstringNo
valuestringNo
oprstringNo

v1CountryFeaturesResponse

NameTypeDescriptionRequired
isRevertPayrunAllowedbooleanNo
isDeletePayrunAllowedbooleanNo
isEmployeeExportEnabledbooleanNo

v1DeclarationConfigRequest

NameTypeDescriptionRequired
declarationStartDatedateTimeNo
declarationEndDatedateTimeNo
declarationLockStatusbooleanNo
considerForITDeclarationbooleanNo
declarationEffectiveMonthstringNo
activebooleanNo
idstringNo
updateLockbooleanNo

v1DeclarationConfigResponse

NameTypeDescriptionRequired
declarationStartDatedateTimeNo
declarationEndDatedateTimeNo
declarationLockStatusbooleanNo
considerForITDeclarationbooleanNo
declarationEffectiveMonthstringNo
activebooleanNo
idstringNo

v1DuplicateEmailResponse

NameTypeDescriptionRequired
isdupliacateEmailbooleanNo
isdupliacateContactbooleanNo

v1EntitledUser

NameTypeDescriptionRequired
firstNamestringNo
lastNamestringNo
designationstringNo
iamUserIdstring (int64)No
roles[ v1Role ]No

v1EntitlementResponse

NameTypeDescriptionRequired
leaveTypes[ v1LeavesTypeDetail ]No
leaveDetails[ v1LeaveDetails ]No
filterConfigv1FilterConfigNo

v1ErpTenantId

NameTypeDescriptionRequired
erpTenantIdbyteNo

v1FilterConfig

NameTypeDescriptionRequired
pagestring (int64)No
numberOfElementsstring (int64)No
sizePerPagestring (int64)No
totalPagestring (int64)No
numberOfRecordsstring (int64)No

v1FinancialYear

NameTypeDescriptionRequired
startDatedateTimeNo
endDatedateTimeNo

v1GeoFencingPlansResponse

NameTypeDescriptionRequired
plans[ string ]No

v1GetTenantResponse

NameTypeDescriptionRequired
statusv1StatusNo
tenantv1TenantResponseNo

v1GetTenantShortInfoResponse

NameTypeDescriptionRequired
statusv1StatusNo
tenantShortInfov1TenantShortInfoNo

v1IndustryClassification

NameTypeDescriptionRequired
dwollaIdstringNo
namestringNo

v1IntegrationMapping

NameTypeDescriptionRequired
payTypestringNo
expenseAccountstringNo
liabilityAccountstringNo
components[ v1Component ]No

v1IntegrationMappingRequest

NameTypeDescriptionRequired
idstringNo
activebooleanNo
whenJEPostedstringNo
mapping[ v1IntegrationMapping ]No

v1IntegrationMappingResponse

NameTypeDescriptionRequired
idstringNo
tenantIdstringNo
erpTenantIdstring (int64)No
countryCodestringNo
activebooleanNo
whenJEPostedstringNo
mapping[ v1IntegrationMapping ]No

v1InvestmentConfigRequest

NameTypeDescriptionRequired
declarationConfig[ v1DeclarationConfigRequest ]No
proofOfInvestmentConfig[ v1ProofOfInvestmentConfigRequest ]No

v1InvestmentConfigResponse

NameTypeDescriptionRequired
declarationConfig[ v1DeclarationConfigResponse ]No
proofOfInvestmentConfig[ v1ProofOfInvestmentConfigResponse ]No

v1LeaveBalance

NameTypeDescriptionRequired
_idstringNo
leaveTypestringNo
entitledLeavesfloatNo
carryForwardLeavesfloatNo
earnedLeavesfloatNo
takenLeavesfloatNo
balanceLeavesfloatNo
colorCodestringNo
isPaidbooleanNo
appliedLeavesfloatNo
isFromLeaveDetailsbooleanNo
isAllowForUnpaidLeavebooleanNo
adjustedLeavesfloatNo
carryForwardExpiredBalfloatNo

v1LeaveDetails

NameTypeDescriptionRequired
usersv1EntitledUserNo
leaveBalanace[ v1LeaveBalance ]No

v1LeavesTypeDetail

NameTypeDescriptionRequired
_idstringNo
leaveDescriptionstringNo
leaveTypestringNo
colorCodestringNo
isPaidbooleanNo
leaveStatusstringNo
daysPerYearfloatNo
isApplicableToAllbooleanNo
isAllowForUnpaidLeavebooleanNo

v1MYUserTaxDetails

NameTypeDescriptionRequired
idstringNo
erpTenantIdstring (int64)No
countryCodestringNo
userIdstringNo
basicSupportstring (int64)No
medicalExaminationstring (int64)No
retirementSchemeAnnuityContributionstring (int64)No
educationMedicalInsurancePremiumstring (int64)No
selfHigherEducationFeesstring (int64)No
houseLoanIntereststring (int64)No
parentsNeedsCareMedicalExpensesstring (int64)No
seriousDiseasesMedicalExpensesstring (int64)No
netDepositSspnsstring (int64)No
alimonyPaymentToWifestring (int64)No
childCareKindergartensFeesDeductionstring (int64)No
lifeStyleDeductionstring (int64)No
feedingEquipmentPurchaseDeductionstring (int64)No
lifeInsurancestring (int64)No
totalAccumulatedFeesstring (int64)No
employeeSocsostring (int64)No
employerSocsostring (int64)No

v1MYUserTaxDetailsRequest

NameTypeDescriptionRequired
userIds[ string ]No

v1MYUserTaxDetailsResponse

NameTypeDescriptionRequired
myUserTaxDetails[ v1MYUserTaxDetails ]No

v1NotificationSetting

NameTypeDescriptionRequired
idstringNo
namestringNo
valuebooleanNo
keystringNo
typestringNo
descriptionstringNo

v1OrderBy

NameTypeDescriptionRequired
fieldstringNo
orderstringNo

v1PaymentDetails

NameTypeDescriptionRequired
bankstringNo
bankIdstringNo
paymentMethodstringNo
accountTypestringNo
routingNumberstringNo
accountNumberstringNo
branchCodestringNo
branchNamestringNo
ifscstringNo
upistringNo
transitNumberstringNo
institutionNumberstringNo

v1PaymentIntegrationStatus

NameTypeDescriptionRequired
statusstringNo

v1PayrunCheckList

NameTypeDescriptionRequired
checklist[ v1ChecklistItem ]No

v1PayrunCheckListResponse

NameTypeDescriptionRequired
statusv1StatusNo
checklist[ v1ChecklistItem ]No

v1ProfileStage

NameTypeDescriptionRequired
stagestringNo

v1ProfileStagesResponse

NameTypeDescriptionRequired
companyDetailsbooleanNo
paySchedulebooleanNo
employeeDetailsbooleanNo
paymentDetailsbooleanNo
cpfDetailsbooleanNo
taxDetailsbooleanNo
payrollComponentsbooleanNo
completeEmployeeProfilesbooleanNo
bankDetailsbooleanNo
filingAuthorizationbooleanNo

v1ProofOfInvestmentConfigRequest

NameTypeDescriptionRequired
proofOfInvestmentStartDatedateTimeNo
proofOfInvestmentEndDatedateTimeNo
proofOfInvestmentLockStatusbooleanNo
activebooleanNo
idstringNo
updateLockbooleanNo

v1ProofOfInvestmentConfigResponse

NameTypeDescriptionRequired
proofOfInvestmentStartDatedateTimeNo
proofOfInvestmentEndDatedateTimeNo
proofOfInvestmentLockStatusbooleanNo
activebooleanNo
idstringNo

v1Role

NameTypeDescriptionRequired
roleIdstringNo
namestringNo
appNamestringNo
policies[ string ]No

v1Status

NameTypeDescriptionRequired
v1Statusstring

v1TaxDetail

NameTypeDescriptionRequired
idstringNo
countryCodestringNo
complianceprotobufAnyNo
federalEmployeeIdNostringNo
businessTypestringNo
federalFilterTypestringNo
federalDepositSchedulestringNo
texasWCAccountNostringNo
effectiveUIRatefloatNo
receivedFUTATaxCreditbooleanNo
hasBeneficialOwnersbooleanNo
stateCodestringNo

v1TaxDetailResponse

NameTypeDescriptionRequired
idstringNo
erpTenantIdstring (int64)No
tenantIdstringNo
federalEmployeeIdNostringNo
businessTypestringNo
federalFilterTypestringNo
federalDepositSchedulestringNo
texasWCAccountNostringNo
effectiveUIRatefloatNo
receivedFUTATaxCreditbooleanNo
complianceprotobufAnyNo
hasBeneficialOwnersbooleanNo
stateCodestringNo

v1Tenant

NameTypeDescriptionRequired
tenantIdstringNo
iamUserIdstring (int64)No
erpTenantIdstring (int64)No
organizationNamestringNo
namestringNo
companyCodestringNo
phonestringNo
addressv1AddressNo
faxstringNo
currencystringNo
orgSetupCompletedbooleanNo
complianceEnabledbooleanNo
multiCurrencyEnabledbooleanNo
isWorkLocationbooleanNo
paymentDetailsv1PaymentDetailsNo
profileStagesv1ProfileStagesResponseNo
payrunCheckListv1PayrunCheckListNo
websitestringNo
emailIdstringNo
countryCodestringNo
workWeekDetails[ v1WorkWeek ]No
dateOfCreationdateTimeNo
companyIdstringNo
legalEntityNamestringNo
contactNumberstringNo
companySignatorystringNo
businessClassificationv1TenantBusinessClassificationNo
UBIv1UniqueBusinessIdentifierNo
businessTypestringNo
lineOfBusinessstringNo
businessDescriptionstringNo
UMRfloatNo
companyEmailstringNo
complianceprotobufAnyNo
signatoryVerificationStatusstringNo
dwollaDocumentRequiredForstringNo
oldFlowbooleanNo
isCashfreeEnabledbooleanNo
isAddBankAccbooleanNo
checkNumberstring (int64)No
refreshTokenstringNo
isLocationActivebooleanNo
locationTypestringNo
checkHQIntegrationbooleanNo
checkHQCompanyCreatedbooleanNo
isCheckhqOffCyclePaymentEnabledbooleanNo
isPaypalPaymentEnabledbooleanNo
payrunCalcCriteriastringNo
enableShiftManagementbooleanNo

v1TenantBusinessClassification

NameTypeDescriptionRequired
idstringNo
dwollaIdstringNo
namestringNo
industryClassificationv1IndustryClassificationNo

v1TenantConfigurationRequest

NameTypeDescriptionRequired
countryCodestringNo
tenantIdstringNo
financialYearv1FinancialYearNo
investmentConfigv1InvestmentConfigRequestNo
confIdstringNo
dateFormatstringNo
decimalFormatstring (int64)No
geofencingbooleanNo

v1TenantConfigurationResponse

NameTypeDescriptionRequired
countryCodestringNo
tenantIdstringNo
financialYearv1FinancialYearNo
investmentConfigv1InvestmentConfigResponseNo
confIdstringNo
dateFormatstringNo
decimalFormatstring (int64)No
geofencingbooleanNo

v1TenantNotificationSetting

NameTypeDescriptionRequired
idstringNo
tenantIdstring (int64)No
settings[ v1NotificationSetting ]No
updatedAtdateTimeNo
updatedBystring (int64)No

v1TenantProfileStagesResponse

NameTypeDescriptionRequired
statusv1StatusNo
tenantIdstringNo
profileStagesv1ProfileStagesResponseNo

v1TenantResponse

NameTypeDescriptionRequired
tenantIdstringNo
iamUserIdstring (int64)No
erpTenantIdstring (int64)No
organizationNamestringNo
namestringNo
companyCodestringNo
phonestringNo
addressv1AddressNo
faxstringNo
currencystringNo
orgSetupCompletedbooleanNo
complianceEnabledbooleanNo
multiCurrencyEnabledbooleanNo
isWorkLocationbooleanNo
profileStagesv1ProfileStagesResponseNo
payrunCheckListv1PayrunCheckListNo
websitestringNo
emailIdstringNo
countryCodestringNo
workWeekDetails[ v1WorkWeek ]No
dateOfCreationdateTimeNo
companyIdstringNo
legalEntityNamestringNo
contactNumberstringNo
companySignatorystringNo
businessClassificationv1TenantBusinessClassificationNo
UBIv1UniqueBusinessIdentifierNo
businessTypestringNo
lineOfBusinessstringNo
businessDescriptionstringNo
UMRfloatNo
companyEmailstringNo
complianceprotobufAnyNo
signatoryVerificationStatusstringNo
tenantConfigurationv1TenantConfigurationResponseNo
dwollaDocumentRequiredForstringNo
oldFlowbooleanNo
isCashfreeEnabledbooleanNo
isAddBankAccbooleanNo
checkNumberstring (int64)No
isLocationActivebooleanNo
locationTypestringNo
checkHQIntegrationbooleanNo
checkHQCompanyCreatedbooleanNo
checkHqErrorprotobufAnyNo
isCheckhqOffCyclePaymentEnabledbooleanNo
isPaypalPaymentEnabledbooleanNo
payrunCalcCriteriastringNo
enableShiftManagementbooleanNo

v1TenantRoleMapping

NameTypeDescriptionRequired
idstringNo
erpTenantIdstring (int64)No
roles[ v1Role ]No

v1TenantRoleMappingResponse

NameTypeDescriptionRequired
statusv1StatusNo
tenantRolesv1TenantRoleMappingNo

v1TenantShortInfo

NameTypeDescriptionRequired
tenantIdstringNo
organizationNamestringNo
namestringNo
companyCodestringNo
phonestringNo
addressv1AddressNo
faxstringNo
currencystringNo
countryCodestringNo
companyIdstringNo
legalEntityNamestringNo
contactNumberstringNo
businessClassificationv1TenantBusinessClassificationNo
companySignatorystringNo
companyEmailstringNo
oldFlowbooleanNo
isAddBankAccbooleanNo
checkNumberstring (int64)No
isLocationActivebooleanNo
locationTypestringNo

v1TenantWorkweekResponse

NameTypeDescriptionRequired
workweek[ v1WorkWeek ]No

v1ToggleIntegrationMappingRequest

NameTypeDescriptionRequired
activebooleanNo

v1Types

NameTypeDescriptionRequired
valuestringNo
labelstringNo

v1UniqueBusinessIdentifier

NameTypeDescriptionRequired
typestringNo
valuestringNo

v1UpdatedCount

NameTypeDescriptionRequired
countstring (int64)No

v1UserFilter

NameTypeDescriptionRequired
conditions[ v1Condition ]No

v1WorkWeek

NameTypeDescriptionRequired
daystringNo
isWorkingDaybooleanNo
startTimestringNo
endTimestringNo
durationfloatNo