# Financial Cents

> Run your firm's work in Financial Cents: clients and contacts, projects and tasks, logged time, notes and invoices.

App · 29 actions. Web page: https://docs.lodol.com/docs/integrations/financial-cents

## Actions

### Add a contact to a client

Add a contact person to a client.

**Inputs**

- Client (`client_id`, number, required): The client.
- Name (`name`, text, required): The contact's name.
- Email (`email`, text): The contact's email address.
- Phone (`phone`, text): The contact's phone number.
- Mobile (`mobile`, text): The contact's mobile number.
- Address (`address`, text): The contact's address.
- Notes (`notes`, text): Notes about the contact.

**Outputs**

- `data` (object): The response from Financial Cents.

**Example output**

```json
{
  "data": {
    "address": "example",
    "client_id": 1,
    "created_at": "example",
    "email": "example",
    "id": 1,
    "mobile": "example",
    "name": "example",
    "notes": "example",
    "phone": "example",
    "updated_at": "example"
  }
}
```

### Add a note to a client

Add a note to a client's record, such as a call summary. Simple HTML is kept.

**Inputs**

- Client (`client_id`, number, required): The client.
- Title (`title`, text): The note's subject.
- Note (`text`, text, required): The note itself.

**Outputs**

- `data` (object): The response from Financial Cents.

**Example output**

```json
{
  "data": {
    "client_id": 1,
    "created_at": "example",
    "id": 1,
    "plain_text": "example",
    "text": "example",
    "title": "example",
    "updated_at": "example",
    "user_id": 1
  }
}
```

### Add a section to a project

Add a section to a project, to group its tasks or the client's tasks.

**Inputs**

- Project (`project_id`, number, required): The project.
- Name (`name`, text, required): The section's name.
- For (`type`, text, required): Whether the section holds your team's tasks or tasks for the client. One of: `project_tasks` (My team), `client_tasks` (The client).

**Outputs**

- `data` (object): The response from Financial Cents.

**Example output**

```json
{
  "data": {
    "created_at": "example",
    "id": 1,
    "list_index": 1,
    "name": "example",
    "project_id": 1,
    "type": "example",
    "updated_at": "example"
  }
}
```

### Complete a task

Mark a task done, or move a done task back to do.

**Inputs**

- Task ID (`task_id`, number, required): The task, from List tasks.
- Mark as (`board`, text): Where the task goes. Leave empty to mark it done. One of: `done`, `to_do` (To do).

**Outputs**

- `data` (object): The response from Financial Cents.

**Example output**

```json
{
  "data": {
    "assignees": [
      {
        "email": "example",
        "id": 1,
        "name": "example"
      }
    ],
    "budgeted_time": 1,
    "company_id": 1,
    "completed_at": "example",
    "created_at": "example",
    "dependency_id": 1,
    "description": "example",
    "due_date": "example",
    "id": 1,
    "is_completed": true,
    "is_recurring": true,
    "project": {
      "client": {
        "id": 1,
        "is_archived": true,
        "name": "example"
      },
      "id": 1,
      "title": "example"
    },
    "section": {
      "id": 1,
      "name": "example",
      "type": "example"
    },
    "title": "example",
    "updated_at": "example"
  }
}
```

### Create a client

Add a client, with a first contact if you give one.

**Inputs**

- Name (`name`, text, required): The client's name.
- Contact name (`contact_name`, text): The contact person's name.
- Contact email (`contact_email`, text): The contact person's email address.
- Contact address (`contact_address`, text): The contact person's address.
- Contact notes (`contact_notes`, text): Notes about the contact person.

**Outputs**

- `data` (object): The response from Financial Cents.

**Example output**

```json
{
  "data": {
    "archived_at": "example",
    "company_id": 1,
    "contacts": [
      {
        "address": "example",
        "client_id": 1,
        "created_at": "example",
        "email": "example",
        "id": 1,
        "mobile": "example",
        "name": "example",
        "notes": "example",
        "phone": "example",
        "updated_at": "example"
      }
    ],
    "created_at": "example",
    "groups": [
      {
        "id": 1,
        "name": "example"
      }
    ],
    "id": 1,
    "is_archived": true,
    "name": "example",
    "updated_at": "example"
  }
}
```

