A work-in-progress record with client, job, and financial tracking information.
| Name | Type | Format | Nullable | Description | Example |
|---|---|---|---|---|---|
id | integer | — | No | Unique WIP identifier. | 850321 |
pmsRef | string | — | Yes | Practice-management-system reference. | "1789456" |
wipType | string | enum (WIPType) | No | Type of WIP record. | "Time" |
loggedDate | string | date-time (ISO 8601) | Yes | Date on which the work was logged. | "2024-01-17T05:00:00" |
wipValue | number | decimal, USD | Yes | Original recorded value. | 1250.00 |
wipValueOutstanding | number | decimal, USD | Yes | Value not yet billed. | 0.00 |
billedAmount | number | decimal, USD | Yes | Amount already billed. | 1225.00 |
writeOffAmount | number | decimal, USD | Yes | Amount written off. | 25.00 |
notes | string | — | Yes | Notes describing the work. | "Consultation and analysis" |
clientId | integer | — | No | Associated client identifier. | 1561 |
jobId | integer | — | Yes | Associated job identifier. | 2514 |
createdAt | string | date-time (ISO 8601) | No | Record creation timestamp. | "2024-05-12T23:02:33.24516+00:00" |
updatedAt | string | date-time (ISO 8601) | No | Last modification timestamp. | "2024-05-12T23:02:33.24516+00:00" |
approvedDate | string | date-time (ISO 8601) | Yes | When the WIP record was approved. | "2024-01-18T05:00:00" |
approvedStaffId | integer | — | Yes | Staff member who approved the WIP record. | 412 |
billedPerUnit | number | decimal, USD | Yes | Billing rate per unit. | 250.00 |
costPerUnit | number | decimal, USD | Yes | Cost per unit of the WIP record. | 95.00 |
customFieldValues | object | — | Yes | Firm-defined custom fields, keyed by custom field code. | {} |
deptId | integer | — | Yes | Department identifier. | 3 |
isApproved | boolean | — | Yes | Whether the WIP record is approved. | true |
isCreatedByAiwyn | boolean | — | Yes | Whether the WIP record was created in Aiwyn. | false |
isLocked | boolean | — | Yes | Whether the WIP record is locked. | false |
isManagedByAiwyn | boolean | — | Yes | Whether Aiwyn manages the WIP record's lifecycle. | false |
isPosted | boolean | — | Yes | Whether the WIP record is posted. | true |
loggedStaffId | integer | — | Yes | Staff member the WIP record was logged for. | 412 |
officeId | integer | — | Yes | Office identifier. | 2 |
postedDate | string | date-time (ISO 8601) | Yes | When the WIP record was posted. | "2024-01-19T05:00:00" |
postedStaffId | integer | — | Yes | Staff member who posted the WIP record. | 415 |
rawUnits | number | decimal | Yes | Units before rounding. | 5.0 |
serviceLineId | integer | — | Yes | Service-line identifier. | 4 |
staffTypeId | integer | — | Yes | Staff-type identifier. | 7 |
taskTypeId | integer | — | Yes | Work code (task type) identifier. | 12 |
units | number | decimal | Yes | Units (hours for time entries). | 5.0 |
updatedByStaffId | integer | — | Yes | Staff member who last updated the WIP record. | 415 |
client | object | ClientBasic | Yes | Associated client summary. | — |
job | object | JobBasic | Yes | Associated job summary. | — |
One of: Time, Expense, Fixed_Fee, Disbursement.