Skip to main content
GET
/
reports
/
getPayrollJournalReport
getPayrollJournalReport
curl --request GET \
  --url https://sandbox.rollfi.xyz/reports/getPayrollJournalReport \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "method": "getPayrollJournalReports",
  "payPeriodId": "5465C126-BACD-4593-97CE-24243FFFC998",
  "companyId": "C3C91397-CDBA-44E0-A296-0BFC9A4DFDF5"
}
'
import requests

url = "https://sandbox.rollfi.xyz/reports/getPayrollJournalReport"

payload = {
"method": "getPayrollJournalReports",
"payPeriodId": "5465C126-BACD-4593-97CE-24243FFFC998",
"companyId": "C3C91397-CDBA-44E0-A296-0BFC9A4DFDF5"
}
headers = {
"Authorization": "Basic <encoded-value>",
"Content-Type": "application/json"
}

response = requests.get(url, json=payload, headers=headers)

print(response.text)
const options = {
method: 'GET',
headers: {Authorization: 'Basic <encoded-value>', 'Content-Type': 'application/json'},
body: JSON.stringify({
method: 'getPayrollJournalReports',
payPeriodId: '5465C126-BACD-4593-97CE-24243FFFC998',
companyId: 'C3C91397-CDBA-44E0-A296-0BFC9A4DFDF5'
})
};

