API Reference
- Company Onboarding
- User Onboarding
- Admin Portal
- User Portal
- Payroll
- Benefits
- Reports
- GETGetBusinessUserInfo
- GETGetUserTask
- GETGetUsersByCompanyName
- GETGetCompanies
- GETGetPaidEmployeesCountBasedOnDateRange
- GETGetPayPeriodDetails
- GETGetPayPeriod
- GETGetCompanyInfo
- GETGetCompanyLocationInfo
- GETGetActiveUsers
- GETGetTerminatedUsers
- GETGetDeactivatedUsers
- GETGetPayrollHistoryBasedOnPayPeriod
- GETGetPayrollHistoryBasedOnDateRange
- GETGetPayRun
- GETGetPaySchedule
- GETGetPayStub
- GETGetTransactionBasedOnReference
- GETGetTransactions
- GETGetTransactionsBasedOnName
- GETGetBusinessUserDetails
- GETGetStateW4FormFeilds
- GETGetPayrollJournalReport
- GETGetUser
- GETGetPayBeginDates
- GETGetStateRegistration
- GETGetIndividualPayrollHistory
- GET
- Webhooks
Reports
GetIndividualPayrollHistory
GET
/
reports#getIndividualPayrollHistory
curl --request GET \
--url 'https://sandbox.rollfi.xyz/reports#getIndividualPayrollHistory' \
--header 'Content-Type: application/json' \
--data '{
"method": "getIndividualPayrollHistory",
"userId": "30da3ca7-8b39-4a3c-8ab9-050f17fbcb3b"
}'
{
"summary": "Success",
"value": {
"employee": [
{
"employeeName": "Nelson John",
"payrollLineItems": [
{
"payPeriod": {
"payPeriod": "07/17/2023 - 07/21/2023",
"payEndDate": "2023-07-21",
"payBeginDate": "2023-07-17",
"payPeriodType": {
"payPeriodType": "Off-Cycle"
}
},
"grossTotal": 0,
"netTotal": 0,
"payrollLineItemTaxAggregation": null
},
{
"payPeriod": {
"payPeriod": "07/04/2023 - 07/17/2023",
"payEndDate": "2023-07-17",
"payBeginDate": "2023-07-04",
"payPeriodType": {
"payPeriodType": "Off-Cycle"
}
},
"grossTotal": 0,
"netTotal": 0,
"payrollLineItemTaxAggregation": null
},
{
"payPeriod": {
"payPeriod": "07/01/2023 - 07/14/2023",
"payEndDate": "2023-07-14",
"payBeginDate": "2023-07-01",
"payPeriodType": {
"payPeriodType": "Regular"
}
},
"grossTotal": 57.69,
"netTotal": 52.75,
"payrollLineItemTaxAggregation": {
"employerTax": 6.19
}
},
{
"payPeriod": {
"payPeriod": "07/01/2023 - 07/14/2023",
"payEndDate": "2023-07-14",
"payBeginDate": "2023-07-01",
"payPeriodType": {
"payPeriodType": "Regular"
}
},
"grossTotal": 57.69,
"netTotal": 52.75,
"payrollLineItemTaxAggregation": {
"employerTax": 6.19
}
},
{
"payPeriod": {
"payPeriod": "07/15/2023 - 07/28/2023",
"payEndDate": "2023-07-28",
"payBeginDate": "2023-07-15",
"payPeriodType": {
"payPeriodType": "Regular"
}
},
"grossTotal": 57.69,
"netTotal": 52.75,
"payrollLineItemTaxAggregation": {
"employerTax": 6.19
}
},
{
"payPeriod": {
"payPeriod": "07/11/2023 - 07/18/2023",
"payEndDate": "2023-07-18",
"payBeginDate": "2023-07-11",
"payPeriodType": {
"payPeriodType": "Off-Cycle"
}
},
"grossTotal": 0,
"netTotal": 0,
"payrollLineItemTaxAggregation": null
},
{
"payPeriod": {
"payPeriod": "07/01/2023 - 07/14/2023",
"payEndDate": "2023-07-14",
"payBeginDate": "2023-07-01",
"payPeriodType": {
"payPeriodType": "Regular"
}
},
"grossTotal": 57.69,
"netTotal": 0,
"payrollLineItemTaxAggregation": null
}
],
"employeePayrollLineItemsAggregate": {
"aggregate": {
"sum": {
"netTotal": 158.25,
"ytdGrossTotal": 0,
"ytdBaseTotal": 0,
"ytdNetTotal": 0
}
}
},
"employerTaxCalculationResponsesAggregate": {
"aggregate": {
"sum": {
"taxAmount": 18.57
}
}
}
}
]
}
}
Body
application/json
Example:
["getIndividualPayrollHistory"]
Response
200 - application/json
curl --request GET \
--url 'https://sandbox.rollfi.xyz/reports#getIndividualPayrollHistory' \
--header 'Content-Type: application/json' \
--data '{
"method": "getIndividualPayrollHistory",
"userId": "30da3ca7-8b39-4a3c-8ab9-050f17fbcb3b"
}'
{
"summary": "Success",
"value": {
"employee": [
{
"employeeName": "Nelson John",
"payrollLineItems": [
{
"payPeriod": {
"payPeriod": "07/17/2023 - 07/21/2023",
"payEndDate": "2023-07-21",
"payBeginDate": "2023-07-17",
"payPeriodType": {
"payPeriodType": "Off-Cycle"
}
},
"grossTotal": 0,
"netTotal": 0,
"payrollLineItemTaxAggregation": null
},
{
"payPeriod": {
"payPeriod": "07/04/2023 - 07/17/2023",
"payEndDate": "2023-07-17",
"payBeginDate": "2023-07-04",
"payPeriodType": {
"payPeriodType": "Off-Cycle"
}
},
"grossTotal": 0,
"netTotal": 0,
"payrollLineItemTaxAggregation": null
},
{
"payPeriod": {
"payPeriod": "07/01/2023 - 07/14/2023",
"payEndDate": "2023-07-14",
"payBeginDate": "2023-07-01",
"payPeriodType": {
"payPeriodType": "Regular"
}
},
"grossTotal": 57.69,
"netTotal": 52.75,
"payrollLineItemTaxAggregation": {
"employerTax": 6.19
}
},
{
"payPeriod": {
"payPeriod": "07/01/2023 - 07/14/2023",
"payEndDate": "2023-07-14",
"payBeginDate": "2023-07-01",
"payPeriodType": {
"payPeriodType": "Regular"
}
},
"grossTotal": 57.69,
"netTotal": 52.75,
"payrollLineItemTaxAggregation": {
"employerTax": 6.19
}
},
{
"payPeriod": {
"payPeriod": "07/15/2023 - 07/28/2023",
"payEndDate": "2023-07-28",
"payBeginDate": "2023-07-15",
"payPeriodType": {
"payPeriodType": "Regular"
}
},
"grossTotal": 57.69,
"netTotal": 52.75,
"payrollLineItemTaxAggregation": {
"employerTax": 6.19
}
},
{
"payPeriod": {
"payPeriod": "07/11/2023 - 07/18/2023",
"payEndDate": "2023-07-18",
"payBeginDate": "2023-07-11",
"payPeriodType": {
"payPeriodType": "Off-Cycle"
}
},
"grossTotal": 0,
"netTotal": 0,
"payrollLineItemTaxAggregation": null
},
{
"payPeriod": {
"payPeriod": "07/01/2023 - 07/14/2023",
"payEndDate": "2023-07-14",
"payBeginDate": "2023-07-01",
"payPeriodType": {
"payPeriodType": "Regular"
}
},
"grossTotal": 57.69,
"netTotal": 0,
"payrollLineItemTaxAggregation": null
}
],
"employeePayrollLineItemsAggregate": {
"aggregate": {
"sum": {
"netTotal": 158.25,
"ytdGrossTotal": 0,
"ytdBaseTotal": 0,
"ytdNetTotal": 0
}
}
},
"employerTaxCalculationResponsesAggregate": {
"aggregate": {
"sum": {
"taxAmount": 18.57
}
}
}
}
]
}
}