Edits the timesheet with the specified ID.


POST https://api.nzpayroll.co.nz/api/v2/business/{businessId}/manager/{employeeId}/timesheet/{timesheetId}

Path parameters

Parameter name Value Description Additional
employeeId int32 Required
timesheetId int32 Required
businessId string Required

Request body

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

    "attachment": {
        "data": "byte",
        "dateCreated": "date-time",
        "dateScanned": "date-time",
        "friendlyName": "string",
        "id": "int32",
        "isDeleted": "boolean",
        "isInfected": "boolean",
        "url": "string"
    "breaks": [
            "end": "date-time",
            "start": "date-time"
    "classificationId": "int32",
    "comments": "string",
    "employeeId": "int32",
    "end": "date-time",
    "hiddenComments": "string",
    "id": "int32",
    "leaveCategoryId": "int32",
    "leaveRequestId": "int32",
    "locationId": "int32",
    "payCategoryId": "int32",
    "rate": "double",
    "shiftConditionIds": [
    "source": "string",
    "start": "date-time",
    "submittedEnd": "date-time",
    "submittedStart": "date-time",
    "units": "double",
    "workTypeId": "int32"


Name Type Description
attachment object Attachment
attachment.data byte Byte[]
attachment.dateCreated date-time Nullable
attachment.dateScanned date-time Nullable
attachment.friendlyName string String
attachment.id int32 Nullable
attachment.isDeleted boolean Boolean
attachment.isInfected boolean Nullable
attachment.url string String
breaks[] array
breaks[].end date-time Nullable
breaks[].start date-time Nullable
classificationId int32 Nullable
comments string String
employeeId int32 Int32
end date-time Nullable
hiddenComments string String
id int32 Int32
leaveCategoryId int32 Nullable
leaveRequestId int32 Nullable
locationId int32 Nullable
payCategoryId int32 Nullable
rate double Nullable
shiftConditionIds[] array of int32
source string Nullable

Possible values are:

  • None
  • Saasu
  • Xero
  • MYOB
  • Deputy
  • EmployeeTimePunch
  • ClickSuper
  • IntegratedTimesheets
  • FileImport
  • FileExport
  • QuickBooks
  • Harmony
  • AwardStore
  • Attache
  • IntegratedRostering
  • ReckonAccounts
  • API
  • MicroPower
  • RosterLive
  • NetSuite
  • Kounta
  • TimeAndAttendanceKiosk
  • DetailedFileExport
  • JonasPremier
  • WageEasy
  • Maestrano
  • WorkZone
  • EmployeePortal
  • RosterTemplate
  • Onboarding
  • Admin
  • WorkZoneClockOnOff
  • NetSuiteOneWorld
  • Sage50
  • PensionSync
  • FinancialsOffice
  • ProntoXI
  • PayRunDefault
  • StandardWorkDay
  • Beam
  • PayRunAutomation
  • BureauDashboard
  • Wiise
  • QBOMigrationTool
  • AbridgedFileImport
  • QBOForcedMigration
  • HmrcDpsUpdate
  • HmrcDpsStudentLoan
  • HmrcDpsPostGradLoan
  • Sage50FileImporter
  • FPSFileImporter
  • OAuth
  • FreshBooks
  • StarFileImporter
  • ActiveCampaign
  • SummaryAndDetailsExport
  • Telleroo
start date-time Nullable
submittedEnd date-time Nullable
submittedStart date-time Nullable
units double Nullable
workTypeId int32 Nullable


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

Status code Description Resource
200 OK