### Create a project

Create a project, optionally for a client and on a recurring schedule.

**Inputs**

- Title (`title`, text, required): The project's name.
- Client (`client_id`, number): The client the project is for.
- Start date (`start_date`, date): When work starts.
- Due date (`due_date`, date): When the project is due. Needed for a recurring project.
- Internal due date (`internal_due_date`, date): Your firm's own target date.
- Repeats (`recurring`, text): How often the project repeats. Leave empty for a one-off project. One of: `daily`, `daily-with-weekends` (Daily, including weekends), `weekly`, `biweekly` (Every two weeks), `monthly`, `end-of-month` (End of month), `quarterly`, `half-yearly` (Every six months), `yearly`.
- Assignees (`agent_ids`, list): The team members assigned to the project.
- Managers (`manager_ids`, list): The project's managers.
- Billing rate (`billing_rate`, number): The hourly billing rate. At least 0.

**Outputs**

- `data` (object): The response from Financial Cents.

**Example output**

```json
{
  "data": {
    "agents": [
      {
        "id": 1,
        "name": "example"
      }
    ],
    "billing_rate": 1,
    "client": {
      "id": 1,
      "is_archived": true,
      "name": "example"
    },
    "closed_at": "example",
    "company_id": 1,
    "completed_tasks_count": 1,
    "created_at": "example",
    "due_date": "example",
    "id": 1,
    "internal_due_date": "example",
    "is_closed": true,
    "managers": [
      {
        "id": 1,
        "name": "example"
      }
    ],
    "start_date": "example",
    "tags": [
      {
        "id": 1,
        "name": "example"
      }
    ],
    "tasks_count": 1,
    "template_id": 1,
    "title": "example",
    "updated_at": "example"
  }
}
```

### Create a project from a template

Start a project from one of the firm's templates, with its sections and tasks.

**Inputs**

- Template (`template_id`, number, required): The template to start from.
- Title (`title`, text): The project's name. Leave empty for the template's.
- Client (`client_id`, number): The client the project is for.
- Assignees (`agent_ids`, list): The team members assigned to the project.
- Anchor date (`anchor_date`, date): The date the template's date rules count from, such as due 8 days after. Leave empty for today.

**Outputs**

- `data` (object): The response from Financial Cents.

**Example output**

```json
{
  "data": {
    "agents": [
      {
        "id": 1,
        "name": "example"
      }
    ],
    "billing_rate": 1,
    "client": {
      "id": 1,
      "is_archived": true,
      "name": "example"
    },
    "closed_at": "example",
    "company_id": 1,
    "completed_tasks_count": 1,
    "created_at": "example",
    "due_date": "example",
    "id": 1,
    "internal_due_date": "example",
    "is_closed": true,
    "managers": [
      {
        "id": 1,
        "name": "example"
      }
    ],
    "start_date": "example",
    "tags": [
      {
        "id": 1,
        "name": "example"
      }
    ],
    "tasks_count": 1,
    "template_id": 1,
    "title": "example",
    "updated_at": "example"
  }
}
```

### Create a task

Add a team task to a section of a project.

**Inputs**

- Project (`project_id`, number, required): The project.
- Section (`section_id`, number, required): The section of the project to add the task to.
- Title (`title`, text, required): What needs doing.
- Due date (`due_date`, date): When the task is due.
- Description (`description`, text): What the task involves.
- Budgeted minutes (`budgeted_time`, number): The time budgeted for the task, in minutes. At least 0.
- Assignees (`assignee_ids`, list): The team members to assign the task to.

**Outputs**

- `data` (object): The response from Financial Cents.

**Example output**

```json
{
  "data": {
    "assignees": [
      {
        "email": "example",
        "id": 1,
        "name": "example"
      }
    ],
    "budgeted_time": 1,
    "company_id": 1,
    "completed_at": "example",
    "created_at": "example",
    "dependency_id": 1,
    "description": "example",
    "due_date": "example",
    "id": 1,
    "is_completed": true,
    "is_recurring": true,
    "project": {
      "client": {
        "id": 1,
        "is_archived": true,
        "name": "example"
      },
      "id": 1,
      "title": "example"
    },
    "section": {
      "id": 1,
      "name": "example",
      "type": "example"
    },
    "title": "example",
    "updated_at": "example"
  }
}
```

