Skip to main content
POST
/
payroll#importRegularDifferentialPayrollData
importRegularDifferentialPayrollData
curl --request POST \
  --url 'https://sandbox.rollfi.xyz/payroll#importRegularDifferentialPayrollData' \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "method": "importRegularDifferentialPayrollData",
  "companyId": "68D29B82-86FA-4B51-B16E-01346BD3F43B",
  "payPeriodId": "2412217E-E92A-46D5-A359-DF715FBF28CD",
  "payrollData": [
    {
      "userId": "CE934E2C-00A5-46A1-B925-CBD97BF07AF8",
      "firstName": "Emmanuel",
      "lastName": "Golden",
      "basePay": [
        {
          "payHours": 8.75,
          "payRate": 0,
          "payCode": "BASE_PAY",
          "multiplier": 1,
          "amount": 0
        },
        {
          "payHours": 0.75,
          "payRate": 20,
          "payCode": "1151",
          "multiplier": 1,
          "amount": 15
        }
      ],
      "additionalCompensations": [
        {
          "amount": 310,
          "description": "Van Pool & Transit Passes"
        }
      ],
      "deductions": [
        {
          "description": "Qualified Parking Sup",
          "amount": 120
        }
      ],
      "reimbursements": [
        {
          "reimbursementType": "GYM",
          "amount": 120
        }
      ],
      "miscellaneousStateTaxes": [
        {
          "stateCode": "WA",
          "taxName": "Washington L&I",
          "taxDetails": [
            {
              "riskClassName": "Shop - Intra State Trucking",
              "noOfHours": 6
            }
          ]
        }
      ]
    }
  ]
}
'
{
"importDifferntiaPayrollData": {
"status": "Ready",
"message": "Imported Differential Payroll Data Successfully"
}
}

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
companyId
string
required
payPeriodId
string
required
payrollData
object[]
required

Response

importDifferntiaPayrollData
object
required