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.
Create and update requests wrap time-entry attributes in a record envelope.
| Name | Type | Format | Nullable | Description | Example |
|---|---|---|---|---|---|
type | string | constant | No | Record type. Must be TimeEntry. | "TimeEntry" |
systemRef | object | SystemRef | Yes | External identity used to match an existing record during upsert. | {"system":"PM","reference":"beeye-entry-001"} |
attributes | object | TimeEntryAttributes | No | Time-entry fields. Available fields may vary by tenant. | — |
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.
| Name | Type | Format | Nullable | Description | Example |
|---|---|---|---|---|---|
pmsRef | string | — | No | Practice-management-system reference. Treat as opaque. | "beeye-entry-001" |
loggedDate | string | date-time (ISO 8601) | No | Date and time on which the work was logged. | "2026-06-17T09:00:00" |
loggedStaffId | object or integer | SystemRef or Aiwyn ID | No | Staff member who performed the work. | {"system":"PM","reference":"12345"} |
clientId | object or integer | SystemRef or Aiwyn ID | No | Client for whom the work was performed. | {"system":"PM","reference":"37584"} |
jobId | object or integer | SystemRef or Aiwyn ID | Yes | Associated job. | {"system":"PM","reference":"AIWYN_29059"} |
taskId | object or integer | SystemRef or Aiwyn ID | Yes | Associated project task. | {"system":"PM","reference":"AIWYN_98765"} |
code | string | — | Yes | Work-code value. When omitted for a linked task, the API derives it from the task type. | "TXBLE30X01" |
units | number | decimal | Yes | Number of units recorded for the entry. Must not be negative. | 2.5 |
value | number | decimal | Yes | Entry value; interpretation depends on the tenant's time-entry configuration. | 2.5 |
billable | boolean | — | Yes | Whether the work is billable. | true |
notes | string | — | Yes | Notes visible with the time entry. | "Worked on tax planning deliverable" |
internalNotes | string | — | Yes | Internal notes for staff. | "Reviewed by manager" |
serviceLineId | object or integer | SystemRef or Aiwyn ID | Yes | Associated service line. | 104 |
deptId | object or integer | SystemRef or Aiwyn ID | Yes | Associated department. | 7 |
officeId | object or integer | SystemRef or Aiwyn ID | Yes | Associated office. | 2 |
taskTypeId | object or integer | SystemRef or Aiwyn ID | Yes | Associated task type. | 12 |
onCalendar | boolean | — | Yes | Whether the time entry is represented on the staff calendar. | false |
active | boolean | — | Yes | Whether the record is active. | true |
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.
| Name | Type | Format | Nullable | Description | Example |
|---|---|---|---|---|---|
system | string | — | No | Source system that owns the reference. | "PM" |
reference | string | — | No | Record identifier in the source system. | "AIWYN_98765" |