### Delete a client

Delete a client.

**Inputs**

- Client (`client_id`, number, required): The client.

**Outputs**

- `data` (list): The response from Financial Cents.

**Example output**

```json
{
  "data": [
    {}
  ]
}
```

### Delete a contact

Delete a client's contact person.

**Inputs**

- Contact ID (`contact_id`, number, required): The contact, from List contacts.

**Outputs**

- `data` (list): The response from Financial Cents.

**Example output**

```json
{
  "data": [
    {}
  ]
}
```

### Delete a task

Delete a task.

**Inputs**

- Task ID (`task_id`, number, required): The task, from List tasks.

**Outputs**

- `data` (object): The response from Financial Cents.

**Example output**

```json
{
  "data": {
    "data": {
      "id": 1
    }
  }
}
```

### Delete a time entry

Delete logged time.

**Inputs**

- Time entry ID (`time_entry_id`, number, required): The time entry, from List time entries.

**Outputs**

- `data` (object): The response from Financial Cents.

**Example output**

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

### Get a client

Get one client with its contacts and groups.

**Inputs**

- Client (`client_id`, number, required): The client.

**Outputs**

- `data` (object): The response from Financial Cents.

**Example output**

```json
{
  "data": {
    "archived_at": "example",
    "company_id": 1,
    "contacts": [
      {
        "address": "example",
        "client_id": 1,
        "created_at": "example",
        "email": "example",
        "id": 1,
        "mobile": "example",
        "name": "example",
        "notes": "example",
        "phone": "example",
        "updated_at": "example"
      }
    ],
    "created_at": "example",
    "groups": [
      {
        "id": 1,
        "name": "example"
      }
    ],
    "id": 1,
    "is_archived": true,
    "name": "example",
    "updated_at": "example"
  }
}
```

### Get a project

Get one project with its client, tags, assignees and managers.

**Inputs**

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

**Outputs**

- `data` (object): The response from Financial Cents.

**Example output**

```json
{
  "data": {
    "agents": [
      {
        "id": 1,
        "name": "example"
      }
    ],
    "billing_rate": 1,
    "client": {
      "id": 1,
      "is_archived": true,
      "name": "example"
    },
    "closed_at": "example",
    "company_id": 1,
    "completed_tasks_count": 1,
    "created_at": "example",
    "due_date": "example",
    "id": 1,
    "internal_due_date": "example",
    "is_closed": true,
    "managers": [
      {
        "id": 1,
        "name": "example"
      }
    ],
    "start_date": "example",
    "tags": [
      {
        "id": 1,
        "name": "example"
      }
    ],
    "tasks_count": 1,
    "template_id": 1,
    "title": "example",
    "updated_at": "example"
  }
}
```

### Get a task

Get one task with its section, project, sub-tasks and assignees.

**Inputs**

- Task ID (`task_id`, number, required): The task, from List tasks.

**Outputs**

- `data` (object): The response from Financial Cents.

**Example output**

```json
{
  "data": {
    "assignees": [
      {
        "email": "example",
        "id": 1,
        "name": "example"
      }
    ],
    "budgeted_time": 1,
    "company_id": 1,
    "completed_at": "example",
    "created_at": "example",
    "dependency_id": 1,
    "description": "example",
    "due_date": "example",
    "id": 1,
    "is_completed": true,
    "is_recurring": true,
    "project": {
      "client": {
        "id": 1,
        "is_archived": true,
        "name": "example"
      },
      "id": 1,
      "title": "example"
    },
    "section": {
      "id": 1,
      "name": "example",
      "type": "example"
    },
    "title": "example",
    "updated_at": "example"
  }
}
```

### Get my profile

Get the connected user and the firm the connection works in.

**Inputs**: None.

**Outputs**