fetch('https://sandbox.rollfi.xyz/reports/getPayrollJournalReport', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
<?php

$curl = curl_init();

curl_setopt_array($curl, [
CURLOPT_URL => "https://sandbox.rollfi.xyz/reports/getPayrollJournalReport",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_POSTFIELDS => json_encode([
'method' => 'getPayrollJournalReports',
'payPeriodId' => '5465C126-BACD-4593-97CE-24243FFFC998',
'companyId' => 'C3C91397-CDBA-44E0-A296-0BFC9A4DFDF5'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Basic <encoded-value>",
"Content-Type: application/json"
],
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
package main

import (
"fmt"
"strings"
"net/http"
"io"
)

func main() {

url := "https://sandbox.rollfi.xyz/reports/getPayrollJournalReport"

payload := strings.NewReader("{\n \"method\": \"getPayrollJournalReports\",\n \"payPeriodId\": \"5465C126-BACD-4593-97CE-24243FFFC998\",\n \"companyId\": \"C3C91397-CDBA-44E0-A296-0BFC9A4DFDF5\"\n}")

req, _ := http.NewRequest("GET", url, payload)

req.Header.Add("Authorization", "Basic <encoded-value>")
req.Header.Add("Content-Type", "application/json")

res, _ := http.DefaultClient.Do(req)

defer res.Body.Close()
body, _ := io.ReadAll(res.Body)

fmt.Println(string(body))

}
HttpResponse<String> response = Unirest.get("https://sandbox.rollfi.xyz/reports/getPayrollJournalReport")
.header("Authorization", "Basic <encoded-value>")
.header("Content-Type", "application/json")
.body("{\n \"method\": \"getPayrollJournalReports\",\n \"payPeriodId\": \"5465C126-BACD-4593-97CE-24243FFFC998\",\n \"companyId\": \"C3C91397-CDBA-44E0-A296-0BFC9A4DFDF5\"\n}")
.asString();
require 'uri'
require 'net/http'

url = URI("https://sandbox.rollfi.xyz/reports/getPayrollJournalReport")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Basic <encoded-value>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"method\": \"getPayrollJournalReports\",\n \"payPeriodId\": \"5465C126-BACD-4593-97CE-24243FFFC998\",\n \"companyId\": \"C3C91397-CDBA-44E0-A296-0BFC9A4DFDF5\"\n}"

response = http.request(request)
puts response.read_body
{
  "startDate": "2024-01-01",
  "endDate": "2026-01-01",
  "payPeriods": [
    {
      "payrollJournalReport": {
        "companyName": "Fax limited",
        "companyPhone": "8548566632",
        "companyAddress": {
          "address": "8745 Colard Ln , Lyons, CO, 80540",
          "address1": "8745 Colard Ln",
          "address2": "",
          "city": "Lyons",
          "state": "CO",
          "zipcode": "80540"
        },
        "payPeriod": "10/10/2025 - 10/10/2025",
        "payBeginDate": "2025-10-10",
        "payEndDate": "2025-10-10",
        "payDate": "2025-09-25",
        "payPeriodStatus": "DRAFT: NOT SUBMITTED",
        "workerType": "W2"
      },
      "employees": [
        {
          "employeeName": "Eric Jale",
          "employeeId": "D74EFBA4-24E1-4174-B348-6515E6275FB3",
          "jobTitle": "HR",
          "wageBasis": "Per Month",
          "earnings": {
            "items": [
              {
                "description": "Salary",
                "hours": 8,
                "total": 4.35
              },
              {
                "description": "Bonus",
                "hours": null,
                "rate": null,
                "total": 4000
              },
              {
                "description": "Driving",
                "hours": null,
                "rate": null,
                "total": 10
              },
              {
                "description": "Retro",
                "hours": null,
                "rate": null,
                "total": 10
              }
            ],
            "totalEarnings": 4024.35
          },
          "deductions": {
            "items": [
              {
                "description": "Simple IRA",
                "type": "Employee Deduction",
                "amount": 3,
                "amountYTD": 0
              }
            ],
            "garnishments": [],
            "totalDeductions": 3
          },
          "employeeTaxes": {
            "items": [
              {
                "taxName": "Medicare",
                "amount": 58.21
              },
              {
                "taxName": "Social Security Tax",
                "amount": 248.89
              },
              {
                "taxName": "Federal Income Tax",
                "amount": 880
              },
              {
                "taxName": "CO - State Income Tax",
                "amount": 176
              },
              {
                "taxName": "CO - Family Leave Insurance",
                "amount": 18.06
              }
            ],
            "totalEmployeeTaxes": 1381.16
          },
          "employerTaxes": {
            "items": [
              {
                "taxName": "Unemployment Tax",
                "amount": 24.09
              },
              {
                "taxName": "Medicare Tax",
                "amount": 58.21
              },
              {
                "taxName": "Social Security",
                "amount": 248.89
              },
              {
                "taxName": "CO - State Unemployment Insurance",
                "amount": 50.18
              },
              {
                "taxName": "CO - State Umeployment Tax Surcharge",
                "amount": 54.19
              },
              {
                "taxName": "CO - State Umeployment Tax Surcharge",
                "amount": 6.82
              }
            ],
            "totalEmployerTaxes": 442.38
          },
          "netPayDistribution": [],
          "timeOffs": [
            {
              "leaveType": "Unpaid",
              "hours": 2
            }
          ],
          "netPay": 2640.19
        }
      ],
      "companyTotal": {
        "totalEarnings": 4024.35,
        "totalDeductions": 3,
        "employeeTaxes": [
          {
            "taxName": "Medicare",
            "amount": 58.21
          },
          {
            "taxName": "Social Security Tax",
            "amount": 248.89
          },
          {
            "taxName": "Federal Income Tax",
            "amount": 880
          },
          {
            "taxName": "CO - State Income Tax",
            "amount": 176
          },
          {
            "taxName": "CO - Family Leave Insurance",
            "amount": 18.06
          }
        ],
        "totalEmployeeTaxes": 1381.16,
        "employerTaxes": [
          {
            "taxName": "Unemployment Tax",
            "amount": 24.09
          },
          {
            "taxName": "Medicare Tax",
            "amount": 58.21
          },
          {
            "taxName": "Social Security",
            "amount": 248.89
          },
          {
            "taxName": "CO - State Unemployment Insurance",
            "amount": 50.18
          },
          {
            "taxName": "CO - State Umeployment Tax Surcharge",
            "amount": 61.01
          }
        ],
        "totalEmployerTaxes": 442.38,
        "netPay": 2640.19
      }
    },
    {
      "payrollJournalReport": {
        "companyName": "Fax limited",
        "companyPhone": "8548566632",
        "companyAddress": {
          "address": "8745 Colard Ln , Lyons, CO, 80540",
          "address1": "8745 Colard Ln",
          "address2": "",
          "city": "Lyons",
          "state": "CO",
          "zipcode": "80540"
        },
        "payPeriod": "10/02/2025 - 10/10/2025",
        "payBeginDate": "2025-10-02",
        "payEndDate": "2025-10-10",
        "payDate": "2025-10-10",
        "payPeriodStatus": "DRAFT: NOT SUBMITTED",
        "workerType": "W2"
      },
      "employees": [
        {
          "employeeName": "Abdul Pasha",
          "employeeId": "FA937C14-5DFE-40B3-B2C2-19BA2E988DCF",
          "jobTitle": "sde",
          "wageBasis": "Per Month",
          "earnings": {
            "items": [
              {
                "description": "Salary",
                "hours": 56,
                "total": 3750.17
              }
            ],
            "totalEarnings": 3750.17
          },
          "deductions": {
            "items": [],
            "garnishments": [],
            "totalDeductions": 0
          },
          "employeeTaxes": {
            "items": [
              {
                "taxName": "Medicare",
                "amount": 54.38
              },
              {
                "taxName": "Social Security Tax",
                "amount": 232.51
              },
              {
                "taxName": "CA - State Disability Insurance",
                "amount": 45
              }
            ],
            "totalEmployeeTaxes": 331.89
          },
          "employerTaxes": {
            "items": [
              {
                "taxName": "Unemployment Tax",
                "amount": 22.5
              },
              {
                "taxName": "Medicare Tax",
                "amount": 54.38
              },
              {
                "taxName": "Social Security",
                "amount": 232.51
              },
              {
                "taxName": "CA - State Unemployment Insurance",
                "amount": 46.88
              },
              {
                "taxName": "CA - State Umeployment Tax Surcharge",
                "amount": 3.75
              }
            ],
            "totalEmployerTaxes": 360.02
          },
          "netPayDistribution": [],
          "timeOffs": [],
          "netPay": 3418.28
        },
        {
          "employeeName": "Binny Shine",
          "employeeId": "FE2C85F1-A8DB-4AD7-A342-D375BD54F387",
          "jobTitle": "hr",
          "wageBasis": "Per Month",
          "earnings": {
            "items": [
              {
                "description": "Salary",
                "hours": 56,
                "total": 2708.7
              }
            ],
            "totalEarnings": 2708.7
          },
          "deductions": {
            "items": [],
            "garnishments": [],
            "totalDeductions": 0
          },
          "employeeTaxes": {
            "items": [
              {
                "taxName": "Medicare",
                "amount": 39.28
              },
              {
                "taxName": "Social Security Tax",
                "amount": 167.94
              },
              {
                "taxName": "CO - Family Leave Insurance",
                "amount": 12.19
              }
            ],
            "totalEmployeeTaxes": 219.41
          },
          "employerTaxes": {
            "items": [
              {
                "taxName": "Unemployment Tax",
                "amount": 16.25
              },
              {
                "taxName": "Medicare Tax",
                "amount": 39.28
              },
              {
                "taxName": "Social Security",
                "amount": 167.94
              },
              {
                "taxName": "CO - State Unemployment Insurance",
                "amount": 33.86
              },
              {
                "taxName": "CO - State Umeployment Tax Surcharge",
                "amount": 36.57
              },
              {
                "taxName": "CO - State Umeployment Tax Surcharge",
                "amount": 4.6
              }
            ],
            "totalEmployerTaxes": 298.5
          },
          "netPayDistribution": [],
          "timeOffs": [],
          "netPay": 2489.29
        }
      ],
      "companyTotal": {
        "totalEarnings": 6458.87,
        "totalDeductions": 0,
        "employeeTaxes": [
          {
            "taxName": "Medicare",
            "amount": 93.66
          },
          {
            "taxName": "Social Security Tax",
            "amount": 400.45
          },
          {
            "taxName": "CA - State Disability Insurance",
            "amount": 45
          },
          {
            "taxName": "CO - Family Leave Insurance",
            "amount": 12.19
          }
        ],
        "totalEmployeeTaxes": 551.3,
        "employerTaxes": [
          {
            "taxName": "Unemployment Tax",
            "amount": 38.75
          },
          {
            "taxName": "Medicare Tax",
            "amount": 93.66
          },
          {
            "taxName": "Social Security",
            "amount": 400.45
          },
          {
            "taxName": "CA - State Unemployment Insurance",
            "amount": 46.88
          },
          {
            "taxName": "CA - State Umeployment Tax Surcharge",
            "amount": 3.75
          },
          {
            "taxName": "CO - State Unemployment Insurance",
            "amount": 33.86
          },
          {
            "taxName": "CO - State Umeployment Tax Surcharge",
            "amount": 41.17
          }
        ],
        "totalEmployerTaxes": 658.52,
        "netPay": 5907.57
      }
    }
  ]
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Body

application/json
method
string
required
Example:

"getPayrollJournalReport"

companyId
string<uuid>
required
payPeriodId
string<uuid>
startDate
string
endDate
string

Response

200 - application/json
payrollJournalReport
object
required
employees
object[]
required
companyTotal
object
required