Picture

/api/v2/payrolls/transactions

Picture

Authorization Bearer Token

Token
<access_token>

Request Parameter

Name
Type
Required
Description
periodCalculateNo
Numeric
Required
year
Numeric
Required
companyCode
String
Required
payrollTransactions
Required

PayrollTransactions

Name
Type
Required
Description
year
Numeric
Required

periodCalculateNo
Numeric
Required

date
DateTime
Required

companyCode
String
Required

employeeNo
String
Required

isWork
Boolean
Required

timeAttendanceStatusId
Numeric
Required

stampIn
DateTime
Required

stampOut
DateTime
Required

realStampIn
DateTime
Required

realStampOut
DateTime
Required

workTime
Numeric
Required

absentDay
Numeric
Required

noStampIn
DateTime
Required

noStampOut
DateTime
Required

isIncentive
Boolean
Required

TotalOverdueHours
Numeric
Required

totalHourOfOT1
Numeric
Required

totalHourOfOT2
Numeric
Required

totalHourOfOT3
Numeric
Required

totalHourOfOT4
Numeric
Required

totalValueOfOT1
Numeric
Required

totalValueOfOT2
Numeric
Required

totalValueOfOT3
Numeric
Required

totalValueOfOT4
Numeric
Required

deductEarly
Numeric
Required

deductAbsentMinute
Numeric
Required

costIncentives
Numeric
Required

incentiveCoupons
Numeric
Required

overtimeCosts
Numeric
Required

holidayCosts
Numeric
Required

workDay
Numeric
Required

fineAmount
Numeric
Required

isSuspension
Numeric
Required

breakTimeAttendanceStatusId

Numeric
Required

breakTimeLate
Numeric
Required

breakTimeAbsentNoStamp
Numeric
Required

breakTimeStartStamp
DateTime
Required

breakTimeEndStamp
DateTime
Required

breakTimeRealStartStamp
DateTime
Required

breakTimeRealEndStamp
DateTime
Required
breakTimeNoStampStart
Numeric
Required

breakTimeNoStampEnd
Numeric
Required

workTimeAllowance
Numeric
Required

isCharge
Boolean
Required

doubleShiftWage
Numeric
Required

totalDoubleShiftOfWage
Numeric
Required

Example Request

curl --location --request POST 'https://api.veniocrm.com/api/v2/payrolls/transactions' \

