# BigTime

> Log time and expenses and manage projects, clients, tasks and invoices in BigTime.

App · 34 actions. Web page: https://docs.lodol.com/docs/integrations/bigtime

## Actions

### Add an expense

Add an expense entry. Give a cost or a billable amount.

**Inputs**

- Staff member (`staff_id`, number, required): Who the expense is for.
- Project (`project_id`, number, required): The project the expense is for.
- Expense code (`expense_code_id`, number, required): The expense category.
- Date (`date`, date, required): The day of the expense.
- Cost (`cost`, number): What it cost.
- Billable amount (`billable_amount`, number): What to bill the client, if not the cost.
- Notes (`notes`, text): What the expense was (up to 1,000 characters).
- No charge (`no_charge`, true/false): Whether the expense is not billed.
- Paid by company (`paid_by_company`, true/false): Whether the company paid it, so it isn't reimbursed.

**Outputs**

- `data` (object): The response from BigTime.

**Example output**

```json
{
  "data": {
    "CatNm": "example",
    "CatSID": 1,
    "ClientID": 1,
    "CostBill": 1,
    "CostIN": 1,
    "Dt": "example",
    "IsSubmitted": true,
    "IsUnit": true,
    "NoCharge": true,
    "Nt": "example",
    "PaidByCo": true,
    "ProjectNm": "example",
    "ProjectSID": 1,
    "RptSID": 1,
    "SID": 1,
    "StaffSID": 1,
    "TaskSID": 1,
    "VendorSID": 1
  }
}
```

### Create a client

Add a client to BigTime.

**Inputs**

- Name (`name`, text, required): The client's name.
- Client code (`client_code`, text): Your account number for the client.
- Legal name (`legal_name`, text): The name on invoices.
- Address (`address`, text): The street address.
- City (`city`, text): The city.
- State (`state`, text): The state, province or county.
- Postal code (`postal_code`, text): The postal code.
- Country (`country`, text): The country.
- Phone (`phone`, text): The main phone number.
- Notes (`notes`, text): Notes about the client.

**Outputs**

- `data` (object): The response from BigTime.

**Example output**

```json
{
  "data": {
    "Address": "example",
    "City": "example",
    "ClientId": "example",
    "Country": "example",
    "FullAddress": "example",
    "IsInactive": true,
    "LegalNm": "example",
    "MainFX": "example",
    "MainPH": "example",
    "Nm": "example",
    "Notes": "example",
    "State": "example",
    "SystemId": 1,
    "Zip": "example"
  }
}
```

### Create a project

Add a project to BigTime.

**Inputs**

- Name (`name`, text, required): The project's name.
- Project code (`project_code`, text, required): A short unique code for the project.
- Client (`client_id`, number): The client the project is for.
- Display name (`display_name`, text): The name BigTime shows for the project.
- Start date (`start_date`, date): When the project starts. BigTime uses today when empty.
- End date (`end_date`, date): When the project closes. No time can be logged after it.
- Notes (`notes`, text): What the project is.
- Internal (no charge) (`is_no_charge`, true/false): Whether it's an internal project nobody is billed for.
- Open to all staff (`is_all_staff`, true/false): Whether every staff member can log time to it.
- Hourly rate (`basic_rate`, number): A flat hourly rate for the project.

**Outputs**

- `data` (object): The response from BigTime.

**Example output**

```json
{
  "data": {
    "BasicRate": 1,
    "BillingContactId": 1,
    "ClientId": 1,
    "DisplayName": "example",
    "DtCreated": "example",
    "DtModified": "example",
    "EndDt": "example",
    "IsAllStaff": true,
    "IsInactive": true,
    "IsNoCharge": true,
    "Nm": "example",
    "Notes": "example",
    "PrimaryContactId": 1,
    "ProjectCode": "example",
    "StartDt": "example",
    "StatusBill": 1,
    "StatusProd": 1,
    "SystemId": 1,
    "TypeId": 1
  }
}
```

### Create a task

Add a task to a project.

**Inputs**

- Project (`project_id`, number, required): The project the task belongs to.
- Name (`name`, text, required): The task's name.
- Parent task (`group`, text): The task this one sits under, by name, for a sub-task.
- Priority (`priority`, text): How urgent the task is. One of: `HIGH`, `MEDIUM`, `LOW`.
- Notes (`notes`, text): What the task is.
- Assigned to (`assignee_ids`, list): The staff members assigned to the task.