- `data` (object): The response from Financial Cents.

**Example output**

```json
{
  "data": {
    "company": {
      "id": 1,
      "name": "example"
    },
    "email": "example",
    "id": 1,
    "name": "example"
  }
}
```

### List a project's sections

List the sections of a project, which tasks are created in.

**Inputs**

- Project (`project_id`, number, required): The project.
- Page (`page`, number): Which page of sections to read, starting at 1. At least 1.
- Page size (`limit`, number): How many sections per page, from 10 to 100. From 10 to 100. Default: `100`.

**Outputs**

- `data` (object): The response from Financial Cents.

**Example output**

```json
{
  "data": {
    "data": [
      {
        "created_at": "example",
        "id": 1,
        "list_index": 1,
        "name": "example",
        "project_id": 1,
        "type": "example",
        "updated_at": "example"
      }
    ],
    "links": {
      "next": "example"
    },
    "meta": {
      "current_page": 1,
      "from": 1,
      "per_page": 1,
      "to": 1
    }
  }
}
```

### List clients

List the firm's clients with their contacts, newest first. Search by name.

**Inputs**

- Search (`search`, text): Text to look for in the client's name.
- Match (`match`, text): How the search text must match. Leave empty for contains. One of: `contains`, `equals` (Is exactly), `beginswith` (Begins with), `endswith` (Ends with).
- Page (`page`, number): Which page of clients to read, starting at 1. At least 1.
- Page size (`limit`, number): How many clients per page, from 10 to 100. From 10 to 100. Default: `100`.

**Outputs**

- `data` (object): The response from Financial Cents.

**Example output**

```json
{
  "data": {
    "data": [
      {
        "archived_at": "example",
        "company_id": 1,
        "contacts": [
          {
            "address": "example",
            "client_id": 1,
            "created_at": "example",
            "email": "example",
            "id": 1,
            "mobile": "example",
            "name": "example",
            "notes": "example",
            "phone": "example",
            "updated_at": "example"
          }
        ],
        "created_at": "example",
        "groups": [
          {
            "id": 1,
            "name": "example"
          }
        ],
        "id": 1,
        "is_archived": true,
        "name": "example",
        "updated_at": "example"
      }
    ],
    "links": {
      "next": "example"
    },
    "meta": {
      "current_page": 1,
      "from": 1,
      "per_page": 1,
      "to": 1
    }
  }
}
```

### List contacts

List the contact people of every client, newest first. Search by name or email.

**Inputs**

- Search (`search`, text): Text to look for in the contact's name or email.
- Match (`match`, text): How the search text must match. Leave empty for contains. One of: `contains`, `equals` (Is exactly), `beginswith` (Begins with), `endswith` (Ends with).
- Search in (`search_in`, text): Which field to search. Leave empty for name. One of: `name`, `email`.
- Page (`page`, number): Which page of contacts to read, starting at 1. At least 1.
- Page size (`limit`, number): How many contacts per page, from 10 to 100. From 10 to 100. Default: `100`.

**Outputs**

- `data` (object): The response from Financial Cents.

**Example output**

```json
{
  "data": {
    "data": [
      {
        "address": "example",
        "client": {
          "id": 1,
          "is_archived": true,
          "name": "example"
        },
        "client_id": 1,
        "created_at": "example",
        "email": "example",
        "id": 1,
        "mobile": "example",
        "name": "example",
        "notes": "example",
        "phone": "example",
        "updated_at": "example"
      }
    ],
    "links": {
      "next": "example"
    },
    "meta": {
      "current_page": 1,
      "from": 1,
      "per_page": 1,
      "to": 1
    }
  }
}
```

### List invoices

List the firm's invoices, newest first. Filter by status or client.

**Inputs**

- Status (`status`, text): Only invoices with this status. One of: `Draft`, `Pending`, `PendingApproval` (Pending approval), `Paid`, `Void`, `Refunded`, `PartialRefund` (Partially refunded), `Uncollectible`, `PaymentProcessing` (Payment processing), `PaymentFailed` (Payment failed), and 3 more.
- Client (`client_id`, number): Only this client's invoices.
- Page (`page`, number): Which page of invoices to read, starting at 1. At least 1.
- Page size (`limit`, number): How many invoices per page, from 10 to 200. From 10 to 200. Default: `100`.

