> ## Documentation Index
> Fetch the complete documentation index at: https://docs.nekt.com/llms.txt
> Use this file to discover all available pages before exploring further.

# JobTread as a data source

> Bring customers, contacts, locations, jobs, estimates, invoices, bills, budgets, tasks, payments and custom fields from JobTread to Nekt.

JobTread is a construction management platform with a built-in CRM, used by builders, remodelers and specialty contractors to manage leads, jobs, estimates, budgets, schedules and invoicing. This connector reads your JobTread organization through the JobTread Open API and brings your customers and vendors with their contacts and locations, jobs, documents (estimates, change orders, invoices, vendor orders and bills), cost items and budgets, tasks and to-dos, daily logs, time entries, payments, users and the values of your custom fields.

> [!NOTE]
>
> The connector only reads data. It never creates, changes or deletes anything in JobTread.

## Configuring JobTread as a Source

In the [Sources](https://app.nekt.ai/sources) tab, click on the "Add source" button located on the top right of your screen. Then, select the JobTread option from the list of connectors.

Click **Next** and you'll be prompted to add your access.

### 1. Add account access

The connector signs in with a JobTread **grant key**. In JobTread, a user with administrator access opens **Settings > Integrations > API > Grants** and creates a new grant (for example, named "Nekt"). Copy the key when it is shown: JobTread displays it only once.

> [!WARNING]
>
> A grant key has the permissions of the JobTread user who creates it. Create it with an administrator so that every table can be read. If the user cannot see an area (for example, payments or costs), the tables of that area are skipped and the sync log says which permission is missing.

> [!NOTE]
>
> JobTread grant keys expire after 3 months without use. A source that syncs regularly keeps its key active. If the key expires, create a new one and update the source.

The following configurations are available:

* **Grant Key**: The JobTread API grant key.
* **Organization ID** (advanced, optional): The JobTread organization to sync. Leave it empty to use the organization the grant key was created in. It is only needed when the user of the grant key belongs to several organizations; in that case the sync log lists them by name and ID.

Once you're done, click **Next**.

### 2. Select streams

Choose which data streams you want to sync. For faster extractions, select only the streams that are relevant to your analysis. You can select entire groups of streams or pick specific ones.

> Tip: The stream can be found more easily by typing its name.

Select the streams and click **Next**.

### 3. Configure data streams

Customize how you want your data to appear in your catalog. Select the desired layer where the data will be placed, a folder to organize it inside the layer, a name for each table (which will effectively contain the fetched data) and the type of sync.

* **Layer**: choose between the existing layers on your catalog. This is where you will find your new extracted tables as the extraction runs successfully.
* **Folder**: a folder can be created inside the selected layer to group all tables being created from this new data source.
* **Table name**: we suggest a name, but feel free to customize it. You have the option to add a **prefix** to all tables at once and make this process faster!
* **Sync Type**: every JobTread stream is synced as FULL\_TABLE: on every extraction the connector reads the current state of each table, so changes and deletions in JobTread are reflected in your catalog.

Once you are done configuring, click **Next**.

### 4. Configure data source

Describe your data source for easy identification within your organization, not exceeding 140 characters.

To define your [Trigger](https://docs.nekt.com/runs/scheduling-and-triggers.md), consider how often you want data to be extracted from this source. This decision usually depends on how frequently you need the new table data updated (every day, once a week, or only at specific times).

Optionally, you can configure Delta Log Retention and determine for how long we should store old states of this table as it gets updated. Read more about this resource [here](https://docs.nekt.com/get-started/core-concepts/resource-control).

Once you are ready, click **Next** to finalize the setup.

### 5. Check your new source

You can view your new source on the [Sources](https://app.nekt.ai/sources) page. If needed, manually trigger the source extraction by clicking on the arrow button. Once executed, your data will appear in your Catalog.

> [!WARNING]
>
> For you to be able to see it on your [Catalog](https://app.nekt.ai/catalog), you need at least one successful source run.

## Fields by stream

Relations between tables are kept as identifier columns: for example, `documents.job_id` matches `jobs.id` and `custom_field_values.contact_id` matches `contacts.id`. Lists of objects are stored as JSON text.

### CRM

> [accordion] Accounts
>
> Customers and vendors of your organization.
>
> Table: `accounts` · Primary key: `id` · Sync: Full table
>
> | Field | Type | Description |
> | :- | :- | :- |
> | `id` | String | Unique identifier of the record in JobTread. |
> | `name` | String | Name of the customer or vendor account. |
> | `type` | String | Account type: customer or vendor. |
> | `is_taxable` | Boolean | Whether documents for this account are taxable by default. |
> | `primary_contact_id` | String | Identifier of the account's primary contact (contacts.id). |
> | `primary_location_id` | String | Identifier of the account's primary location (locations.id). |
> | `qbo_id` | String | Identifier of the account in QuickBooks Online, when synced. |
> | `archived_at` | Datetime | Date and time the account was archived; empty while it is active. |
> | `created_at` | Datetime | Date and time the record was created in JobTread. |

> [accordion] Contacts
>
> People of each customer or vendor account. E-mails and phone numbers are custom fields in JobTread: find them in Custom Field Values.
>
> Table: `contacts` · Primary key: `id` · Sync: Full table
>
> | Field | Type | Description |
> | :- | :- | :- |
> | `id` | String | Unique identifier of the record in JobTread. |
> | `account_id` | String | Identifier of the customer or vendor account the contact belongs to (accounts.id). |
> | `name` | String | Full name of the contact. |
> | `first_name` | String | First name of the contact. |
> | `last_name` | String | Last name of the contact. |
> | `title` | String | Job title of the contact. |
> | `nicejob_campaign_enrolled_at` | Datetime | Date and time the contact was enrolled in a NiceJob campaign, when that integration is used. |
> | `created_at` | Datetime | Date and time the record was created in JobTread. |

> [accordion] Locations
>
> Addresses (job sites) of customer accounts.
>
> Table: `locations` · Primary key: `id` · Sync: Full table
>
> | Field | Type | Description |
> | :- | :- | :- |
> | `id` | String | Unique identifier of the record in JobTread. |
> | `account_id` | String | Identifier of the account the location belongs to (accounts.id). |
> | `contact_id` | String | Identifier of the location's contact (contacts.id). |
> | `name` | String | Name of the location. |
> | `address` | String | Address as entered in JobTread. |
> | `formatted_address` | String | Full formatted address. |
> | `street` | String | Street part of the address. |
> | `city` | String | City. |
> | `county` | String | County. |
> | `state` | String | State or province. |
> | `postal_code` | String | Postal (ZIP) code. |
> | `country` | String | Country. |
> | `latitude` | Number | Latitude of the location. |
> | `longitude` | Number | Longitude of the location. |
> | `time_zone` | String | IANA time zone of the location (e.g. America/Chicago). |
> | `tax_rate` | Number | Tax rate applied at this location. |
> | `custom_tax_rate` | Number | Custom tax rate set for this location, when it overrides the default. |
> | `created_at` | Datetime | Date and time the record was created in JobTread. |

> [accordion] Custom Fields
>
> Custom fields defined in your organization for customers, vendors, contacts, jobs, locations, cost items and daily logs.
>
> Table: `custom_fields` · Primary key: `id` · Sync: Full table
>
> | Field | Type | Description |
> | :- | :- | :- |
> | `id` | String | Unique identifier of the record in JobTread. |
> | `name` | String | Name of the custom field (e.g. Email, Phone, Status, Lead Source). |
> | `target_type` | String | What the field applies to: customer, vendor, customerContact, vendorContact, job, location, costItem or dailyLog. |
> | `type` | String | Value type: text, number, boolean, date, datetime, time, option, emailAddress, phoneNumber, address or url. |
> | `options` | Array of strings | Allowed values of an option field. |
> | `default_value` | String (JSON) | Default value of the field. |
> | `min_values_required` | Integer | Minimum number of values required. |
> | `max_values_allowed` | Integer | Maximum number of values allowed. |
> | `show_on_specifications` | Boolean | Whether the field shows on specifications. |
> | `position` | String | Sort position of the field. |
> | `created_at` | Datetime | Date and time the record was created in JobTread. |

> [accordion] Custom Field Values
>
> Every value of every custom field, with the record it belongs to. This is where JobTread keeps contact e-mails and phones, job stages and most lead information.
>
> Table: `custom_field_values` · Primary key: `id` · Sync: Full table
>
> | Field | Type | Description |
> | :- | :- | :- |
> | `id` | String | Unique identifier of the record in JobTread. |
> | `custom_field_id` | String | Identifier of the custom field (custom\_fields.id). |
> | `value` | String | Value as JobTread returns it; lists and objects (multi-option values, addresses) as JSON text. |
> | `number_value` | Number | Value of a number field. |
> | `boolean_value` | Boolean | Value of a boolean field. |
> | `date_value` | Date | Value of a date field. |
> | `datetime_value` | Datetime | Value of a date-time field. |
> | `time_value` | String | Value of a time field. |
> | `account_id` | String | Account the value belongs to (accounts.id), for customer and vendor fields. |
> | `contact_id` | String | Contact the value belongs to (contacts.id), for contact fields. |
> | `job_id` | String | Job the value belongs to (jobs.id), for job fields. |
> | `location_id` | String | Location the value belongs to (locations.id), for location fields. |
> | `cost_item_id` | String | Cost item the value belongs to (cost\_items.id), for cost item fields. |
> | `created_at` | Datetime | Date and time the record was created in JobTread. |
> | `custom_field_name` | String | Name of the custom field, as it was when this sync read it. |
> | `custom_field_target_type` | String | What the custom field applies to (customer, vendor, customerContact, vendorContact, job, location, costItem, dailyLog). |

### Jobs and schedule

> [accordion] Jobs
>
> Jobs (projects), with their customer, location and the cost and price totals JobTread computes.
>
> Table: `jobs` · Primary key: `id` · Sync: Full table
>
> | Field | Type | Description |
> | :- | :- | :- |
> | `id` | String | Unique identifier of the record in JobTread. |
> | `number` | String | Job number shown in JobTread. |
> | `name` | String | Name of the job. |
> | `description` | String | Description of the job. |
> | `location_id` | String | Identifier of the job's location (locations.id). |
> | `account_id` | String | Identifier of the customer account of the job, through its location (accounts.id). |
> | `price_type` | String | Pricing of the job: fixed or costPlus. |
> | `closed_on` | Date | Date the job was closed; empty while it is open. Job stages are usually a custom field (see custom\_field\_values). |
> | `areas` | Array of strings | Areas (rooms, zones) defined for the job. |
> | `projected_cost` | Number | Projected cost of the job, as computed by JobTread. |
> | `projected_price` | Number | Projected price of the job before tax, as computed by JobTread. |
> | `projected_price_with_tax` | Number | Projected price of the job including tax, as computed by JobTread. |
> | `actual_cost` | Number | Actual cost incurred on the job so far (vendor bills and time entries), as computed by JobTread. |
> | `default_retainage_percentage` | Number | Default retainage percentage of the job. |
> | `schedule_is_published` | Boolean | Whether the job schedule is published to the customer. |
> | `line_items_updated_at` | Datetime | Date and time the job's budget line items last changed. |
> | `qbo_id` | String | Identifier of the job in QuickBooks Online, when synced. |
> | `created_at` | Datetime | Date and time the record was created in JobTread. |

> [accordion] Tasks
>
> Schedule tasks and to-dos of jobs, accounts and the organization.
>
> Table: `tasks` · Primary key: `id` · Sync: Full table
>
> | Field | Type | Description |
> | :- | :- | :- |
> | `id` | String | Unique identifier of the record in JobTread. |
> | `name` | String | Name of the task. |
> | `description` | String | Description of the task. |
> | `target_type` | String | What the task belongs to: job, account, organization or taskTemplate. |
> | `job_id` | String | Identifier of the job (jobs.id). |
> | `account_id` | String | Identifier of the account (accounts.id). |
> | `location_id` | String | Identifier of the location (locations.id). |
> | `parent_task_id` | String | Identifier of the parent task (tasks.id). |
> | `task_type_id` | String | Identifier of the task type. |
> | `task_type_name` | String | Name of the task type. |
> | `is_to_do` | Boolean | Whether the task is a to-do (not on the schedule). |
> | `is_group` | Boolean | Whether the task is a group of tasks. |
> | `start_date` | Date | Start date. |
> | `end_date` | Date | End date. |
> | `start_time` | String | Start time of day. |
> | `end_time` | String | End time of day. |
> | `starts_at` | Datetime | Start date and time. |
> | `ends_at` | Datetime | End date and time. |
> | `baseline_start_date` | Date | Baseline start date. |
> | `baseline_end_date` | Date | Baseline end date. |
> | `progress` | Number | Progress of the task, from 0 to 1. |
> | `completed` | Integer | Number of completed tasks (1 or 0 for a single task; the count for a group). |
> | `started` | Integer | Number of started tasks (1 or 0 for a single task; the count for a group). |
> | `unstarted` | Integer | Number of tasks not started (1 or 0 for a single task; the count for a group). |
> | `subtasks` | String (JSON) | Checklist items of the task (name and isComplete). |
> | `recurrence_rule` | String | Recurrence rule of a recurring task. |
> | `position` | String | Sort position of the task. |
> | `created_at` | Datetime | Date and time the record was created in JobTread. |

> [accordion] Daily Logs
>
> Daily logs written on jobs.
>
> Table: `daily_logs` · Primary key: `id` · Sync: Full table
>
> | Field | Type | Description |
> | :- | :- | :- |
> | `id` | String | Unique identifier of the record in JobTread. |
> | `job_id` | String | Identifier of the job (jobs.id). |
> | `user_id` | String | Identifier of the user who wrote the log. |
> | `date` | Date | Date of the log. |
> | `notes` | String | Notes of the log. |
> | `weather_condition` | String | Weather condition recorded. |
> | `min_temperature` | Number | Minimum temperature recorded. |
> | `max_temperature` | Number | Maximum temperature recorded. |
> | `rainfall_amount` | Number | Rainfall recorded. |
> | `snowfall_amount` | Number | Snowfall recorded. |
> | `wind_speed` | Number | Wind speed recorded. |
> | `created_at` | Datetime | Date and time the record was created in JobTread. |

> [accordion] Time Entries
>
> Time tracked by users on jobs.
>
> Table: `time_entries` · Primary key: `id` · Sync: Full table
>
> | Field | Type | Description |
> | :- | :- | :- |
> | `id` | String | Unique identifier of the record in JobTread. |
> | `user_id` | String | Identifier of the user who tracked the time. |
> | `job_id` | String | Identifier of the job (jobs.id). |
> | `cost_item_id` | String | Identifier of the budget cost item the time was tracked against (cost\_items.id). |
> | `type` | String | Time entry type. |
> | `started_at` | Datetime | Start date and time. |
> | `ended_at` | Datetime | End date and time; empty while the clock is running. |
> | `minutes` | Integer | Duration in minutes. |
> | `hourly_rate` | Number | Hourly rate applied. |
> | `cost` | Number | Cost of the entry. |
> | `is_approved` | Boolean | Whether the entry was approved. |
> | `notes` | String | Notes of the entry. |
> | `qbo_id` | String | Identifier in QuickBooks Online, when synced. |
> | `created_at` | Datetime | Date and time the record was created in JobTread. |

### Financials

> [accordion] Documents
>
> Customer estimates and orders, change orders, customer invoices, vendor orders, vendor bills and bid requests, with their totals and balance.
>
> Table: `documents` · Primary key: `id` · Sync: Full table
>
> | Field | Type | Description |
> | :- | :- | :- |
> | `id` | String | Unique identifier of the record in JobTread. |
> | `type` | String | Document type: customerOrder (estimate/proposal/change order), customerInvoice, vendorOrder, vendorBill or bidRequest. |
> | `status` | String | Document status: draft, pending, approved or denied. |
> | `number` | Integer | Document number. |
> | `name` | String | Document name. |
> | `full_name` | String | Full document name, as shown in JobTread. |
> | `subject` | String | Subject of the document. |
> | `description` | String | Description of the document. |
> | `job_id` | String | Identifier of the job (jobs.id). |
> | `account_id` | String | Identifier of the customer or vendor account (accounts.id). |
> | `task_id` | String | Identifier of the schedule task the document is tied to (tasks.id). |
> | `issue_date` | Date | Issue date of the document. |
> | `due_date` | Date | Due date of the document. |
> | `due_days` | Integer | Days until the document is due. |
> | `cost` | Number | Total cost of the document's line items. |
> | `price` | Number | Total price before tax. |
> | `tax` | Number | Tax amount. |
> | `tax_rate` | Number | Tax rate applied. |
> | `tax_name` | String | Name of the tax applied. |
> | `non_recoverable_tax` | Number | Non-recoverable tax amount. |
> | `price_with_tax` | Number | Total price including tax. |
> | `amount_paid` | Number | Amount already paid. |
> | `balance` | Number | Amount still due. |
> | `include_in_budget` | Boolean | Whether the document's line items count in the job budget. |
> | `is_payment_application` | Boolean | Whether the document is an AIA payment application. |
> | `allow_partial_payments` | Boolean | Whether partial online payments are allowed. |
> | `payment_methods` | Array of strings | Online payment methods accepted (ach, card). |
> | `profit_breakdown` | String (JSON) | Profit breakdown of the document (name and percentage). |
> | `from_name` | String | Sender name. |
> | `from_organization_name` | String | Sender organization name. |
> | `to_name` | String | Recipient name. |
> | `to_organization_name` | String | Recipient organization name. |
> | `to_email_address` | String | Recipient e-mail address. |
> | `to_phone_number` | String | Recipient phone number (E.164). |
> | `to_address` | String | Recipient address. |
> | `job_location_name` | String | Name of the job location printed on the document. |
> | `job_location_formatted_address` | String | Job location address printed on the document. |
> | `external_id` | String | Identifier of the document in an external system. |
> | `qbo_id` | String | Identifier of the document in QuickBooks Online, when synced. |
> | `signed_at` | Datetime | Date and time the document was signed. |
> | `signed_by_user_id` | String | Identifier of the user who signed the document. |
> | `closed_at` | Datetime | Date and time the document was closed. |
> | `closed_by_user_id` | String | Identifier of the user who closed the document. |
> | `created_at` | Datetime | Date and time the record was created in JobTread. |

> [accordion] Cost Items
>
> Line items of the cost catalog, of job budgets and of documents.
>
> Table: `cost_items` · Primary key: `id` · Sync: Full table
>
> | Field | Type | Description |
> | :- | :- | :- |
> | `id` | String | Unique identifier of the record in JobTread. |
> | `name` | String | Name of the cost item. |
> | `description` | String | Description of the cost item. |
> | `job_id` | String | Identifier of the job (jobs.id); set for budget and document items, empty for catalog items. |
> | `document_id` | String | Identifier of the document (documents.id); empty for budget and catalog items. |
> | `cost_group_id` | String | Identifier of the cost group the item is in (cost\_groups.id). |
> | `cost_code_id` | String | Identifier of the cost code (cost\_codes.id). |
> | `cost_type_id` | String | Identifier of the cost type (cost\_types.id). |
> | `unit_id` | String | Identifier of the unit of measure. |
> | `unit_name` | String | Name of the unit of measure. |
> | `job_cost_item_id` | String | For a document item: the job budget item it corresponds to (cost\_items.id). |
> | `organization_cost_item_id` | String | The catalog item this item came from (cost\_items.id). |
> | `quantity` | Number | Quantity. |
> | `unit_cost` | Number | Cost per unit. |
> | `unit_price` | Number | Price per unit. |
> | `cost` | Number | Total cost (quantity x unit cost). |
> | `price` | Number | Total price before tax. |
> | `price_with_tax` | Number | Total price including tax. |
> | `is_taxable` | Boolean | Whether the item is taxable. |
> | `is_selected` | Boolean | Whether the item is selected (selections and options). |
> | `allowance_type` | String | Allowance type: cost, costAndFee or price; empty when the item is not an allowance. |
> | `has_final_actual_cost` | Boolean | Whether the item's actual cost is final. |
> | `is_specification` | Boolean | Whether the item is a specification. |
> | `quantity_formula` | String | Formula used to compute the quantity. |
> | `unit_cost_formula` | String | Formula used to compute the unit cost. |
> | `unit_price_formula` | String | Formula used to compute the unit price. |
> | `job_area` | String | Job area (room, zone) of the item. |
> | `position` | String | Sort position of the item within its group. |
> | `created_at` | Datetime | Date and time the record was created in JobTread. |

> [accordion] Cost Groups
>
> Groups that organize cost items in the catalog, budgets and documents.
>
> Table: `cost_groups` · Primary key: `id` · Sync: Full table
>
> | Field | Type | Description |
> | :- | :- | :- |
> | `id` | String | Unique identifier of the record in JobTread. |
> | `name` | String | Name of the cost group. |
> | `description` | String | Description of the cost group. |
> | `job_id` | String | Identifier of the job (jobs.id); empty for catalog groups. |
> | `document_id` | String | Identifier of the document (documents.id); empty for budget and catalog groups. |
> | `parent_cost_group_id` | String | Identifier of the parent group (cost\_groups.id). |
> | `quantity` | Number | Quantity of the group. |
> | `unit_id` | String | Identifier of the unit of measure. |
> | `is_selected` | Boolean | Whether the group is selected (selections and options). |
> | `position` | String | Sort position of the group. |
> | `created_at` | Datetime | Date and time the record was created in JobTread. |

> [accordion] Cost Codes
>
> Cost codes (accounting buckets) of your organization.
>
> Table: `cost_codes` · Primary key: `id` · Sync: Full table
>
> | Field | Type | Description |
> | :- | :- | :- |
> | `id` | String | Unique identifier of the record in JobTread. |
> | `number` | String | Cost code number. |
> | `name` | String | Cost code name. |
> | `full_name` | String | Number and name of the cost code. |
> | `parent_cost_code_id` | String | Identifier of the parent cost code (cost\_codes.id). |
> | `is_active` | Boolean | Whether the cost code is active. |
> | `qbo_id` | String | Identifier in QuickBooks Online, when synced. |
> | `created_at` | Datetime | Date and time the record was created in JobTread. |

> [accordion] Cost Types
>
> Cost types (labor, materials, subcontractor...) of your organization.
>
> Table: `cost_types` · Primary key: `id` · Sync: Full table
>
> | Field | Type | Description |
> | :- | :- | :- |
> | `id` | String | Unique identifier of the record in JobTread. |
> | `name` | String | Cost type name (e.g. Labor, Materials, Subcontractor). |
> | `margin` | Number | Default margin of the cost type. |
> | `is_active` | Boolean | Whether the cost type is active. |
> | `is_taxable` | Boolean | Whether items of this type are taxable by default. |
> | `is_time_trackable` | Boolean | Whether time can be tracked against this cost type. |
> | `created_at` | Datetime | Date and time the record was created in JobTread. |

> [accordion] Payments
>
> Payments received from customers and paid to vendors.
>
> Table: `payments` · Primary key: `id` · Sync: Full table
>
> | Field | Type | Description |
> | :- | :- | :- |
> | `id` | String | Unique identifier of the record in JobTread. |
> | `type` | String | Payment type: credit (received from a customer) or debit (paid to a vendor). |
> | `amount` | Number | Amount of the payment. |
> | `amount_applied` | Number | Part of the amount applied to documents. |
> | `amount_unapplied` | Number | Part of the amount not applied to any document. |
> | `fee_amount` | Number | Processing fee of the payment, when there is one. |
> | `paid_at` | Datetime | Date and time of the payment. |
> | `account_id` | String | Identifier of the customer or vendor account (accounts.id). |
> | `description` | String | Description of the payment. |
> | `source` | String | Where the payment came from. |
> | `external_id` | String | Identifier of the payment in an external system. |
> | `qbo_id` | String | Identifier in QuickBooks Online, when synced. |
> | `stripe_id` | String | Identifier in Stripe, for online payments. |
> | `created_at` | Datetime | Date and time the record was created in JobTread. |

> [accordion] Document Payments
>
> How each payment was applied to documents.
>
> Table: `document_payments` · Primary key: `id` · Sync: Full table
>
> | Field | Type | Description |
> | :- | :- | :- |
> | `id` | String | Unique identifier of the record in JobTread. |
> | `document_id` | String | Identifier of the document paid (documents.id). |
> | `payment_id` | String | Identifier of the payment (payments.id). |
> | `amount` | Number | Amount of the payment applied to the document. |
> | `is_linked_to_qbo` | Boolean | Whether this application is linked to QuickBooks Online. |
> | `created_at` | Datetime | Date and time the record was created in JobTread. |

### Users

> [accordion] Memberships
>
> Users of your organization: internal users and customer or vendor portal users, with their role.
>
> Table: `memberships` · Primary key: `id` · Sync: Full table
>
> | Field | Type | Description |
> | :- | :- | :- |
> | `id` | String | Unique identifier of the record in JobTread. |
> | `user_id` | String | Identifier of the user. |
> | `user_name` | String | Name of the user. |
> | `user_email_address` | String | E-mail address of the user. |
> | `user_phone_number` | String | Phone number of the user (E.164). |
> | `role_id` | String | Identifier of the user's role in the organization. |
> | `role_name` | String | Name of the user's role in the organization. |
> | `is_internal` | Boolean | Whether the user is internal to the organization (not a customer or vendor portal user). |
> | `account_id` | String | For customer or vendor portal users: their account (accounts.id). |
> | `contact_id` | String | For customer or vendor portal users: their contact (contacts.id). |
> | `account_name` | String | Name of the account of a portal user. |
> | `account_type` | String | Type of the account of a portal user: customer or vendor. |
> | `contact_title` | String | Title of the contact of a portal user. |
> | `time_entry_types` | String (JSON) | Time entry types available to the user (name and hourly rate). |
> | `last_active_at` | Datetime | Date and time the user was last active in the organization. |
> | `created_at` | Datetime | Date and time the record was created in JobTread. |

## Implementation notes

* **Full table streams.** JobTread records have a creation date but no "last updated" date, and the API cannot filter by change date, so every stream is read in full on every sync. Large organizations (many cost items or custom field values) take longer to sync; select only the streams you need.
* **Custom fields hold most CRM data.** In JobTread, a contact's e-mail and phone, a job's stage or status, the lead source and similar information are custom fields. Join **Custom Field Values** to the record through `account_id`, `contact_id`, `job_id`, `location_id` or `cost_item_id`, and filter by `custom_field_name`. Values of daily log custom fields carry only `custom_field_id`, because JobTread does not link them to the daily log in its API.
* **Cost items** combine three kinds of item: catalog items (no `job_id`), job budget items (`job_id` set, no `document_id`) and document line items (`job_id` and `document_id` set, with `job_cost_item_id` pointing to the budget item they come from).
* **Permissions.** Before reading anything, the connector checks each selected table with a small request. A table JobTread refuses for the grant key is skipped, marked as failed, and named in the sync log with the area the grant's user must be allowed to see; the other tables still load. If JobTread rejects a table for another reason (usually an API change on JobTread's side), the log says so and Nekt support can update the connector. If no selected table can be read, the sync fails.
* **Hidden custom fields.** If JobTread does not return the values of a custom field that still exists (for example, because the grant's user cannot see it), **Custom Field Values** fails with a message naming the field instead of loading without its values. Create the grant key with an administrator.
* **Complete tables only.** Each table is read in full, in creation order, before anything is sent to your catalog, so records created or deleted in JobTread during the sync do not make it skip others, and the number of records read is checked against the count JobTread reports. If records are missing, the table is read once more; if they are still missing, that table fails and keeps its previous data instead of loading an incomplete copy. A table that had records in the previous sync and comes back empty also fails instead of emptying your table; run a full sync of the source if the data really was removed in JobTread.
* **Rate limits.** JobTread limits how many requests each grant key can make but does not publish the number. The connector reads at a moderate pace and waits when JobTread asks it to slow down. Use a grant key dedicated to Nekt.
* **Deleted records** disappear from the tables on the next sync.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.