**Outputs**

- `data` (object): The response from BigTime.

**Example output**

```json
{
  "data": {
    "AssignCount": 1,
    "AssignmentNames": "example",
    "CurrentStatus": 1,
    "CurrentStatus_nm": "example",
    "DueDt": "example",
    "FullName": "example",
    "IsCompleted": true,
    "Notes": "example",
    "Priority": "example",
    "ProjectSid": 1,
    "StartDt": "example",
    "TaskGroup": "example",
    "TaskNm": "example",
    "TaskSid": 1,
    "TaskType": 1,
    "TaskType_nm": "example"
  }
}
```

### Create an invoice

Create a draft invoice for a project: an empty one, or one for its unbilled time and materials.

**Inputs**

- Project (`project_id`, number, required): The project to invoice.
- Invoice type (`invoice_type`, text, required): An empty invoice to fill in, or one with the project's unbilled time and materials. One of: `0` (Empty invoice), `1` (Time and materials).

**Outputs**

- `data` (object): The response from BigTime.

**Example output**

```json
{
  "data": {
    "ClientNm": "example",
    "ClientSid": 1,
    "DName": "example",
    "InvoiceAmt": 1,
    "InvoiceDt": "example",
    "InvoiceDtEnd": "example",
    "InvoiceDtSent": "example",
    "InvoiceDtSt": "example",
    "InvoiceNbr": "example",
    "Note1": "example",
    "Note2": "example",
    "PaidAmt": 1,
    "ProjectSid": 1,
    "SalesTaxAmt": 1,
    "Sid": 1,
    "Status": "example",
    "Subtotal": 1,
    "TotalAmt": 1
  }
}
```

### Delete a project

Delete a project that has no time or expenses logged to it.

**Inputs**

- Project (`project_id`, number, required): The project.

**Outputs**

- `data` (object): The response from BigTime.

**Example output**

```json
{
  "data": {}
}
```

### Delete a task

Delete a task that has no time or expenses logged to it.

**Inputs**

- Task ID (`task_id`, number, required): The task's ID.

**Outputs**

- `data` (object): The response from BigTime.

**Example output**

```json
{
  "data": {}
}
```

### Delete a time entry

Delete a time entry that hasn't been submitted.

**Inputs**

- Time entry ID (`time_entry_id`, number, required): The time entry's ID. It changes once the entry is submitted.

**Outputs**

- `data` (object): The response from BigTime.

**Example output**

```json
{
  "data": {}
}
```

### Delete an expense

Delete an expense entry that hasn't been submitted.

**Inputs**

- Expense ID (`expense_id`, number, required): The expense entry's ID.

**Outputs**

- `data` (object): The response from BigTime.

**Example output**

```json
{
  "data": {}
}
```

### Delete an invoice

Delete an invoice for good.

**Inputs**

- Invoice ID (`invoice_id`, number, required): The invoice's ID.

**Outputs**

- `data` (object): The response from BigTime.

**Example output**

```json
{
  "data": {}
}
```

### Get a client

Get one client's details.

**Inputs**

- Client (`client_id`, number, required): The client.
- Detail (`view`, text): How much to return. Detailed is slower. One of: `Basic`, `Detailed`.

**Outputs**

- `data` (object): The response from BigTime.

**Example output**

```json
{
  "data": {
    "Address": "example",
    "City": "example",
    "ClientId": "example",
    "Country": "example",
    "FullAddress": "example",
    "IsInactive": true,
    "LegalNm": "example",
    "MainFX": "example",
    "MainPH": "example",
    "Nm": "example",
    "Notes": "example",
    "State": "example",
    "SystemId": 1,
    "Zip": "example"
  }
}
```

### Get a project

Get one project's details.

**Inputs**

- Project (`project_id`, number, required): The project.
- Detail (`view`, text): How much to return. Detailed is slower. One of: `Basic`, `Detailed`.

**Outputs**

- `data` (object): The response from BigTime.

**Example output**

```json
{
  "data": {
    "BasicRate": 1,
    "BillingContactId": 1,
    "ClientId": 1,
    "DisplayName": "example",
    "DtCreated": "example",
    "DtModified": "example",
    "EndDt": "example",
    "IsAllStaff": true,
    "IsInactive": true,
    "IsNoCharge": true,
    "Nm": "example",
    "Notes": "example",
    "PrimaryContactId": 1,
    "ProjectCode": "example",
    "StartDt": "example",
    "StatusBill": 1,
    "StatusProd": 1,
    "SystemId": 1,
    "TypeId": 1
  }
}
```