**Outputs**

- `data` (object): The response from Financial Cents.

**Example output**

```json
{
  "data": {
    "data": [
      {
        "amount": 1,
        "client": {
          "id": 1,
          "is_archived": true,
          "name": "example"
        },
        "created_at": "example",
        "currency": "example",
        "description": "example",
        "discount_amount": 1,
        "due_date": "example",
        "frequency": "example",
        "id": 1,
        "invoice_date": "example",
        "number": "example",
        "outstanding_amount": 1,
        "status": "example",
        "sub_total": 1,
        "tax_amount": 1,
        "updated_at": "example"
      }
    ],
    "links": {
      "next": "example"
    },
    "meta": {
      "current_page": 1,
      "from": 1,
      "per_page": 1,
      "to": 1
    }
  }
}
```

### List project templates

List the firm's project templates, to start projects from.

**Inputs**

- Search (`search`, text): Text to look for in the template's title.
- Match (`match`, text): How the search text must match. Leave empty for contains. One of: `contains`, `equals` (Is exactly), `beginswith` (Begins with), `endswith` (Ends with).
- Page (`page`, number): Which page of templates to read, starting at 1. At least 1.
- Page size (`limit`, number): How many templates per page, from 10 to 100. From 10 to 100. Default: `100`.

**Outputs**

- `data` (object): The response from Financial Cents.

**Example output**

```json
{
  "data": {
    "data": [
      {
        "created_at": "example",
        "id": 1,
        "title": "example",
        "updated_at": "example"
      }
    ],
    "links": {
      "next": "example"
    },
    "meta": {
      "current_page": 1,
      "from": 1,
      "per_page": 1,
      "to": 1
    }
  }
}
```

### List projects

List the firm's projects, newest first, with their client, assignees and progress.

**Inputs**

- Client (`client_id`, number): Only this client's projects.
- Search (`search`, text): Text to look for in the project's title.
- Match (`match`, text): How the search text must match. Leave empty for contains. One of: `contains`, `equals` (Is exactly), `beginswith` (Begins with), `endswith` (Ends with).
- Page (`page`, number): Which page of projects to read, starting at 1. At least 1.
- Page size (`limit`, number): How many projects per page, from 10 to 200. From 10 to 200. Default: `100`.

**Outputs**

- `data` (object): The response from Financial Cents.

**Example output**

```json
{
  "data": {
    "data": [
      {
        "agents": [
          {
            "id": 1,
            "name": "example"
          }
        ],
        "billing_rate": 1,
        "client": {
          "id": 1,
          "is_archived": true,
          "name": "example"
        },
        "closed_at": "example",
        "company_id": 1,
        "completed_tasks_count": 1,
        "created_at": "example",
        "due_date": "example",
        "id": 1,
        "internal_due_date": "example",
        "is_closed": true,
        "managers": [
          {
            "id": 1,
            "name": "example"
          }
        ],
        "start_date": "example",
        "tags": [
          {
            "id": 1,
            "name": "example"
          }
        ],
        "tasks_count": 1,
        "template_id": 1,
        "title": "example",
        "updated_at": "example"
      }
    ],
    "links": {
      "next": "example"
    },
    "meta": {
      "current_page": 1,
      "from": 1,
      "per_page": 1,
      "to": 1
    }
  }
}
```

### List tasks

List the firm's team tasks. Filter by project and status, or read what changed since a time.

**Inputs**

- Project (`project_id`, number): Only this project's tasks.
- Status (`status`, text): Which tasks to list. Leave empty for pending ones. One of: `pending`, `completed`, `all`.
- Updated since (`updated_after`, date and time): Only tasks changed at or after this time.
- Sort by (`order_by`, text): How to sort the tasks. Leave empty for creation date. One of: `created_at` (Created at), `due_date` (Due date), `updated_at` (Updated at).
- Direction (`order_dir`, text): The sort direction. One of: `asc` (Ascending), `desc` (Descending).
- Page (`page`, number): Which page of tasks to read, starting at 1. At least 1.
- Page size (`limit`, number): How many tasks per page, from 10 to 100. From 10 to 100. Default: `100`.

