Calculates net to gross for a given pay run.

Request

POST https://apisg.yourpayroll.io/api/v2/business/{businessId}/payrun/{payRunId}/nettogross

Path parameters

Parameter name Value Description Additional
businessId string Required
payRunId string Required

Request body

The request body takes a complete NetToGrossRequest resource, containing the following writable properties:

{
    "netAmount": "double",
    "payCategoryId": "int32",
    "payRunTotalId": "int32"
}

Properties

Name Type Description
netAmount double Decimal
payCategoryId int32 Int32
payRunTotalId int32 Int32

Response

The following HTTP status codes may be returned, optionally with a response resource.

Status code Description Resource
200 OK

OK

NetToGrossModel