### Get a staff member

Get one staff member's details.

**Inputs**

- Staff member (`staff_id`, number, required): The staff member.
- Detail (`view`, text): How much to return. Detailed is slower. One of: `Basic`, `Detailed`.

**Outputs**

- `data` (object): The response from BigTime.

**Example output**

```json
{
  "data": {
    "Capacity": 1,
    "EMail": "example",
    "FName": "example",
    "IsInactive": true,
    "ManagerID": 1,
    "Notes": "example",
    "Phone_Cell": "example",
    "Phone_Wk": "example",
    "SName": "example",
    "StaffSid": 1,
    "Start_dt": "example",
    "Status": 1,
    "Term_dt": "example",
    "Title": "example"
  }
}
```

### Get a time entry

Get one time entry with its approval and billing details.

**Inputs**

- Time entry ID (`time_entry_id`, number, required): The time entry's ID. It changes once the entry is submitted.

**Outputs**

- `data` (object): The response from BigTime.

**Example output**

```json
{
  "data": {
    "ApprovalStatus": 1,
    "ApprovalStatusNm": "example",
    "BillRate": 1,
    "BudgCatID": 1,
    "BudgCatNm": "example",
    "ChargeBillable": 1,
    "ClientID": 1,
    "ClientNm": "example",
    "Dt": "example",
    "DtCreated": 1,
    "DtModified": 1,
    "HoursBillable": 1,
    "Hours_IN": 1,
    "InvoiceSID": 1,
    "IsApproved": true,
    "IsInvoiced": true,
    "IsNew": true,
    "NoCharge": true,
    "Notes": "example",
    "ProjectNm": "example",
    "ProjectSID": 1,
    "SID": 1,
    "SourceNm": "example",
    "StaffSID": 1,
    "TaskNm": "example",
    "TaskSID": 1
  }
}
```

### Get a timesheet

List a staff member's time entries for a date range.

**Inputs**

- Staff member (`staff_id`, number, required): The staff member.
- From (`start_date`, date, required): The first day to include.
- To (`end_date`, date, required): The last day to include.
- Detail (`view`, text): How much to return. Detailed is slower. One of: `Basic`, `Detailed`.

**Outputs**

- `data` (list): The response from BigTime.

**Example output**

```json
{
  "data": [
    {
      "ApprovalStatus": 1,
      "ApprovalStatusNm": "example",
      "BillRate": 1,
      "BudgCatID": 1,
      "BudgCatNm": "example",
      "ChargeBillable": 1,
      "ClientID": 1,
      "ClientNm": "example",
      "Dt": "example",
      "DtCreated": 1,
      "DtModified": 1,
      "HoursBillable": 1,
      "Hours_IN": 1,
      "InvoiceSID": 1,
      "IsApproved": true,
      "IsInvoiced": true,
      "IsNew": true,
      "NoCharge": true,
      "Notes": "example",
      "ProjectNm": "example",
      "ProjectSID": 1,
      "SID": 1,
      "SourceNm": "example",
      "StaffSID": 1,
      "TaskNm": "example",
      "TaskSID": 1
    }
  ]
}
```

### Get an expense

Get one expense entry.

**Inputs**

- Expense ID (`expense_id`, number, required): The expense entry's ID.

**Outputs**

- `data` (object): The response from BigTime.

**Example output**

```json
{
  "data": {
    "CatNm": "example",
    "CatSID": 1,
    "ClientID": 1,
    "CostBill": 1,
    "CostIN": 1,
    "Dt": "example",
    "IsSubmitted": true,
    "IsUnit": true,
    "NoCharge": true,
    "Nt": "example",
    "PaidByCo": true,
    "ProjectNm": "example",
    "ProjectSID": 1,
    "RptSID": 1,
    "SID": 1,
    "StaffSID": 1,
    "TaskSID": 1,
    "VendorSID": 1
  }
}
```

### Get an invoice

Get one invoice with its amounts and dates.

**Inputs**

- Invoice ID (`invoice_id`, number, required): The invoice's ID.

**Outputs**

- `data` (object): The response from BigTime.

**Example output**