**Outputs**

- `data` (object): The response from Financial Cents.

**Example output**

```json
{
  "data": {
    "data": [
      {
        "assignees": [
          {
            "email": "example",
            "id": 1,
            "name": "example"
          }
        ],
        "budgeted_time": 1,
        "company_id": 1,
        "completed_at": "example",
        "created_at": "example",
        "dependency_id": 1,
        "description": "example",
        "due_date": "example",
        "id": 1,
        "is_completed": true,
        "is_recurring": true,
        "project": {
          "client": {
            "id": 1,
            "is_archived": true,
            "name": "example"
          },
          "id": 1,
          "title": "example"
        },
        "section": {
          "id": 1,
          "name": "example",
          "type": "example"
        },
        "title": "example",
        "updated_at": "example"
      }
    ],
    "links": {
      "next": "example"
    },
    "meta": {
      "current_page": 1,
      "from": 1,
      "per_page": 1,
      "to": 1
    }
  }
}
```

### List team members

List the firm's team members.

**Inputs**

- Search (`search`, text): Text to look for in the team member's name or email.
- Match (`match`, text): How the search text must match. Leave empty for contains. One of: `contains`, `equals` (Is exactly), `beginswith` (Begins with), `endswith` (Ends with).
- Search in (`search_in`, text): Which field to search. Leave empty for name. One of: `name`, `email`.
- Page (`page`, number): Which page of team members to read, starting at 1. At least 1.
- Page size (`limit`, number): How many team members per page, from 10 to 100. From 10 to 100. Default: `100`.

**Outputs**

- `data` (object): The response from Financial Cents.

**Example output**

```json
{
  "data": {
    "data": [
      {
        "created_at": "example",
        "email": "example",
        "first_name": "example",
        "id": 1,
        "last_active_at": "example",
        "last_name": "example",
        "name": "example",
        "updated_at": "example"
      }
    ],
    "links": {
      "next": "example"
    },
    "meta": {
      "current_page": 1,
      "from": 1,
      "per_page": 1,
      "to": 1
    }
  }
}
```

### List time entries

List logged time. Filter by date range, client or team member.

**Inputs**

- From (`from_date`, date): Only time worked on or after this date.
- To (`to_date`, date): Only time worked on or before this date.
- Client (`client_id`, number): Only time for this client.
- Team member (`team_member_id`, number): Only this team member's time.
- Page (`page`, number): Which page of time entries to read, starting at 1. At least 1.
- Page size (`limit`, number): How many time entries per page, from 10 to 200. From 10 to 200. Default: `100`.

**Outputs**

- `data` (object): The response from Financial Cents.

**Example output**

```json
{
  "data": {
    "data": [
      {
        "billing_rate": 1,
        "client": {
          "id": 1,
          "name": "example"
        },
        "comments": "example",
        "completed_at": "example",
        "created_at": "example",
        "date": "example",
        "hours": 1,
        "id": 1,
        "internal_notes": "example",
        "log_type": "example",
        "project": {
          "id": 1,
          "title": "example"
        },
        "recorded_by": {
          "id": 1,
          "name": "example"
        },
        "task": {
          "id": 1,
          "title": "example"
        },
        "updated_at": "example",
        "user": {
          "id": 1,
          "name": "example"
        }
      }
    ],
    "links": {
      "next": "example"
    },
    "meta": {
      "current_page": 1,
      "from": 1,
      "per_page": 1,
      "to": 1
    }
  }
}
```

### Log time

Log hours worked for a client or project, optionally on a task.

**Inputs**

- Project (`project_id`, number): The project the time is for. Give a project or a client.
- Client (`client_id`, number): The client the time is for, when it's not for a project.
- Task ID (`task_id`, number): The task worked on.
- Team member (`team_member_id`, number): Who did the work. Leave empty for the connected user.
- Worked at (`worked_at`, date and time, required): When the work started.
- Hours (`hours`, number, required): How many hours, such as 1.5. At most 9999.9999.
- Comments (`comments`, text): What was done.
- Internal notes (`internal_notes`, text): Notes for the firm only.
- Billing rate (`billing_rate`, number): The hourly billing rate. At least 0.

