Skip to content

Time entry

A time entry records work performed by a staff member for a client and, optionally, a job and project task. Time entries are managed through the generic time-management record endpoints with type set to TimeEntry.

Time entries also have their own endpoints, /api/v1/time-entries; see Time-management entry.

Time-entry schemas can include tenant-specific custom fields. Retrieve GET /api/v1/entries/schema/TimeEntry before building an integration; its response is the authoritative list of fields, types, and required values for the current tenant.

Record envelope

Create and update requests wrap time-entry attributes in a record envelope.

NameTypeFormatNullableDescriptionExample
typestringconstantNoRecord type. Must be TimeEntry."TimeEntry"
systemRefobjectSystemRefYesExternal identity used to match an existing record during upsert.{"system":"PM","reference":"beeye-entry-001"}
attributesobjectTimeEntryAttributesNoTime-entry fields. Available fields may vary by tenant.—

TimeEntryAttributes

These are the common attributes used by the Product API. The schema endpoint may return additional custom fields or different required-field rules for a tenant.

NameTypeFormatNullableDescriptionExample
pmsRefstring—NoPractice-management-system reference. Treat as opaque."beeye-entry-001"
loggedDatestringdate-time (ISO 8601)NoDate and time on which the work was logged."2026-06-17T09:00:00"
loggedStaffIdobject or integerSystemRef or Aiwyn IDNoStaff member who performed the work.{"system":"PM","reference":"12345"}
clientIdobject or integerSystemRef or Aiwyn IDNoClient for whom the work was performed.{"system":"PM","reference":"37584"}
jobIdobject or integerSystemRef or Aiwyn IDYesAssociated job.{"system":"PM","reference":"AIWYN_29059"}
taskIdobject or integerSystemRef or Aiwyn IDYesAssociated project task.{"system":"PM","reference":"AIWYN_98765"}
codestring—YesWork-code value. When omitted for a linked task, the API derives it from the task type."TXBLE30X01"
unitsnumberdecimalYesNumber of units recorded for the entry. Must not be negative.2.5
valuenumberdecimalYesEntry value; interpretation depends on the tenant's time-entry configuration.2.5
billableboolean—YesWhether the work is billable.true
notesstring—YesNotes visible with the time entry."Worked on tax planning deliverable"
internalNotesstring—YesInternal notes for staff."Reviewed by manager"
serviceLineIdobject or integerSystemRef or Aiwyn IDYesAssociated service line.104
deptIdobject or integerSystemRef or Aiwyn IDYesAssociated department.7
officeIdobject or integerSystemRef or Aiwyn IDYesAssociated office.2
taskTypeIdobject or integerSystemRef or Aiwyn IDYesAssociated task type.12
onCalendarboolean—YesWhether the time entry is represented on the staff calendar.false
activeboolean—YesWhether the record is active.true

SystemRef

Foreign-key attributes accept a system reference so callers do not need to know an Aiwyn database identifier. Numeric Aiwyn IDs are also accepted where documented by the endpoint.

NameTypeFormatNullableDescriptionExample
systemstring—NoSource system that owns the reference."PM"
referencestring—NoRecord identifier in the source system."AIWYN_98765"