```json
{
  "data": {
    "ClientNm": "example",
    "ClientSid": 1,
    "DName": "example",
    "InvoiceAmt": 1,
    "InvoiceDt": "example",
    "InvoiceDtEnd": "example",
    "InvoiceDtSent": "example",
    "InvoiceDtSt": "example",
    "InvoiceNbr": "example",
    "Note1": "example",
    "Note2": "example",
    "PaidAmt": 1,
    "ProjectSid": 1,
    "SalesTaxAmt": 1,
    "Sid": 1,
    "Status": "example",
    "Subtotal": 1,
    "TotalAmt": 1
  }
}
```

### List a project's tasks

List a project's tasks, with their status and who is assigned.

**Inputs**

- Project (`project_id`, number, required): The project.
- Include completed (`show_completed`, true/false): Include completed tasks too.

**Outputs**

- `data` (list): The response from BigTime.

**Example output**

```json
{
  "data": [
    {
      "AssignCount": 1,
      "AssignmentNames": "example",
      "CurrentStatus": 1,
      "CurrentStatus_nm": "example",
      "DueDt": "example",
      "FullName": "example",
      "IsCompleted": true,
      "Notes": "example",
      "Priority": "example",
      "ProjectSid": 1,
      "StartDt": "example",
      "TaskGroup": "example",
      "TaskNm": "example",
      "TaskSid": 1,
      "TaskType": 1,
      "TaskType_nm": "example"
    }
  ]
}
```

### List a project's time

List the time logged to a project in a date range.

**Inputs**

- Project (`project_id`, number, required): The project.
- From (`start_date`, date, required): The first day to include.
- To (`end_date`, date, required): The last day to include.
- Detail (`view`, text): How much to return. Detailed is slower. One of: `Basic`, `Detailed`.
- Approved only (`approved_only`, true/false): Only approved time.

**Outputs**

- `data` (list): The response from BigTime.

**Example output**

```json
{
  "data": [
    {
      "ApprovalStatus": 1,
      "ApprovalStatusNm": "example",
      "BillRate": 1,
      "BudgCatID": 1,
      "BudgCatNm": "example",
      "ChargeBillable": 1,
      "ClientID": 1,
      "ClientNm": "example",
      "Dt": "example",
      "DtCreated": 1,
      "DtModified": 1,
      "HoursBillable": 1,
      "Hours_IN": 1,
      "InvoiceSID": 1,
      "IsApproved": true,
      "IsInvoiced": true,
      "IsNew": true,
      "NoCharge": true,
      "Notes": "example",
      "ProjectNm": "example",
      "ProjectSID": 1,
      "SID": 1,
      "SourceNm": "example",
      "StaffSID": 1,
      "TaskNm": "example",
      "TaskSID": 1
    }
  ]
}
```

### List clients

List the clients you can see in BigTime.

**Inputs**

- Include inactive (`show_inactive`, true/false): Include inactive records too.

**Outputs**

- `data` (list): The response from BigTime.

**Example output**

```json
{
  "data": [
    {
      "Address": "example",
      "City": "example",
      "ClientId": "example",
      "Country": "example",
      "FullAddress": "example",
      "IsInactive": true,
      "LegalNm": "example",
      "MainFX": "example",
      "MainPH": "example",
      "Nm": "example",
      "Notes": "example",
      "State": "example",
      "SystemId": 1,
      "Zip": "example"
    }
  ]
}
```

### List draft invoices

List the invoices that haven't been sent yet.

**Inputs**

- From (`start_date`, date): The first day to include.
- To (`end_date`, date): The last day to include.

**Outputs**

- `data` (list): The response from BigTime.

**Example output**

```json
{
  "data": [
    {
      "ClientNm": "example",
      "ClientSid": 1,
      "DName": "example",
      "InvoiceAmt": 1,
      "InvoiceDt": "example",
      "InvoiceDtEnd": "example",
      "InvoiceDtSent": "example",
      "InvoiceDtSt": "example",
      "InvoiceNbr": "example",
      "Note1": "example",
      "Note2": "example",
      "PaidAmt": 1,
      "ProjectSid": 1,
      "SalesTaxAmt": 1,
      "Sid": 1,
      "Status": "example",
      "Subtotal": 1,
      "TotalAmt": 1
    }
  ]
}
```

### List expense codes

List the expense codes expenses can be logged against.

**Inputs**

- Project (`project_id`, number): Only the codes this project uses.

**Outputs**