**Outputs**

- `data` (object): The response from Financial Cents.

**Example output**

```json
{
  "data": {
    "billing_rate": 1,
    "client": {
      "id": 1,
      "name": "example"
    },
    "comments": "example",
    "completed_at": "example",
    "created_at": "example",
    "date": "example",
    "hours": 1,
    "id": 1,
    "internal_notes": "example",
    "log_type": "example",
    "project": {
      "id": 1,
      "title": "example"
    },
    "recorded_by": {
      "id": 1,
      "name": "example"
    },
    "task": {
      "id": 1,
      "title": "example"
    },
    "updated_at": "example",
    "user": {
      "id": 1,
      "name": "example"
    }
  }
}
```

### Open or close a project

Close a finished project, or open a closed one again.

**Inputs**

- Project (`project_id`, number, required): The project.
- Status (`status`, text, required): Whether the project is open or closed. One of: `open`, `closed`.

**Outputs**

- `data` (object): The response from Financial Cents.

**Example output**

```json
{
  "data": {
    "agents": [
      {
        "id": 1,
        "name": "example"
      }
    ],
    "billing_rate": 1,
    "client": {
      "id": 1,
      "is_archived": true,
      "name": "example"
    },
    "closed_at": "example",
    "company_id": 1,
    "completed_tasks_count": 1,
    "created_at": "example",
    "due_date": "example",
    "id": 1,
    "internal_due_date": "example",
    "is_closed": true,
    "managers": [
      {
        "id": 1,
        "name": "example"
      }
    ],
    "start_date": "example",
    "tags": [
      {
        "id": 1,
        "name": "example"
      }
    ],
    "tasks_count": 1,
    "template_id": 1,
    "title": "example",
    "updated_at": "example"
  }
}
```

### Rename a client

Change a client's name.

**Inputs**

- Client (`client_id`, number, required): The client.
- Name (`name`, text, required): The client's new name.

**Outputs**

- `data` (object): The response from Financial Cents.

**Example output**

```json
{
  "data": {
    "archived_at": "example",
    "company_id": 1,
    "contacts": [
      {
        "address": "example",
        "client_id": 1,
        "created_at": "example",
        "email": "example",
        "id": 1,
        "mobile": "example",
        "name": "example",
        "notes": "example",
        "phone": "example",
        "updated_at": "example"
      }
    ],
    "created_at": "example",
    "groups": [
      {
        "id": 1,
        "name": "example"
      }
    ],
    "id": 1,
    "is_archived": true,
    "name": "example",
    "updated_at": "example"
  }
}
```

### Update a task

Change a task's title, due date, description, budget or assignees. Only the fields you fill in change.

**Inputs**

- Task ID (`task_id`, number, required): The task, from List tasks.
- Title (`title`, text): The new title.
- Due date (`due_date`, date): When the task is due.
- Description (`description`, text): What the task involves.
- Budgeted minutes (`budgeted_time`, number): The time budgeted for the task, in minutes. At least 0.
- Assignees (`assignee_ids`, list): The team members to assign the task to.

**Outputs**

- `data` (object): The response from Financial Cents.

**Example output**

```json
{
  "data": {
    "assignees": [
      {
        "email": "example",
        "id": 1,
        "name": "example"
      }
    ],
    "budgeted_time": 1,
    "company_id": 1,
    "completed_at": "example",
    "created_at": "example",
    "dependency_id": 1,
    "description": "example",
    "due_date": "example",
    "id": 1,
    "is_completed": true,
    "is_recurring": true,
    "project": {
      "client": {
        "id": 1,
        "is_archived": true,
        "name": "example"
      },
      "id": 1,
      "title": "example"
    },
    "section": {
      "id": 1,
      "name": "example",
      "type": "example"
    },
    "title": "example",
    "updated_at": "example"
  }
}
```
