id | integer | — | No | Unique client identifier. | 1001 |
pmsRef | string | — | Yes | Practice-management-system reference. Opaque string. | "8842" |
clientRef | string | — | Yes | External client reference number. | "45123" |
name | string | — | No | Client full name or company name. | "Sarah Johnson" |
active | boolean | — | No | Whether the client is active. | true |
partnerStaffId | integer | — | Yes | Id of the assigned partner staff member. | 101 |
managerStaffId | integer | — | Yes | Id of the assigned manager staff member. | 102 |
createdAt | string | date-time (ISO 8601) | No | Record creation timestamp. | "2024-03-15T10:30:22.488054+00:00" |
updatedAt | string | date-time (ISO 8601) | No | Last modification timestamp. | "2024-07-20T14:22:10.817274+00:00" |
clientKey | string | — | Yes | Unique business key for the client. | "AARON-FAHEY" |
updateByStaffId | integer | — | Yes | Id of the staff member who last updated the client. | 53 |
exclusionStatusUpdatedAt | string | date-time (ISO 8601) | Yes | When the collections exclusion setting was last changed. | "2024-03-15T10:30:22.488054+00:00" |
isManagedByAiwyn | boolean | — | No | Whether Aiwyn manages the record's lifecycle. | false |
isCreatedByAiwyn | boolean | — | No | Whether the record was created in Aiwyn. | false |
originatingPartnerStaffId | integer | — | Yes | Id of the client's originating partner staff member. | 101 |
billingNotes | string | — | Yes | Notes about the client's billing. | — |
description | string | — | Yes | Description of the client. | — |
notes | string | — | Yes | Notes about the client. | — |
noticePeriod | integer | — | Yes | Notice period, in days, for ending work with the client. | 30 |
secondaryContactId | integer | — | Yes | Id of the secondary contact. | 602 |
fein | string | — | Yes | Federal Employer Identification Number. | "12-3456789" |
status | string | enum | No | Client status, for example ACTIVE, INACTIVE, PROSPECT or CLOSED. | "ACTIVE" |
invoiceDeliveryMethod | string | enum | Yes | Default delivery method for the client's invoices: EMAIL, DOWNLOAD, EMAIL_AND_DOWNLOAD or POST_ONLY. | "EMAIL" |
mergedInto | integer | — | Yes | For a client merged into another as a duplicate, the id of the client it was merged into. A merged client is always inactive. | — |
inactivateMergedRecord | boolean | — | No | For a merged client, whether the merge also made the client it was merged into inactive. Not an indicator that the client was merged; use mergedInto for that. | false |
clientContactInfo | object | ClientContactInfo | Yes | Primary contact and address details. Returned only by GET /gql/v1/client/{id}; list and search responses carry clientContactInfoId instead. | — |
partnerStaff | object | StaffMember | Yes | Assigned partner staff member. | — |
managerStaff | object | StaffMember | Yes | Assigned manager staff member. | — |