- `data` (list): The response from BigTime.

**Example output**

```json
{
  "data": [
    {
      "CostRate": 1,
      "Id": 1,
      "IsTaxable": true,
      "IsUnit": true,
      "Name": "example",
      "Nt": "example",
      "UnitOfMeasure": "example"
    }
  ]
}
```

### List expenses

Find expense entries by date, staff member and project, newest first (up to 1,000).

**Inputs**

- From (`from_date`, date): The first day to include.
- To (`to_date`, date): The last day to include.
- Staff members (`staff_ids`, list): Only expenses of these staff members.
- Projects (`project_ids`, list): Only expenses on these projects.
- Detail (`view`, text): How much to return. Detailed is slower. One of: `Basic`, `Detailed`.

**Outputs**

- `data` (list): The response from BigTime.

**Example output**

```json
{
  "data": [
    {
      "CatNm": "example",
      "CatSID": 1,
      "ClientID": 1,
      "CostBill": 1,
      "CostIN": 1,
      "Dt": "example",
      "IsSubmitted": true,
      "IsUnit": true,
      "NoCharge": true,
      "Nt": "example",
      "PaidByCo": true,
      "ProjectNm": "example",
      "ProjectSID": 1,
      "RptSID": 1,
      "SID": 1,
      "StaffSID": 1,
      "TaskSID": 1,
      "VendorSID": 1
    }
  ]
}
```

### List invoices

List the invoices created in a date range.

**Inputs**

- From (`start_date`, date, required): The first day to include.
- To (`end_date`, date, required): The last day to include.

**Outputs**

- `data` (list): The response from BigTime.

**Example output**

```json
{
  "data": [
    {
      "ClientNm": "example",
      "ClientSid": 1,
      "DName": "example",
      "InvoiceAmt": 1,
      "InvoiceDt": "example",
      "InvoiceDtEnd": "example",
      "InvoiceDtSent": "example",
      "InvoiceDtSt": "example",
      "InvoiceNbr": "example",
      "Note1": "example",
      "Note2": "example",
      "PaidAmt": 1,
      "ProjectSid": 1,
      "SalesTaxAmt": 1,
      "Sid": 1,
      "Status": "example",
      "Subtotal": 1,
      "TotalAmt": 1
    }
  ]
}
```

### List labor codes

List the labor codes time can be logged against.

**Inputs**

- Staff member (`staff_id`, number): Only codes this staff member can use.

**Outputs**

- `data` (list): The response from BigTime.

**Example output**

```json
{
  "data": [
    {
      "Id": 1,
      "Name": "example"
    }
  ]
}
```

### List projects

List the projects you can see in BigTime.

**Inputs**

- Include inactive (`show_inactive`, true/false): Include inactive records too.

**Outputs**

- `data` (list): The response from BigTime.

**Example output**

```json
{
  "data": [
    {
      "BasicRate": 1,
      "BillingContactId": 1,
      "ClientId": 1,
      "DisplayName": "example",
      "DtCreated": "example",
      "DtModified": "example",
      "EndDt": "example",
      "IsAllStaff": true,
      "IsInactive": true,
      "IsNoCharge": true,
      "Nm": "example",
      "Notes": "example",
      "PrimaryContactId": 1,
      "ProjectCode": "example",
      "StartDt": "example",
      "StatusBill": 1,
      "StatusProd": 1,
      "SystemId": 1,
      "TypeId": 1
    }
  ]
}
```

### List staff

List the firm's staff members. Needs staff admin rights.

**Inputs**

- Include inactive (`show_inactive`, true/false): Include inactive records too.

**Outputs**

- `data` (list): The response from BigTime.

**Example output**

```json
{
  "data": [
    {
      "Capacity": 1,
      "EMail": "example",
      "FName": "example",
      "IsInactive": true,
      "ManagerID": 1,
      "Notes": "example",
      "Phone_Cell": "example",
      "Phone_Wk": "example",
      "SName": "example",
      "StaffSid": 1,
      "Start_dt": "example",
      "Status": 1,
      "Term_dt": "example",
      "Title": "example"
    }
  ]
}
```

### Log time

Log time on a staff member's timesheet.

**Inputs**

