curl --request GET \
--url 'https://sandbox.rollfi.xyz/reports#getIndividualPayrollHistory' \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '{
"method": "getIndividualPayrollHistory",
"userId": "30da3ca7-8b39-4a3c-8ab9-050f17fbcb3b"
}'
{
"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
}
}
}
}
]
}
This Report gets you the Individual Payroll History details based on EmployeeId
curl --request GET \
--url 'https://sandbox.rollfi.xyz/reports#getIndividualPayrollHistory' \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '{
"method": "getIndividualPayrollHistory",
"userId": "30da3ca7-8b39-4a3c-8ab9-050f17fbcb3b"
}'
{
"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
}
}
}
}
]
}
Basic authentication header of the form Basic <encoded-value>
, where <encoded-value>
is the base64-encoded string username:password
.
The response is of type object
.