# Service line

A service category used to organize work and job templates.

## Fields

| Name | Type | Format | Nullable | Description | Example |
|  --- | --- | --- | --- | --- | --- |
| `id` | integer | — | No | Unique service-line identifier. | `10` |
| `pms_ref` | string | — | Yes | Practice-management-system reference. | `"SL-10"` |
| `name` | string | — | No | Service-line name. | `"Tax"` |
| `active` | boolean | — | No | Whether the service line is active. | `true` |
| `charge_admin_fee` | boolean | — | Yes | Whether work in this service line incurs an administrative fee. | `false` |
| `created_at` | string | date-time (ISO 8601) | Yes | Record creation timestamp. | `"2025-01-02T03:04:05Z"` |
| `updated_at` | string | date-time (ISO 8601) | Yes | Last modification timestamp. | `"2025-01-02T03:04:05Z"` |
| `version` | integer | — | Yes | Record version. | `1` |
| `is_created_by_aiwyn` | boolean | — | No | Whether the record was created in Aiwyn. | `false` |
| `is_managed_by_aiwyn` | boolean | — | No | Whether Aiwyn manages the record's lifecycle. | `false` |
| `created_by_staff_id` | integer | — | Yes | Staff id of whoever created the record. | `53` |
| `last_updated_by_staff_id` | integer | — | Yes | Staff id of whoever last updated the record. | `53` |
| `business_entity_id` | integer | — | Yes | Business entity that owns the service line; null when it falls back to the firm default. | `3` |
| `custom_field_values` | object | map | Yes | Firm-defined custom fields. | `{}` |