--header 'Authorization: Bearer <token>' \
--data-raw '[
    {
        "periodCalculateNo": 6,
        "year": 2021,
        "companyCode": "GO00005",
        "payrollTransactions": [
            {
                "year": 2021,
                "periodCalculateNo": 6,
                "date": "1984-10-31T10:13:09.781Z",
                "companyCode": "GO00005",
                "employeeNo": "1000",
                "isWork": true,
                "timeAttendanceStatusId": 1,
                "stampIn": "1975-12-13T21:59:44.888Z",
                "stampOut": "1946-11-17T04:14:02.824Z",
                "realStampIn": "1964-09-11T10:46:00.460Z",
                "realStampOut": "1949-06-23T23:06:34.751Z",
                "workTime": 20,
                "absentDay": 0,
                "noStampIn": 0,
                "noStampOut": 0,
                "isIncentive": true,
                "TotalOverdueDates": 0,
                "TotalOverdueHours": 0,
                "totalHourOfOT1": 0,
                "totalHourOfOT2": 0,
                "totalHourOfOT3": 0,
                "totalHourOfOT4": 0,
                "totalValueOfOT1": 0,
                "totalValueOfOT2": 0,
                "totalValueOfOT3": 0,
                "totalValueOfOT4": 0,
                "deductLate": 0,
                "deductEarly": 0,
                "deductAbsentMinute": 0,
                "costIncentives": 0,
                "incentiveCoupons": 0,
                "overtimeCosts": 0,
                "holidayCosts": 0,
                "workDay": 0,
                "fineAmount": 0,
                "isSuspension": true,
                "breakTimeAttendanceStatusId": 1,
                "breakTimeLate": 0,
                "breakTimeAbsentNoStamp": 0,
                "breakTimeStartStamp": "2010-05-01T11:49:58.188Z",
                "breakTimeEndStamp": "1955-07-20T11:34:55.167Z",
                "breakTimeRealStartStamp": "1984-03-31T20:04:48.806Z",
                "breakTimeRealEndStamp": "1943-09-25T00:56:38.166Z",
                "breakTimeNoStampStart": 0,
                "breakTimeNoStampEnd": 0,
                "workTimeAllowance": 0,
                "isCharge": false,
                "doubleShiftWage": 0,
                "totalDoubleShiftOfWage": 0
            },
            {
                "year": 2021,
                "periodCalculateNo": 6,
                "date": "2008-07-06T05:23:14.078Z",
                "companyCode": "GO00005",
                "employeeNo": "1000",
                "isWork": true,
                "timeAttendanceStatusId": 1,
                "stampIn": "1953-05-18T02:29:30.910Z",
                "stampOut": "2005-01-31T09:16:12.238Z",
                "realStampIn": "1945-09-05T16:24:13.960Z",
                "realStampOut": "1993-08-21T21:24:43.105Z",
                "workTime": 20,
                "absentDay": 0,
                "noStampIn": 0,
                "noStampOut": 0,
                "isIncentive": true,
                "TotalOverdueDates": 0,
                "TotalOverdueHours": 0,
                "totalHourOfOT1": 0,
                "totalHourOfOT2": 0,
                "totalHourOfOT3": 0,
                "totalHourOfOT4": 0,
                "totalValueOfOT1": 0,
                "totalValueOfOT2": 0,
                "totalValueOfOT3": 0,
                "totalValueOfOT4": 0,
                "deductLate": 0,
                "deductEarly": 0,
                "deductAbsentMinute": 0,
                "costIncentives": 0,
                "incentiveCoupons": 0,
                "overtimeCosts": 0,
                "holidayCosts": 0,
                "workDay": 0,
                "fineAmount": 0,
                "isSuspension": false,
                "breakTimeAttendanceStatusId": 1,
                "breakTimeLate": 0,
                "breakTimeAbsentNoStamp": 0,
                "breakTimeStartStamp": "2014-05-12T16:11:03.024Z",
                "breakTimeEndStamp": "1993-09-16T23:21:18.601Z",
                "breakTimeRealStartStamp": "2011-04-20T04:26:18.498Z",
                "breakTimeRealEndStamp": "2004-03-17T02:35:26.327Z",
                "breakTimeNoStampStart": 0,
                "breakTimeNoStampEnd": 0,
                "workTimeAllowance": 0,
                "isCharge": false,
                "doubleShiftWage": 0,
                "totalDoubleShiftOfWage": 0
            }
        ]
    },
    {
        "periodCalculateNo": 6,
        "year": 2021,
        "companyCode": "GO00005",
        "payrollTransactions": [
            {
                "year": 2021,
                "periodCalculateNo": 6,
                "date": "1969-05-05T21:30:34.905Z",
                "companyCode": "GO00005",
                "employeeNo": "1000",
                "isWork": true,
                "timeAttendanceStatusId": 1,
                "stampIn": "2015-04-04T03:54:24.136Z",
                "stampOut": "2005-03-04T05:00:24.542Z",
                "realStampIn": "1985-12-30T17:56:56.067Z",
                "realStampOut": "2010-02-27T08:15:14.105Z",
                "workTime": 20,
                "absentDay": 0,
                "noStampIn": 0,
                "noStampOut": 0,
                "isIncentive": true,
                "TotalOverdueDates": 0,
                "TotalOverdueHours": 0,
                "totalHourOfOT1": 0,
                "totalHourOfOT2": 0,
                "totalHourOfOT3": 0,
                "totalHourOfOT4": 0,
                "totalValueOfOT1": 0,
                "totalValueOfOT2": 0,
                "totalValueOfOT3": 0,
                "totalValueOfOT4": 0,
                "deductLate": 0,
                "deductEarly": 0,
                "deductAbsentMinute": 0,
                "costIncentives": 0,
                "incentiveCoupons": 0,
                "overtimeCosts": 0,
                "holidayCosts": 0,
                "workDay": 0,
                "fineAmount": 0,
                "isSuspension": true,
                "breakTimeAttendanceStatusId": 1,
                "breakTimeLate": 0,
                "breakTimeAbsentNoStamp": 0,
                "breakTimeStartStamp": "1966-10-02T09:21:01.745Z",
                "breakTimeEndStamp": "1996-12-23T01:05:42.013Z",
                "breakTimeRealStartStamp": "2011-11-04T02:49:07.848Z",
                "breakTimeRealEndStamp": "2002-08-04T03:59:55.317Z",
                "breakTimeNoStampStart": 0,
                "breakTimeNoStampEnd": 0,
                "workTimeAllowance": 0,
                "isCharge": false,
                "doubleShiftWage": 0,
                "totalDoubleShiftOfWage": 0
            },
            {
                "year": 2021,
                "periodCalculateNo": 6,
                "date": "1995-03-11T06:01:08.933Z",
                "companyCode": "GO00005",
                "employeeNo": "1000",
                "isWork": true,
                "timeAttendanceStatusId": 1,
                "stampIn": "1961-05-15T18:40:53.309Z",
                "stampOut": "1943-10-21T11:30:49.089Z",
                "realStampIn": "2012-03-30T00:55:19.459Z",
                "realStampOut": "1976-03-12T00:34:27.895Z",
                "workTime": 20,
                "absentDay": 0,
                "noStampIn": 0,
                "noStampOut": 0,
                "isIncentive": true,
                "TotalOverdueDates": 0,
                "TotalOverdueHours": 0,
                "totalHourOfOT1": 0,
                "totalHourOfOT2": 0,
                "totalHourOfOT3": 0,
                "totalHourOfOT4": 0,
                "totalValueOfOT1": 0,
                "totalValueOfOT2": 0,
                "totalValueOfOT3": 0,
                "totalValueOfOT4": 0,
                "deductLate": 0,
                "deductEarly": 0,
                "deductAbsentMinute": 0,
                "costIncentives": 0,
                "incentiveCoupons": 0,
                "overtimeCosts": 0,
                "holidayCosts": 0,
                "workDay": 0,
                "fineAmount": 0,
                "isSuspension": false,
                "breakTimeAttendanceStatusId": 1,
                "breakTimeLate": 0,
                "breakTimeAbsentNoStamp": 0,
                "breakTimeStartStamp": "2004-10-22T14:45:34.629Z",
                "breakTimeEndStamp": "1990-10-18T13:30:33.821Z",
                "breakTimeRealStartStamp": "1945-12-30T05:52:10.402Z",
                "breakTimeRealEndStamp": "2016-02-20T13:38:37.173Z",
                "breakTimeNoStampStart": 0,
                "breakTimeNoStampEnd": 0,
                "workTimeAllowance": 0,
                "isCharge": false,
                "doubleShiftWage": 0,
                "totalDoubleShiftOfWage": 0
            }
        ]
    }
]'
Download postman Collection

Response

Name
Type
Description
status
Status
data
Any Object
Response

Status

Name
Type
Description
code
Numeric
Http status code
description
String
status description

Example Response

{
"status": {
"code": 200,
"description": "Save successfully!"
},
"data": {}
}
© Copyright 2021 Gofive Co., Ltd. All right reserved.