- Staff member (`staff_id`, number, required): Whose timesheet the time goes on.
- Project (`project_id`, number, required): The project the time is for.
- Date (`date`, date, required): The day the work was done.
- Hours (`hours`, number, required): How long the work took, in hours (1.5 is an hour and a half). At least 0.
- Notes (`notes`, text): What the work was (up to 1,000 characters).
- Labor code (`labor_code_id`, number): The labor code for the time.
- Task (`task_id`, number): The task the time is for.
- No charge (`no_charge`, true/false): Whether the time is not billed.
- Submit it (`mark_submitted`, true/false): Submit the entry once it's saved, as the staff member's timesheet would.

**Outputs**

- `data` (object): The response from BigTime.

**Example output**

```json
{
  "data": {
    "ApprovalStatus": 1,
    "ApprovalStatusNm": "example",
    "BillRate": 1,
    "BudgCatID": 1,
    "BudgCatNm": "example",
    "ChargeBillable": 1,
    "ClientID": 1,
    "ClientNm": "example",
    "Dt": "example",
    "DtCreated": 1,
    "DtModified": 1,
    "HoursBillable": 1,
    "Hours_IN": 1,
    "InvoiceSID": 1,
    "IsApproved": true,
    "IsInvoiced": true,
    "IsNew": true,
    "NoCharge": true,
    "Notes": "example",
    "ProjectNm": "example",
    "ProjectSID": 1,
    "SID": 1,
    "SourceNm": "example",
    "StaffSID": 1,
    "TaskNm": "example",
    "TaskSID": 1
  }
}
```

### Run a report

Get the rows of a report saved in BigTime, for a date range when it takes one.

**Inputs**

- Report ID (`report_id`, number, required): The report's ID, as BigTime shows it in the report's settings.
- From (`start_date`, date): The report's first day.
- To (`end_date`, date): The report's last day.

**Outputs**

- `data` (object): The response from BigTime.

**Example output**

```json
{
  "data": {
    "Data": [
      [
        "example"
      ]
    ],
    "FieldList": [
      {
        "FieldNm": "example",
        "FieldType": "example",
        "Maxlen": 1
      }
    ]
  }
}
```

### Update a client

Change a client. Fields left empty keep their current value.

**Inputs**

- Client (`client_id`, number, required): The client.
- Name (`name`, text): The client's name.
- Client code (`client_code`, text): Your account number for the client.
- Legal name (`legal_name`, text): The name on invoices.
- Address (`address`, text): The street address.
- City (`city`, text): The city.
- State (`state`, text): The state, province or county.
- Postal code (`postal_code`, text): The postal code.
- Country (`country`, text): The country.
- Phone (`phone`, text): The main phone number.
- Notes (`notes`, text): Notes about the client.

**Outputs**

- `data` (object): The response from BigTime.

**Example output**

```json
{
  "data": {
    "Address": "example",
    "City": "example",
    "ClientId": "example",
    "Country": "example",
    "FullAddress": "example",
    "IsInactive": true,
    "LegalNm": "example",
    "MainFX": "example",
    "MainPH": "example",
    "Nm": "example",
    "Notes": "example",
    "State": "example",
    "SystemId": 1,
    "Zip": "example"
  }
}
```

### Update a project

Change a project. Fields left empty keep their current value.

**Inputs**

- Project (`project_id`, number, required): The project.
- Name (`name`, text): The project's name.
- Project code (`project_code`, text): A short unique code for the project.
- Client (`client_id`, number): The client the project is for.
- Display name (`display_name`, text): The name BigTime shows for the project.
- Start date (`start_date`, date): When the project starts. BigTime uses today when empty.
- End date (`end_date`, date): When the project closes. No time can be logged after it.
- Notes (`notes`, text): What the project is.
- Internal (no charge) (`is_no_charge`, true/false): Whether it's an internal project nobody is billed for.
- Open to all staff (`is_all_staff`, true/false): Whether every staff member can log time to it.
- Hourly rate (`basic_rate`, number): A flat hourly rate for the project.

**Outputs**

- `data` (object): The response from BigTime.

**Example output**

```json
{
  "data": {
    "BasicRate": 1,
    "BillingContactId": 1,
    "ClientId": 1,
    "DisplayName": "example",
    "DtCreated": "example",
    "DtModified": "example",
    "EndDt": "example",
    "IsAllStaff": true,
    "IsInactive": true,
    "IsNoCharge": true,
    "Nm": "example",
    "Notes": "example",
    "PrimaryContactId": 1,
    "ProjectCode": "example",
    "StartDt": "example",
    "StatusBill": 1,
    "StatusProd": 1,
    "SystemId": 1,
    "TypeId": 1
  }
}
```

### Update a task

Change a task. Fields left empty keep their current value.

**Inputs**

- Task ID (`task_id`, number, required): The task's ID.
- Name (`name`, text): The task's name.
- Parent task (`group`, text): The task this one sits under, by name, for a sub-task.
- Priority (`priority`, text): How urgent the task is. One of: `HIGH`, `MEDIUM`, `LOW`.
- Notes (`notes`, text): What the task is.
- Assigned to (`assignee_ids`, list): The staff members assigned to the task.

**Outputs**

- `data` (object): The response from BigTime.

**Example output**

```json
{
  "data": {
    "AssignCount": 1,
    "AssignmentNames": "example",
    "CurrentStatus": 1,
    "CurrentStatus_nm": "example",
    "DueDt": "example",
    "FullName": "example",
    "IsCompleted": true,
    "Notes": "example",
    "Priority": "example",
    "ProjectSid": 1,
    "StartDt": "example",
    "TaskGroup": "example",
    "TaskNm": "example",
    "TaskSid": 1,
    "TaskType": 1,
    "TaskType_nm": "example"
  }
}
```

### Update a time entry

Change a time entry that hasn't been submitted. Fields left empty keep their current value.

**Inputs**

- Time entry ID (`time_entry_id`, number, required): The time entry's ID. It changes once the entry is submitted.
- Staff member (`staff_id`, number): Whose timesheet the time goes on.
- Project (`project_id`, number): The project the time is for.
- Date (`date`, date): The day the work was done.
- Hours (`hours`, number): How long the work took, in hours (1.5 is an hour and a half). At least 0.
- Notes (`notes`, text): What the work was (up to 1,000 characters).
- Labor code (`labor_code_id`, number): The labor code for the time.
- Task (`task_id`, number): The task the time is for.
- No charge (`no_charge`, true/false): Whether the time is not billed.
- Submit it (`mark_submitted`, true/false): Submit the entry once it's saved, as the staff member's timesheet would.

**Outputs**

- `data` (object): The response from BigTime.

**Example output**

```json
{
  "data": {
    "ApprovalStatus": 1,
    "ApprovalStatusNm": "example",
    "BillRate": 1,
    "BudgCatID": 1,
    "BudgCatNm": "example",
    "ChargeBillable": 1,
    "ClientID": 1,
    "ClientNm": "example",
    "Dt": "example",
    "DtCreated": 1,
    "DtModified": 1,
    "HoursBillable": 1,
    "Hours_IN": 1,
    "InvoiceSID": 1,
    "IsApproved": true,
    "IsInvoiced": true,
    "IsNew": true,
    "NoCharge": true,
    "Notes": "example",
    "ProjectNm": "example",
    "ProjectSID": 1,
    "SID": 1,
    "SourceNm": "example",
    "StaffSID": 1,
    "TaskNm": "example",
    "TaskSID": 1
  }
}
```

### Update an expense

Change an expense entry that hasn't been submitted. Fields left empty keep their current value.

**Inputs**

- Expense ID (`expense_id`, number, required): The expense entry's ID.
- Staff member (`staff_id`, number): Who the expense is for.
- Project (`project_id`, number): The project the expense is for.
- Expense code (`expense_code_id`, number): The expense category.
- Date (`date`, date): The day of the expense.
- Cost (`cost`, number): What it cost.
- Billable amount (`billable_amount`, number): What to bill the client, if not the cost.
- Notes (`notes`, text): What the expense was (up to 1,000 characters).
- No charge (`no_charge`, true/false): Whether the expense is not billed.
- Paid by company (`paid_by_company`, true/false): Whether the company paid it, so it isn't reimbursed.

**Outputs**

- `data` (object): The response from BigTime.

**Example output**

```json
{
  "data": {
    "CatNm": "example",
    "CatSID": 1,
    "ClientID": 1,
    "CostBill": 1,
    "CostIN": 1,
    "Dt": "example",
    "IsSubmitted": true,
    "IsUnit": true,
    "NoCharge": true,
    "Nt": "example",
    "PaidByCo": true,
    "ProjectNm": "example",
    "ProjectSID": 1,
    "RptSID": 1,
    "SID": 1,
    "StaffSID": 1,
    "TaskSID": 1,
    "VendorSID": 1
  }
}
```
