Harvest

App · Project Management · 55 actions

Log and time work, keep projects, clients and tasks in step, raise and send invoices, record expenses and report hours in Harvest.

Actions

ActionWhat it does
Add task to projectPut a task on a project, so time can be logged to it there.
Create clientAdd a client to hold projects and receive invoices.
Create contactAdd a person at one of your clients, such as the one who receives their invoices.
Create estimateCreate a draft estimate (a quote) for a client, with one line from the fields below and any more from Line items.
Create expenseRecord an expense on a project: an amount, or units for a category charged per unit (such as mileage).
Create invoiceCreate a draft invoice for a client, with one line from the fields below and any more from Line items.
Create personAdd a person to your Harvest account.
Create projectAdd a project for a client, with you on its team so you can log time to it.
Create taskAdd a task, the kind of work time is logged as.
Create time entryLog time already spent on a project's task, as hours or as a start and end time.
Delete clientPermanently delete a client.
Delete contactPermanently delete a client contact.
Delete estimatePermanently delete an estimate.
Delete expensePermanently delete an expense.
Delete invoicePermanently delete an invoice.
Delete personPermanently remove a person from your Harvest account.
Delete projectPermanently delete a project together with all the time and expenses logged to it (its invoices stay).
Delete taskPermanently delete a task.
Delete time entryPermanently delete a time entry.
Get clientOne client, with its address, currency and whether it is archived.
Get company settingsYour Harvest account's settings: its name, plan, how time is logged, the week's first day and which features are on.
Get contactOne client contact, with their email and phone numbers.
Get estimateOne estimate, with its lines, total and whether it was accepted.
Get expenseOne expense, with its project, category, amount and status.
Get invoiceOne invoice, with its lines, total, what is still owed and its state.
Get my profileThe person Harvest is connected as: their name, email address, weekly hours and roles.
Get personOne person in your Harvest account, with their email address, weekly hours and roles.
Get projectOne project, with its client, billing, budget and dates.
Get taskOne task, with its default rate and whether it is billable.
Get time entryOne time entry, with its project, task, hours and status.
Get time reportHours tracked between two dates (up to a year), by client, project, task or person, with billable hours and amounts.
List clientsActive clients, or archived ones too.
List contactsThe people at your clients, optionally only one client's, with their email and phone numbers.
List estimatesEstimates, optionally one client's, by state or issued between two dates, with their totals.
List expensesExpenses, optionally one project's or client's, between two dates, billed or not, or by approval status, with the amounts added up.
List invoicesInvoices, optionally one client's or project's, by state or issued between two dates, with totals and what is still owed.
List peopleThe people in your Harvest account, with their email address, weekly hours and roles: active ones, or archived ones too.
List project budgetsEach active project's budget, how much of it has been used and what is left, from Harvest's own budget report, with the project managers' names and email addresses.
List projectsActive projects, optionally one client's or archived ones too.
List tasksActive tasks, or archived ones too.
List time entriesTime entries by date, optionally for one project, client or task, between two dates, or by status, with the hours added up.
Restart timerStart a stopped time entry's timer again, adding to its hours.
Send invoiceEmail an invoice to its recipients, or only to yourself.
Start timerStart tracking time on a project's task now.
Stop timerStop a running timer: the one given, or your running one.
Unlink time entry from other appRemove a time entry's link to the item in another app it was tracked from (such as a ticket or card).
Update clientChange a client's name, address or currency, or archive or restore it.
Update contactChange a client contact's details.
Update estimateChange an estimate's details, or add lines to it.
Update expenseChange an expense's project, category, date, amount, units or notes.
Update invoiceChange an invoice's details or due date, or add lines to it.
Update personChange a person's details, or archive or restore them.
Update projectChange a project's details, or archive or restore it.
Update taskChange a task's name, default rate or billing, or archive or restore it.
Update time entryChange a time entry's project, task, date, hours, times or notes.

Add task to project

Put a task on a project, so time can be logged to it there.

Inputs

Projectproject_idtextRequired
The project.
Tasktask_idtextRequired
The task to add.
Billablebillabletrue/false
Whether time on it is billable. Default: No.
Hourly ratehourly_ratenumber
Its rate, when the project is billed by task.At least 0.
Budget (hours)budgetnumber
Its budget, when the project is budgeted per task.At least 0.

Outputs

task_assignmentobject
Example output
{
  "task_assignment": {
    "billable": true,
    "budget": null,
    "created_at": "2017-06-26T21:52:18Z",
    "hourly_rate": 100.0,
    "id": 155505016,
    "is_active": true,
    "project_id": 14308069,
    "project_name": "Online Store - Phase 1",
    "task_id": 8083800,
    "task_name": "Business Development",
    "updated_at": "2017-06-26T21:52:18Z"
  }
}

Create client

Add a client to hold projects and receive invoices.

Inputs

NamenametextRequired
The client's name.
Addressaddresstext
The client's address.
Currencycurrencytext
The three-letter code of the currency to invoice in, e.g. EUR. Leave empty for your company's currency.

Outputs

clientobject
Example output
{
  "client": {
    "address": "123 Main St.\r\nAnytown, LA 71223",
    "created_at": "2017-06-26T21:02:12Z",
    "currency": "EUR",
    "id": 5735776,
    "is_active": true,
    "name": "123 Industries",
    "updated_at": "2017-06-26T21:34:11Z"
  }
}

Create contact

Add a person at one of your clients, such as the one who receives their invoices.

Inputs

Clientclient_idtextRequired
The client the person works for.
First namefirst_nametextRequired
Their first name.
Last namelast_nametext
Their last name.
Titletitletext
Their job title, e.g. Owner.
Emailemailtext
Their email address.
Office phonephone_officetext
Their office phone number.
Mobile phonephone_mobiletext
Their mobile phone number.
Faxfaxtext
Their fax number.
Receives invoicesinvoice_recipient_statustext
Whether invoices sent to the client go to this person. Default for a new contact: No.One of: none (No), recipient (Yes, as a recipient), cc (Yes, as a copy (CC)), bcc (Yes, as a hidden copy (BCC)).

Outputs

contactobject
Example output
{
  "contact": {
    "client_id": 5735774,
    "client_name": "ABC Corp",
    "created_at": "2017-06-26T21:20:07Z",
    "email": "janedoe@example.com",
    "fax": "(203) 697-8887",
    "first_name": "Jane",
    "id": 4706479,
    "invoice_recipient_status": "recipient",
    "last_name": "Doe",
    "name": "Jane Doe",
    "phone_mobile": "(203) 697-8886",
    "phone_office": "(203) 697-8885",
    "title": "Owner",
    "updated_at": "2017-06-26T21:27:07Z"
  }
}

Create estimate

Create a draft estimate (a quote) for a client, with one line from the fields below and any more from Line items. Nothing is sent.

Inputs

Clientclient_idtextRequired
The client the estimate is for.
Item categoryitem_categorytext
The line's category. Default: Service.
Descriptiondescriptiontext
What the line is for.
Quantityquantitynumber
How many, a whole number. Default: 1.At least 1.
Unit priceunit_pricenumber
The price of one. Leave empty to add lines only from Line items.At least 0.
Line itemsline_itemslist
More lines, as a list of objects with unit_price and optionally description, quantity (a whole number), item_category and taxed.
Numbernumbertext
Leave empty for Harvest's next number. Must be unique.
Purchase orderpurchase_ordertext
The client's PO number.
Subjectsubjecttext
The subject line.
Notesnotestext
Notes printed on it.
Currencycurrencytext
A three-letter code, e.g. EUR.
Issue dateissue_datedate
The date it is issued.
Tax (%)taxnumber
Tax rate in percent, e.g. 10, on lines marked taxed.At least 0.
Discount (%)discountnumber
Discount in percent, e.g. 5.From 0 to 100.

Outputs

estimateobject
Example output
{
  "estimate": {
    "accepted_at": null,
    "amount": 9630.0,
    "client_id": 5735776,
    "client_name": "123 Industries",
    "created_at": "2017-06-27T16:11:24Z",
    "currency": "USD",
    "declined_at": null,
    "discount": 10.0,
    "discount_amount": 1000.0,
    "id": 1439818,
    "issue_date": "2017-06-01",
    "line_items": [
      {
        "amount": 10000,
        "description": "Phase 2 of the Online Store",
        "id": 53334195,
        "item_category": "Service",
        "project_id": null,
        "project_name": null,
        "quantity": 100,
        "taxed": true,
        "unit_price": 100
      }
    ],
    "notes": "Some notes about the estimate",
    "number": "1001",
    "purchase_order": "5678",
    "sent_at": "2017-06-27T16:11:33Z",
    "state": "sent",
    "subject": "Online Store - Phase 2",
    "tax": 5.0,
    "tax_amount": 450.0,
    "updated_at": "2017-06-27T16:13:56Z"
  }
}

Create expense

Record an expense on a project: an amount, or units for a category charged per unit (such as mileage).

Inputs

Projectproject_idtextRequired
The project, from those you're assigned to.
Categoryexpense_categorytextRequired
The expense category, picked or typed by name.
Datespent_datedate
The day of the expense. Leave empty for today (UTC).
Amounttotal_costnumber
What it cost. For a category not charged per unit.At least 0.
Unitsunitsnumber
How many units, for a category charged per unit.At least 1.
Notesnotestext
What it was for.
Billablebillabletrue/false
Whether to bill it to the client. Default: Yes.

Outputs

expenseobject
Example output
{
  "expense": {
    "approval_status": "unsubmitted",
    "billable": true,
    "client_id": 5735774,
    "client_name": "ABC Corp",
    "created_at": "2017-06-27T15:09:54Z",
    "expense_category_id": 4195926,
    "expense_category_name": "Meals",
    "id": 15296442,
    "is_billed": false,
    "is_locked": false,
    "notes": "Lunch with client",
    "project_id": 14307913,
    "project_name": "Marketing Website",
    "spent_date": "2017-03-03",
    "total_cost": 33.35,
    "units": 1,
    "updated_at": "2017-06-27T16:47:14Z",
    "user_id": 1782959,
    "user_name": "Kim Allen"
  }
}

Create invoice

Create a draft invoice for a client, with one line from the fields below and any more from Line items. Send it with Send invoice.

Inputs

Clientclient_idtextRequired
The client to bill.
Item categoryitem_categorytext
The line's category. Default: Service.
Descriptiondescriptiontext
What the line is for.
Quantityquantitynumber
How many, e.g. hours. Default: 1.At least 0.
Unit priceunit_pricenumber
The price of one. Leave empty to add lines only from Line items.At least 0.
Projectproject_idtext
The project the lines are for.
Line itemsline_itemslist
More lines, as a list of objects with unit_price and optionally description, quantity, item_category, project_id and taxed.
Invoice numbernumbertext
Leave empty for Harvest's next number. Must be unique.
Purchase orderpurchase_ordertext
The client's PO number.
Subjectsubjecttext
The invoice's subject line.
Notesnotestext
Notes printed on the invoice.
Currencycurrencytext
A three-letter code, e.g. EUR. Leave empty for the client's.
Issue dateissue_datedate
Leave empty for today.
Due datedue_datedate
A due date of your own. Use this or Payment term.
Payment termpayment_termtext
When payment is due. Use this or Due date.One of: upon receipt, net 15, net 30, net 45, net 60, custom (Custom (set a due date)).
Tax (%)taxnumber
Tax rate in percent, e.g. 10, on lines marked taxed.At least 0.
Discount (%)discountnumber
Discount in percent, e.g. 5.From 0 to 100.

Outputs

invoiceobject
Example output
{
  "invoice": {
    "amount": 288.9,
    "client_id": 5735776,
    "client_name": "123 Industries",
    "created_at": "2017-06-27T16:27:16Z",
    "currency": "EUR",
    "discount": null,
    "discount_amount": 0.0,
    "due_amount": 288.9,
    "due_date": "2017-04-01",
    "id": 13150403,
    "issue_date": "2017-04-01",
    "line_items": [
      {
        "amount": 200.0,
        "description": "03/01/2017 - Project Management: [9:00am - 11:00am] Planning meetings",
        "id": 53341602,
        "item_category": "Service",
        "project_id": 14308069,
        "project_name": "Online Store - Phase 1",
        "quantity": 2.0,
        "taxed": true,
        "unit_price": 100.0
      }
    ],
    "notes": "Some notes about the invoice.",
    "number": "1001",
    "paid_at": null,
    "payment_term": "upon receipt",
    "purchase_order": "",
    "sent_at": "2017-08-23T22:25:59Z",
    "state": "open",
    "subject": "Online Store - Phase 1",
    "tax": 5.0,
    "tax_amount": 13.5,
    "updated_at": "2017-08-23T22:25:59Z"
  }
}

Create person

Add a person to your Harvest account. Harvest emails them an invitation, and a paid plan charges for the seat. Needs an Administrator.

Inputs

First namefirst_nametextRequired
Their first name.
Last namelast_nametextRequired
Their last name.
EmailemailtextRequired
Their email address; Harvest sends the invitation there.
Time zonetime_zonetext
Their time zone as Harvest names it, e.g. Eastern Time (US & Canada).
Contractoris_contractortrue/false
Yes if they are a contractor rather than an employee.
Weekly capacity (hours)weekly_capacity_hoursnumber
The hours a week they are expected to work, e.g. 35.From 0 to 168.
Rolesroleslist
Labels for what they do, e.g. Designer; their access in Harvest is not changed.
On all future projectshas_access_to_all_future_projectstrue/false
Yes puts them on every project created from now on.
Default hourly ratedefault_hourly_ratenumber
What their time is billed at by default.At least 0.
Cost ratecost_ratenumber
What an hour of their time costs you.At least 0.

Outputs

userobject
Example output
{
  "user": {
    "email": "jimallen@example.com",
    "first_name": "Jim",
    "id": 3230547,
    "is_active": true,
    "last_name": "Allen",
    "name": "Jim Allen",
    "roles": [
      "Developer"
    ],
    "weekly_capacity_hours": 35.0
  }
}

Create project

Add a project for a client, with you on its team so you can log time to it. The Free plan allows two active projects.

Inputs

Clientclient_idtextRequired
The client the project is for.
NamenametextRequired
The project's name.
Codecodetext
A short code for the project, e.g. OS1.
Billableis_billabletrue/false
Whether time on the project is billable. Default for a new project: Yes.
Bill bybill_bytext
Which hourly rate applies. Default for a new project: Not billable.One of: Project (Project hourly rate), Tasks (Task hourly rate), People (Person hourly rate), none (Not billable).
Hourly ratehourly_ratenumber
The project's rate, when billed by project hourly rate.At least 0.
Budget bybudget_bytext
How the budget is counted. Default for a new project: No budget.One of: project (Total project hours), project_cost (Total project fees), task (Hours per task), task_fees (Fees per task), person (Hours per person), none (No budget).
Budgetbudgetnumber
The budget: hours, or money when budgeted by total project fees.At least 0.
Cost budgetcost_budgetnumber
The budget in money, when budgeted by fees per task.At least 0.
Notesnotestext
Notes about the project.
Starts onstarts_ondate
When the project starts.
Ends onends_ondate
When the project ends.

Outputs

assigned_to_youtrue/false
Whether you are on the project's team, so you can log time to it.
projectobject
Example output
{
  "assigned_to_you": true,
  "project": {
    "bill_by": "Project",
    "budget": 200.0,
    "budget_by": "project",
    "client_id": 5735776,
    "client_name": "123 Industries",
    "code": "OS1",
    "cost_budget": null,
    "created_at": "2017-06-26T21:52:18Z",
    "currency": "EUR",
    "ends_on": null,
    "fee": null,
    "hourly_rate": 100.0,
    "id": 14308069,
    "is_active": true,
    "is_billable": true,
    "is_fixed_fee": false,
    "name": "Online Store - Phase 1",
    "notes": "",
    "starts_on": "2017-06-01",
    "updated_at": "2017-06-26T21:54:06Z"
  }
}

Create task

Add a task, the kind of work time is logged as. Put it on a project with Add task to project.

Inputs

NamenametextRequired
The task's name.
Default hourly ratedefault_hourly_ratenumber
The rate it gets on a project. Default: 0.At least 0.
Billable by defaultbillable_by_defaulttrue/false
Whether it is billable when put on a project. Default: Yes.
Add to new projectsis_defaulttrue/false
Yes adds it to every project created from now on. Default: No.

Outputs

taskobject
Example output
{
  "task": {
    "billable_by_default": false,
    "created_at": "2017-06-26T22:08:25Z",
    "default_hourly_rate": 0.0,
    "id": 8083800,
    "is_active": true,
    "is_default": false,
    "name": "Business Development",
    "updated_at": "2017-06-26T22:08:25Z"
  }
}

Create time entry

Log time already spent on a project's task, as hours or as a start and end time. Works whichever way your account tracks time.

Inputs

Projectproject_idtextRequired
The project, from those you're assigned to.
Tasktask_idtextRequired
The task, from those on the project picked above.
Datespent_datedate
The day the time was spent on. Leave empty for today (UTC).
Hourshoursnumber
How long, in hours (1.5 is 90 minutes). Or give Start time and End time.From 0 to 24.
Start timestarted_timetime
When the work started. Needed with Hours on accounts that track start and end times.
End timeended_timetime
When the work ended, on the same day.
Notesnotestext
What the time was for.

Outputs

time_entryobject
Example output
{
  "time_entry": {
    "approval_status": "approved",
    "billable": true,
    "client_id": 5735774,
    "client_name": "ABC Corp",
    "created_at": "2017-06-27T15:50:15Z",
    "ended_time": "5:00pm",
    "hours": 2.11,
    "id": 636709355,
    "is_billed": false,
    "is_locked": true,
    "is_running": false,
    "notes": "Adding CSS styling",
    "project_id": 14307913,
    "project_name": "Marketing Website",
    "rounded_hours": 2.25,
    "spent_date": "2017-03-02",
    "started_time": "3:00pm",
    "task_id": 8083365,
    "task_name": "Graphic Design",
    "timer_started_at": null,
    "updated_at": "2017-06-27T16:47:14Z",
    "user_id": 1782959,
    "user_name": "Kim Allen"
  }
}

Delete client

Permanently delete a client. Harvest only allows it once the client has no projects, invoices or estimates; archive it with Update client otherwise.

Inputs

Clientclient_idtextRequired
The client to delete.

Outputs

client_idnumber
The ID of the client deleted.
deletedtrue/false
True once the client is gone.
Example output
{
  "client_id": 5735776,
  "deleted": true
}

Delete contact

Permanently delete a client contact.

Inputs

Contactcontact_idtextRequired
The contact's ID, from an earlier step such as Create contact or List contacts.

Outputs

contact_idnumber
The ID of the contact deleted.
deletedtrue/false
True once the contact is gone.
Example output
{
  "contact_id": 4706479,
  "deleted": true
}

Delete estimate

Permanently delete an estimate.

Inputs

Estimateestimate_idtextRequired
The estimate's ID, from an earlier step such as Create estimate or List estimates.

Outputs

deletedtrue/false
True once the estimate is gone.
estimate_idnumber
The ID of the estimate deleted.
Example output
{
  "deleted": true,
  "estimate_id": 1439818
}

Delete expense

Permanently delete an expense.

Inputs

Expenseexpense_idtextRequired
The expense's ID, from an earlier step such as Create expense or List expenses.

Outputs

deletedtrue/false
True once the expense is gone.
expense_idnumber
The ID of the expense deleted.
Example output
{
  "deleted": true,
  "expense_id": 15296442
}

Delete invoice

Permanently delete an invoice.

Inputs

Invoiceinvoice_idtextRequired
The invoice's ID, e.g. from Create invoice or List invoices.

Outputs

deletedtrue/false
True once the invoice is gone.
invoice_idnumber
The ID of the invoice deleted.
Example output
{
  "deleted": true,
  "invoice_id": 13150403
}

Delete person

Permanently remove a person from your Harvest account. Harvest only allows it when they have logged no time or expenses; archive them with Update person otherwise. Needs an Administrator.

Inputs

Personperson_idtextRequired
The person's ID, from an earlier step such as List people or Create person.

Outputs

deletedtrue/false
True once the person is gone.
person_idnumber
The ID of the person deleted.
Example output
{
  "deleted": true,
  "person_id": 3230547
}

Delete project

Permanently delete a project together with all the time and expenses logged to it (its invoices stay). To keep them, archive it with Update project instead.

Inputs

Projectproject_idtextRequired
The project to delete, with its time and expenses.

Outputs

deletedtrue/false
True once the project is gone.
project_idnumber
The ID of the project deleted.
Example output
{
  "deleted": true,
  "project_id": 14308069
}

Delete task

Permanently delete a task. Harvest only allows it once no time is logged to it; archive it with Update task otherwise.

Inputs

Tasktask_idtextRequired
The task to delete.

Outputs

deletedtrue/false
True once the task is gone.
task_idnumber
The ID of the task deleted.
Example output
{
  "deleted": true,
  "task_id": 8083800
}

Delete time entry

Permanently delete a time entry. Approved or invoiced time can only be deleted by an Administrator.

Inputs

Time entrytime_entry_idtextRequired
The time entry's ID, from an earlier step such as Create time entry, Start timer or List time entries.

Outputs

deletedtrue/false
True once the time entry is gone.
time_entry_idnumber
The ID of the time entry deleted.
Example output
{
  "deleted": true,
  "time_entry_id": 636709355
}

Get client

One client, with its address, currency and whether it is archived.

Inputs

Clientclient_idtextRequired
The client.

Outputs

clientobject
Example output
{
  "client": {
    "address": "123 Main St.\r\nAnytown, LA 71223",
    "created_at": "2017-06-26T21:02:12Z",
    "currency": "EUR",
    "id": 5735776,
    "is_active": true,
    "name": "123 Industries",
    "updated_at": "2017-06-26T21:34:11Z"
  }
}

Get company settings

Your Harvest account's settings: its name, plan, how time is logged, the week's first day and which features are on. Needs an Administrator.

Inputs

None.

Outputs

companyobject
Example output
{
  "company": {
    "approval_feature": true,
    "base_uri": "https://{ACCOUNT_SUBDOMAIN}.harvestapp.com",
    "clock": "12h",
    "date_format": "%Y-%m-%d",
    "estimate_feature": true,
    "expense_feature": true,
    "full_domain": "{ACCOUNT_SUBDOMAIN}.harvestapp.com",
    "invoice_feature": true,
    "is_active": true,
    "name": "API Examples",
    "plan_type": "sponsored",
    "team_feature": true,
    "time_format": "hours_minutes",
    "wants_timestamp_timers": false,
    "week_start_day": "Monday",
    "weekly_capacity_hours": 35.0
  }
}

Get contact

One client contact, with their email and phone numbers.

Inputs

Contactcontact_idtextRequired
The contact's ID, from an earlier step such as Create contact or List contacts.

Outputs

contactobject
Example output
{
  "contact": {
    "client_id": 5735774,
    "client_name": "ABC Corp",
    "created_at": "2017-06-26T21:20:07Z",
    "email": "janedoe@example.com",
    "fax": "(203) 697-8887",
    "first_name": "Jane",
    "id": 4706479,
    "invoice_recipient_status": "recipient",
    "last_name": "Doe",
    "name": "Jane Doe",
    "phone_mobile": "(203) 697-8886",
    "phone_office": "(203) 697-8885",
    "title": "Owner",
    "updated_at": "2017-06-26T21:27:07Z"
  }
}

Get estimate

One estimate, with its lines, total and whether it was accepted.

Inputs

Estimateestimate_idtextRequired
The estimate's ID, from an earlier step such as Create estimate or List estimates.

Outputs

estimateobject
Example output
{
  "estimate": {
    "accepted_at": null,
    "amount": 9630.0,
    "client_id": 5735776,
    "client_name": "123 Industries",
    "created_at": "2017-06-27T16:11:24Z",
    "currency": "USD",
    "declined_at": null,
    "discount": 10.0,
    "discount_amount": 1000.0,
    "id": 1439818,
    "issue_date": "2017-06-01",
    "line_items": [
      {
        "amount": 10000,
        "description": "Phase 2 of the Online Store",
        "id": 53334195,
        "item_category": "Service",
        "project_id": null,
        "project_name": null,
        "quantity": 100,
        "taxed": true,
        "unit_price": 100
      }
    ],
    "notes": "Some notes about the estimate",
    "number": "1001",
    "purchase_order": "5678",
    "sent_at": "2017-06-27T16:11:33Z",
    "state": "sent",
    "subject": "Online Store - Phase 2",
    "tax": 5.0,
    "tax_amount": 450.0,
    "updated_at": "2017-06-27T16:13:56Z"
  }
}

Get expense

One expense, with its project, category, amount and status.

Inputs

Expenseexpense_idtextRequired
The expense's ID, from an earlier step such as Create expense or List expenses.

Outputs

expenseobject
Example output
{
  "expense": {
    "approval_status": "unsubmitted",
    "billable": true,
    "client_id": 5735774,
    "client_name": "ABC Corp",
    "created_at": "2017-06-27T15:09:54Z",
    "expense_category_id": 4195926,
    "expense_category_name": "Meals",
    "id": 15296442,
    "is_billed": false,
    "is_locked": false,
    "notes": "Lunch with client",
    "project_id": 14307913,
    "project_name": "Marketing Website",
    "spent_date": "2017-03-03",
    "total_cost": 33.35,
    "units": 1,
    "updated_at": "2017-06-27T16:47:14Z",
    "user_id": 1782959,
    "user_name": "Kim Allen"
  }
}

Get invoice

One invoice, with its lines, total, what is still owed and its state.

Inputs

Invoiceinvoice_idtextRequired
The invoice's ID, e.g. from Create invoice or List invoices.

Outputs

invoiceobject
Example output
{
  "invoice": {
    "amount": 288.9,
    "client_id": 5735776,
    "client_name": "123 Industries",
    "created_at": "2017-06-27T16:27:16Z",
    "currency": "EUR",
    "discount": null,
    "discount_amount": 0.0,
    "due_amount": 288.9,
    "due_date": "2017-04-01",
    "id": 13150403,
    "issue_date": "2017-04-01",
    "line_items": [
      {
        "amount": 200.0,
        "description": "03/01/2017 - Project Management: [9:00am - 11:00am] Planning meetings",
        "id": 53341602,
        "item_category": "Service",
        "project_id": 14308069,
        "project_name": "Online Store - Phase 1",
        "quantity": 2.0,
        "taxed": true,
        "unit_price": 100.0
      }
    ],
    "notes": "Some notes about the invoice.",
    "number": "1001",
    "paid_at": null,
    "payment_term": "upon receipt",
    "purchase_order": "",
    "sent_at": "2017-08-23T22:25:59Z",
    "state": "open",
    "subject": "Online Store - Phase 1",
    "tax": 5.0,
    "tax_amount": 13.5,
    "updated_at": "2017-08-23T22:25:59Z"
  }
}

Get my profile

The person Harvest is connected as: their name, email address, weekly hours and roles.

Inputs

None.

Outputs

userobject
Example output
{
  "user": {
    "email": "jimallen@example.com",
    "first_name": "Jim",
    "id": 3230547,
    "is_active": true,
    "last_name": "Allen",
    "name": "Jim Allen",
    "roles": [
      "Developer"
    ],
    "weekly_capacity_hours": 35.0
  }
}

Get person

One person in your Harvest account, with their email address, weekly hours and roles. Needs an Administrator, or a Manager for their teammates.

Inputs

Personperson_idtextRequired
The person's ID, from an earlier step such as List people or Create person.

Outputs

userobject
Example output
{
  "user": {
    "email": "jimallen@example.com",
    "first_name": "Jim",
    "id": 3230547,
    "is_active": true,
    "last_name": "Allen",
    "name": "Jim Allen",
    "roles": [
      "Developer"
    ],
    "weekly_capacity_hours": 35.0
  }
}

Get project

One project, with its client, billing, budget and dates.

Inputs

Projectproject_idtextRequired
The project.

Outputs

projectobject
Example output
{
  "project": {
    "bill_by": "Project",
    "budget": 200.0,
    "budget_by": "project",
    "client_id": 5735776,
    "client_name": "123 Industries",
    "code": "OS1",
    "cost_budget": null,
    "created_at": "2017-06-26T21:52:18Z",
    "currency": "EUR",
    "ends_on": null,
    "fee": null,
    "hourly_rate": 100.0,
    "id": 14308069,
    "is_active": true,
    "is_billable": true,
    "is_fixed_fee": false,
    "name": "Online Store - Phase 1",
    "notes": "",
    "starts_on": "2017-06-01",
    "updated_at": "2017-06-26T21:54:06Z"
  }
}

Get task

One task, with its default rate and whether it is billable.

Inputs

Tasktask_idtextRequired
The task.

Outputs

taskobject
Example output
{
  "task": {
    "billable_by_default": false,
    "created_at": "2017-06-26T22:08:25Z",
    "default_hourly_rate": 0.0,
    "id": 8083800,
    "is_active": true,
    "is_default": false,
    "name": "Business Development",
    "updated_at": "2017-06-26T22:08:25Z"
  }
}

Get time entry

One time entry, with its project, task, hours and status.

Inputs

Time entrytime_entry_idtextRequired
The time entry's ID, from an earlier step such as Create time entry, Start timer or List time entries.

Outputs

time_entryobject
Example output
{
  "time_entry": {
    "approval_status": "approved",
    "billable": true,
    "client_id": 5735774,
    "client_name": "ABC Corp",
    "created_at": "2017-06-27T15:50:15Z",
    "ended_time": "5:00pm",
    "hours": 2.11,
    "id": 636709355,
    "is_billed": false,
    "is_locked": true,
    "is_running": false,
    "notes": "Adding CSS styling",
    "project_id": 14307913,
    "project_name": "Marketing Website",
    "rounded_hours": 2.25,
    "spent_date": "2017-03-02",
    "started_time": "3:00pm",
    "task_id": 8083365,
    "task_name": "Graphic Design",
    "timer_started_at": null,
    "updated_at": "2017-06-27T16:47:14Z",
    "user_id": 1782959,
    "user_name": "Kim Allen"
  }
}

Get time report

Hours tracked between two dates (up to a year), by client, project, task or person, with billable hours and amounts. Beta: pick a Period such as This week instead of dates; and, grouped by person, get each person's email address, include people who logged nothing, and keep only those under a number of hours, to remind people to finish their timesheets.

Inputs

Fromfrom_datedate
The first day to include. Needed unless you pick a Period.
Toto_datedate
The last day to include. Needed unless you pick a Period.
Group bygroup_bytext
How to break the hours down. Default: Project.One of: clients (Client), projects (Project), tasks (Task), team (Person).
Include fixed-fee projectsinclude_fixed_feetrue/false
Also work out billable amounts for fixed-fee projects.
Periodperiodtext
Beta. A ready-made span to use instead of From and To, worked out on the day the step runs: this week, last week, this month or last month, each in full. A week starts on the day set in your Harvest account when an Administrator connected Harvest, otherwise on Monday. Leave empty to use From and To; don't fill in both.One of: this_week (This week), last_week (Last week), this_month (This month), last_month (Last month).
Include people without hoursinclude_people_without_hourstrue/false
Beta. Only when Group by is Person. Yes also lists every active person who logged nothing in the period, with total_hours 0; Harvest's own report leaves them out. Needs Harvest connected by an Administrator, or by a Manager (who gets the teammates assigned to them); the step fails for anyone else. Leave empty for only people who logged time.
Only under this many hourshours_belownumber
Beta. Keep only the rows with fewer total hours than this, e.g. 35; the count and totals then cover only those rows. To find everyone short on hours, group by Person and set Include people without hours to Yes, or people with no hours at all are missed. Leave empty to keep every row.At least 0.

Outputs

billable_hoursnumber
All billable hours, added up.
countnumber
How many rows.
email_notetext
Beta. Empty unless a report by person is missing someone's email address; then it says how many and what to do about it.
from_datetext
The first day covered (YYYY-MM-DD).
group_bytext
clients, projects, tasks or team.
resultslist
One row per client, project, task or person.
to_datetext
The last day covered (YYYY-MM-DD).
total_hoursnumber
All hours tracked, added up.
total_hours_displaytext
Beta. total_hours ready to put in a message, e.g. 112.5.
Example output
{
  "billable_hours": 28.0,
  "count": 1,
  "email_note": "",
  "from_date": "2017-01-01",
  "group_by": "team",
  "results": [
    {
      "billable_amount": 2800.0,
      "billable_hours": 28.0,
      "client_id": null,
      "client_name": null,
      "currency": "USD",
      "email": "kim@example.com",
      "first_name": "Kim",
      "id": 1782959,
      "name": "Kim Allen",
      "total_hours": 31.5,
      "total_hours_display": "31.5"
    }
  ],
  "to_date": "2017-12-31",
  "total_hours": 31.5,
  "total_hours_display": "31.5"
}

List clients

Active clients, or archived ones too.

Inputs

Include archivedinclude_archivedtrue/false
Also list archived ones.
Limitlimitnumber
The most records to return, up to 2000. Default: 100.From 1 to 2000.

Outputs

clientslist
The clients.
countnumber
How many were returned.
Example output
{
  "clients": [
    {
      "address": "123 Main St.\r\nAnytown, LA 71223",
      "created_at": "2017-06-26T21:02:12Z",
      "currency": "EUR",
      "id": 5735776,
      "is_active": true,
      "name": "123 Industries",
      "updated_at": "2017-06-26T21:34:11Z"
    }
  ],
  "count": 1
}

List contacts

The people at your clients, optionally only one client's, with their email and phone numbers.

Inputs

Clientclient_idtext
Only this client's.
Limitlimitnumber
The most records to return, up to 2000. Default: 100.From 1 to 2000.

Outputs

contactslist
The contacts.
countnumber
How many were returned.
Example output
{
  "contacts": [
    {
      "client_id": 5735774,
      "client_name": "ABC Corp",
      "created_at": "2017-06-26T21:20:07Z",
      "email": "janedoe@example.com",
      "fax": "(203) 697-8887",
      "first_name": "Jane",
      "id": 4706479,
      "invoice_recipient_status": "recipient",
      "last_name": "Doe",
      "name": "Jane Doe",
      "phone_mobile": "(203) 697-8886",
      "phone_office": "(203) 697-8885",
      "title": "Owner",
      "updated_at": "2017-06-26T21:27:07Z"
    }
  ],
  "count": 1
}

List estimates

Estimates, optionally one client's, by state or issued between two dates, with their totals.

Inputs

Clientclient_idtext
Only this client's.
Statestatetext
Only estimates in this state.One of: draft, sent, accepted, declined.
Issued fromfrom_datedate
The first issue date to include.
Issued toto_datedate
The last issue date to include.
Limitlimitnumber
The most records to return, up to 2000. Default: 100.From 1 to 2000.

Outputs

countnumber
How many were returned.
estimateslist
The estimates, newest first.
total_amountnumber
Their totals added up.
Example output
{
  "count": 1,
  "estimates": [
    {
      "accepted_at": null,
      "amount": 9630.0,
      "client_id": 5735776,
      "client_name": "123 Industries",
      "created_at": "2017-06-27T16:11:24Z",
      "currency": "USD",
      "declined_at": null,
      "discount": 10.0,
      "discount_amount": 1000.0,
      "id": 1439818,
      "issue_date": "2017-06-01",
      "line_items": [
        {
          "amount": 10000,
          "description": "Phase 2 of the Online Store",
          "id": 53334195,
          "item_category": "Service",
          "project_id": null,
          "project_name": null,
          "quantity": 100,
          "taxed": true,
          "unit_price": 100
        }
      ],
      "notes": "Some notes about the estimate",
      "number": "1001",
      "purchase_order": "5678",
      "sent_at": "2017-06-27T16:11:33Z",
      "state": "sent",
      "subject": "Online Store - Phase 2",
      "tax": 5.0,
      "tax_amount": 450.0,
      "updated_at": "2017-06-27T16:13:56Z"
    }
  ],
  "total_amount": 9630.0
}

List expenses

Expenses, optionally one project's or client's, between two dates, billed or not, or by approval status, with the amounts added up.

Inputs

Projectproject_idtext
Only this project's.
Clientclient_idtext
Only this client's.
Fromfrom_datedate
The first day to include.
Toto_datedate
The last day to include.
Billedis_billedtrue/false
Yes for only invoiced expenses, No for only those not yet invoiced.
Approval statusapproval_statustext
Only expenses with this approval status.One of: unsubmitted, submitted, approved.
Limitlimitnumber
The most records to return, up to 2000. Default: 100.From 1 to 2000.

Outputs

countnumber
How many were returned.
expenseslist
The expenses, newest first.
total_costnumber
Their amounts added up.
Example output
{
  "count": 1,
  "expenses": [
    {
      "approval_status": "unsubmitted",
      "billable": true,
      "client_id": 5735774,
      "client_name": "ABC Corp",
      "created_at": "2017-06-27T15:09:54Z",
      "expense_category_id": 4195926,
      "expense_category_name": "Meals",
      "id": 15296442,
      "is_billed": false,
      "is_locked": false,
      "notes": "Lunch with client",
      "project_id": 14307913,
      "project_name": "Marketing Website",
      "spent_date": "2017-03-03",
      "total_cost": 33.35,
      "units": 1,
      "updated_at": "2017-06-27T16:47:14Z",
      "user_id": 1782959,
      "user_name": "Kim Allen"
    }
  ],
  "total_cost": 33.35
}

List invoices

Invoices, optionally one client's or project's, by state or issued between two dates, with totals and what is still owed.

Inputs

Clientclient_idtext
Only this client's.
Projectproject_idtext
Only this project's.
Statestatetext
Only invoices in this state.One of: draft, open, paid, closed.
Issued fromfrom_datedate
The first issue date to include.
Issued toto_datedate
The last issue date to include.
Limitlimitnumber
The most records to return, up to 2000. Default: 100.From 1 to 2000.

Outputs

countnumber
How many were returned.
invoiceslist
The invoices, newest first.
total_amountnumber
Their totals added up.
total_duenumber
What is still owed on them, added up.
Example output
{
  "count": 1,
  "invoices": [
    {
      "amount": 288.9,
      "client_id": 5735776,
      "client_name": "123 Industries",
      "created_at": "2017-06-27T16:27:16Z",
      "currency": "EUR",
      "discount": null,
      "discount_amount": 0.0,
      "due_amount": 288.9,
      "due_date": "2017-04-01",
      "id": 13150403,
      "issue_date": "2017-04-01",
      "line_items": [
        {
          "amount": 200.0,
          "description": "03/01/2017 - Project Management: [9:00am - 11:00am] Planning meetings",
          "id": 53341602,
          "item_category": "Service",
          "project_id": 14308069,
          "project_name": "Online Store - Phase 1",
          "quantity": 2.0,
          "taxed": true,
          "unit_price": 100.0
        }
      ],
      "notes": "Some notes about the invoice.",
      "number": "1001",
      "paid_at": null,
      "payment_term": "upon receipt",
      "purchase_order": "",
      "sent_at": "2017-08-23T22:25:59Z",
      "state": "open",
      "subject": "Online Store - Phase 1",
      "tax": 5.0,
      "tax_amount": 13.5,
      "updated_at": "2017-08-23T22:25:59Z"
    }
  ],
  "total_amount": 288.9,
  "total_due": 288.9
}

List people

The people in your Harvest account, with their email address, weekly hours and roles: active ones, or archived ones too. Harvest only shows them to an Administrator, or to a Manager (who gets the teammates assigned to them); the step fails, saying so, when anyone else connected Harvest.

Inputs

Include archivedinclude_archivedtrue/false
Yes also lists archived people. Leave empty for active people only.
Limitlimitnumber
The most records to return, up to 2000. Default: 100.From 1 to 2000.

Outputs

countnumber
How many were returned.
userslist
The people, as Harvest lists them.
Example output
{
  "count": 1,
  "users": [
    {
      "email": "jimallen@example.com",
      "first_name": "Jim",
      "id": 3230547,
      "is_active": true,
      "last_name": "Allen",
      "name": "Jim Allen",
      "roles": [
        "Developer"
      ],
      "weekly_capacity_hours": 35.0
    }
  ]
}

List project budgets

Each active project's budget, how much of it has been used and what is left, from Harvest's own budget report, with the project managers' names and email addresses. Keep only projects past a percentage, e.g. 80, to warn their managers before a project goes over budget. Projects with no budget are left out. Who manages a project, and their email addresses, need Harvest connected by an Administrator, or by a Manager for their own projects; otherwise the budgets still come back and a note says what is missing.

Inputs

Only projects that have used at least this % of their budgetpercent_used_at_leastnumber
Beta. A number like 80 keeps only projects that have used 80% of their budget or more, including any over budget. Leave empty to list every project with a budget.At least 0.
Clientclient_idtext
Beta. Only this client's projects. Leave empty for every client's.
Include archived projectsinclude_archivedtrue/false
Beta. Yes also lists archived projects. Leave empty for active projects only.

Outputs

countnumber
How many projects were returned.
email_notetext
Empty unless some project managers or their email addresses are missing; then it says why and what to do about it.
projectslist
The projects with a budget, the most used first. Projects with no budget are left out.
projects_without_budgetnumber
How many projects were left out because they have no budget.
Example output
{
  "count": 1,
  "email_note": "",
  "projects": [
    {
      "budget": 200.0,
      "budget_by": "project",
      "budget_by_label": "Total project hours",
      "budget_display": "200 hours",
      "budget_remaining": 31.0,
      "budget_spent": 169.0,
      "client_id": 5735776,
      "client_name": "123 Industries",
      "currency": "",
      "is_active": true,
      "is_monthly_budget": false,
      "manager_emails": "jimallen@example.com",
      "manager_first_names": "Jim",
      "manager_names": "Jim Allen",
      "managers": [
        {
          "email": "jimallen@example.com",
          "name": "Jim Allen"
        }
      ],
      "percent_used": 84.5,
      "percent_used_display": "85%",
      "project_id": 14308069,
      "project_name": "Online Store - Phase 1",
      "remaining_display": "31 hours",
      "spent_display": "169 hours"
    }
  ],
  "projects_without_budget": 0
}

List projects

Active projects, optionally one client's or archived ones too.

Inputs

Clientclient_idtext
Only this client's.
Include archivedinclude_archivedtrue/false
Also list archived ones.
Limitlimitnumber
The most records to return, up to 2000. Default: 100.From 1 to 2000.

Outputs

countnumber
How many were returned.
projectslist
The projects.
Example output
{
  "count": 1,
  "projects": [
    {
      "bill_by": "Project",
      "budget": 200.0,
      "budget_by": "project",
      "client_id": 5735776,
      "client_name": "123 Industries",
      "code": "OS1",
      "cost_budget": null,
      "created_at": "2017-06-26T21:52:18Z",
      "currency": "EUR",
      "ends_on": null,
      "fee": null,
      "hourly_rate": 100.0,
      "id": 14308069,
      "is_active": true,
      "is_billable": true,
      "is_fixed_fee": false,
      "name": "Online Store - Phase 1",
      "notes": "",
      "starts_on": "2017-06-01",
      "updated_at": "2017-06-26T21:54:06Z"
    }
  ]
}

List tasks

Active tasks, or archived ones too.

Inputs

Include archivedinclude_archivedtrue/false
Also list archived ones.
Limitlimitnumber
The most records to return, up to 2000. Default: 100.From 1 to 2000.

Outputs

countnumber
How many were returned.
taskslist
The tasks.
Example output
{
  "count": 1,
  "tasks": [
    {
      "billable_by_default": false,
      "created_at": "2017-06-26T22:08:25Z",
      "default_hourly_rate": 0.0,
      "id": 8083800,
      "is_active": true,
      "is_default": false,
      "name": "Business Development",
      "updated_at": "2017-06-26T22:08:25Z"
    }
  ]
}

List time entries

Time entries by date, optionally for one project, client or task, between two dates, or by status, with the hours added up.

Inputs

Projectproject_idtext
Only this project's.
Clientclient_idtext
Only this client's.
Tasktask_idtext
Only this task's.
Fromfrom_datedate
The first day to include.
Toto_datedate
The last day to include.
Runningis_runningtrue/false
Yes for only running timers, No for only stopped ones.
Billedis_billedtrue/false
Yes for only invoiced time, No for only time not yet invoiced.
Approval statusapproval_statustext
Only time with this approval status.One of: unsubmitted, submitted, approved.
Limitlimitnumber
The most records to return, up to 2000. Default: 100.From 1 to 2000.

Outputs

countnumber
How many were returned.
time_entrieslist
The time entries, by date.
total_hoursnumber
The hours of all of them added up.
Example output
{
  "count": 1,
  "time_entries": [
    {
      "approval_status": "approved",
      "billable": true,
      "client_id": 5735774,
      "client_name": "ABC Corp",
      "created_at": "2017-06-27T15:50:15Z",
      "ended_time": "5:00pm",
      "hours": 2.11,
      "id": 636709355,
      "is_billed": false,
      "is_locked": true,
      "is_running": false,
      "notes": "Adding CSS styling",
      "project_id": 14307913,
      "project_name": "Marketing Website",
      "rounded_hours": 2.25,
      "spent_date": "2017-03-02",
      "started_time": "3:00pm",
      "task_id": 8083365,
      "task_name": "Graphic Design",
      "timer_started_at": null,
      "updated_at": "2017-06-27T16:47:14Z",
      "user_id": 1782959,
      "user_name": "Kim Allen"
    }
  ],
  "total_hours": 2.11
}

Restart timer

Start a stopped time entry's timer again, adding to its hours.

Inputs

Time entrytime_entry_idtextRequired
The time entry's ID, from an earlier step such as Create time entry, Start timer or List time entries.

Outputs

time_entryobject
Example output
{
  "time_entry": {
    "approval_status": "unsubmitted",
    "billable": true,
    "client_id": 5735774,
    "client_name": "ABC Corp",
    "created_at": "2017-06-27T15:50:15Z",
    "ended_time": null,
    "hours": 0.0,
    "id": 636709355,
    "is_billed": false,
    "is_locked": false,
    "is_running": true,
    "notes": "Adding CSS styling",
    "project_id": 14307913,
    "project_name": "Marketing Website",
    "rounded_hours": 0.0,
    "spent_date": "2017-03-02",
    "started_time": "3:00pm",
    "task_id": 8083365,
    "task_name": "Graphic Design",
    "timer_started_at": "2017-06-27T15:50:15Z",
    "updated_at": "2017-06-27T16:47:14Z",
    "user_id": 1782959,
    "user_name": "Kim Allen"
  }
}

Send invoice

Email an invoice to its recipients, or only to yourself. A draft is marked as sent.

Inputs

Invoiceinvoice_idtextRequired
The invoice's ID, e.g. from Create invoice or List invoices.
Recipientsrecipientslist
Email addresses to send it to, each optionally as Name <email>. Leave empty to send only yourself a copy.
Subjectsubjecttext
The email's subject. Leave empty for Harvest's default.
Messagebodytext
The email's text. Leave empty for Harvest's default.
Attach PDFattach_pdftrue/false
Attach the invoice as a PDF. Default: No.
Send me a copysend_me_a_copytrue/false
Also email it to you. Default: No.

Outputs

invoice_idnumber
The ID of the invoice sent.
messageobject
Example output
{
  "invoice_id": 13150403,
  "message": {
    "attach_pdf": true,
    "created_at": "2017-08-25T21:23:40Z",
    "id": 27835324,
    "recipients": [
      {
        "email": "richardroe@example.com",
        "name": "Richard Roe"
      }
    ],
    "send_me_a_copy": false,
    "sent_by": "Bob Powell",
    "sent_by_email": "bobpowell@example.com",
    "subject": "Invoice #1001 from API Examples"
  }
}

Start timer

Start tracking time on a project's task now.

Inputs

Projectproject_idtextRequired
The project, from those you're assigned to.
Tasktask_idtextRequired
The task, from those on the project picked above.
Notesnotestext
What the time was for.
Datespent_datedate
The day the time was spent on. Leave empty for today (UTC).

Outputs

time_entryobject
Example output
{
  "time_entry": {
    "approval_status": "unsubmitted",
    "billable": true,
    "client_id": 5735774,
    "client_name": "ABC Corp",
    "created_at": "2017-06-27T15:50:15Z",
    "ended_time": null,
    "hours": 0.0,
    "id": 636709355,
    "is_billed": false,
    "is_locked": false,
    "is_running": true,
    "notes": "Adding CSS styling",
    "project_id": 14307913,
    "project_name": "Marketing Website",
    "rounded_hours": 0.0,
    "spent_date": "2017-03-02",
    "started_time": "3:00pm",
    "task_id": 8083365,
    "task_name": "Graphic Design",
    "timer_started_at": "2017-06-27T15:50:15Z",
    "updated_at": "2017-06-27T16:47:14Z",
    "user_id": 1782959,
    "user_name": "Kim Allen"
  }
}

Stop timer

Stop a running timer: the one given, or your running one. If none is running, nothing changes.

Inputs

Time entrytime_entry_idtext
The timer to stop, e.g. from Start timer. Leave empty to stop your running timer.

Outputs

stoppedtrue/false
True if a timer was stopped; false if none was running.
time_entryobject
Example output
{
  "stopped": true,
  "time_entry": {
    "approval_status": "approved",
    "billable": true,
    "client_id": 5735774,
    "client_name": "ABC Corp",
    "created_at": "2017-06-27T15:50:15Z",
    "ended_time": "5:00pm",
    "hours": 2.11,
    "id": 636709355,
    "is_billed": false,
    "is_locked": true,
    "is_running": false,
    "notes": "Adding CSS styling",
    "project_id": 14307913,
    "project_name": "Marketing Website",
    "rounded_hours": 2.25,
    "spent_date": "2017-03-02",
    "started_time": "3:00pm",
    "task_id": 8083365,
    "task_name": "Graphic Design",
    "timer_started_at": null,
    "updated_at": "2017-06-27T16:47:14Z",
    "user_id": 1782959,
    "user_name": "Kim Allen"
  }
}

Unlink time entry from other app

Remove a time entry's link to the item in another app it was tracked from (such as a ticket or card). The time itself stays.

Inputs

Time entrytime_entry_idtextRequired
The time entry's ID, from an earlier step such as Create time entry, Start timer or List time entries.

Outputs

removedtrue/false
True once the link to the other app is gone.
time_entry_idnumber
The ID of the time entry.
Example output
{
  "removed": true,
  "time_entry_id": 636709355
}

Update client

Change a client's name, address or currency, or archive or restore it. Only what you fill in changes.

Inputs

Clientclient_idtextRequired
The client to change.
New namenametext
A new name for the client.
Addressaddresstext
A new address.
Currencycurrencytext
A three-letter code of the currency to invoice in, e.g. EUR.
Activeis_activetrue/false
No archives the client; Yes restores it.

Outputs

clientobject
Example output
{
  "client": {
    "address": "123 Main St.\r\nAnytown, LA 71223",
    "created_at": "2017-06-26T21:02:12Z",
    "currency": "EUR",
    "id": 5735776,
    "is_active": true,
    "name": "123 Industries",
    "updated_at": "2017-06-26T21:34:11Z"
  }
}

Update contact

Change a client contact's details. Only what you fill in changes.

Inputs

Contactcontact_idtextRequired
The contact's ID, from an earlier step such as Create contact or List contacts.
Clientclient_idtext
Move the contact to this client.
First namefirst_nametext
A new first name.
Last namelast_nametext
Their last name.
Titletitletext
Their job title, e.g. Owner.
Emailemailtext
Their email address.
Office phonephone_officetext
Their office phone number.
Mobile phonephone_mobiletext
Their mobile phone number.
Faxfaxtext
Their fax number.
Receives invoicesinvoice_recipient_statustext
Whether invoices sent to the client go to this person. Default for a new contact: No.One of: none (No), recipient (Yes, as a recipient), cc (Yes, as a copy (CC)), bcc (Yes, as a hidden copy (BCC)).

Outputs

contactobject
Example output
{
  "contact": {
    "client_id": 5735774,
    "client_name": "ABC Corp",
    "created_at": "2017-06-26T21:20:07Z",
    "email": "janedoe@example.com",
    "fax": "(203) 697-8887",
    "first_name": "Jane",
    "id": 4706479,
    "invoice_recipient_status": "recipient",
    "last_name": "Doe",
    "name": "Jane Doe",
    "phone_mobile": "(203) 697-8886",
    "phone_office": "(203) 697-8885",
    "title": "Owner",
    "updated_at": "2017-06-26T21:27:07Z"
  }
}

Update estimate

Change an estimate's details, or add lines to it. Only what you fill in changes.

Inputs

Estimateestimate_idtextRequired
The estimate's ID, from an earlier step such as Create estimate or List estimates.
Clientclient_idtext
Move the estimate to this client.
Numbernumbertext
Leave empty for Harvest's next number. Must be unique.
Purchase orderpurchase_ordertext
The client's PO number.
Subjectsubjecttext
The subject line.
Notesnotestext
Notes printed on it.
Currencycurrencytext
A three-letter code, e.g. EUR.
Issue dateissue_datedate
The date it is issued.
Tax (%)taxnumber
Tax rate in percent, e.g. 10, on lines marked taxed.At least 0.
Discount (%)discountnumber
Discount in percent, e.g. 5.From 0 to 100.
Add line itemsline_itemslist
Lines to add, as a list of objects with unit_price and optionally description, quantity (a whole number), item_category and taxed.

Outputs

estimateobject
Example output
{
  "estimate": {
    "accepted_at": null,
    "amount": 9630.0,
    "client_id": 5735776,
    "client_name": "123 Industries",
    "created_at": "2017-06-27T16:11:24Z",
    "currency": "USD",
    "declined_at": null,
    "discount": 10.0,
    "discount_amount": 1000.0,
    "id": 1439818,
    "issue_date": "2017-06-01",
    "line_items": [
      {
        "amount": 10000,
        "description": "Phase 2 of the Online Store",
        "id": 53334195,
        "item_category": "Service",
        "project_id": null,
        "project_name": null,
        "quantity": 100,
        "taxed": true,
        "unit_price": 100
      }
    ],
    "notes": "Some notes about the estimate",
    "number": "1001",
    "purchase_order": "5678",
    "sent_at": "2017-06-27T16:11:33Z",
    "state": "sent",
    "subject": "Online Store - Phase 2",
    "tax": 5.0,
    "tax_amount": 450.0,
    "updated_at": "2017-06-27T16:13:56Z"
  }
}

Update expense

Change an expense's project, category, date, amount, units or notes. Only what you fill in changes.

Inputs

Expenseexpense_idtextRequired
The expense's ID, from an earlier step such as Create expense or List expenses.
Projectproject_idtext
Move the expense to this project.
Categoryexpense_categorytext
A new expense category, picked or typed by name.
Datespent_datedate
A new date.
Amounttotal_costnumber
A new amount, for a category not charged per unit.At least 0.
Unitsunitsnumber
A new number of units, for a category charged per unit.At least 1.
Notesnotestext
New notes, replacing the old.
Billablebillabletrue/false
Whether to bill it to the client.

Outputs

expenseobject
Example output
{
  "expense": {
    "approval_status": "unsubmitted",
    "billable": true,
    "client_id": 5735774,
    "client_name": "ABC Corp",
    "created_at": "2017-06-27T15:09:54Z",
    "expense_category_id": 4195926,
    "expense_category_name": "Meals",
    "id": 15296442,
    "is_billed": false,
    "is_locked": false,
    "notes": "Lunch with client",
    "project_id": 14307913,
    "project_name": "Marketing Website",
    "spent_date": "2017-03-03",
    "total_cost": 33.35,
    "units": 1,
    "updated_at": "2017-06-27T16:47:14Z",
    "user_id": 1782959,
    "user_name": "Kim Allen"
  }
}

Update invoice

Change an invoice's details or due date, or add lines to it. Only what you fill in changes. Nothing is sent.

Inputs

Invoiceinvoice_idtextRequired
The invoice's ID, e.g. from Create invoice or List invoices.
Clientclient_idtext
Move the invoice to this client.
Numbernumbertext
Leave empty for Harvest's next number. Must be unique.
Purchase orderpurchase_ordertext
The client's PO number.
Subjectsubjecttext
The subject line.
Notesnotestext
Notes printed on it.
Currencycurrencytext
A three-letter code, e.g. EUR.
Issue dateissue_datedate
The date it is issued.
Tax (%)taxnumber
Tax rate in percent, e.g. 10, on lines marked taxed.At least 0.
Discount (%)discountnumber
Discount in percent, e.g. 5.From 0 to 100.
Due datedue_datedate
A due date of your own. Use this or Payment term.
Payment termpayment_termtext
When payment is due. Use this or Due date.One of: upon receipt, net 15, net 30, net 45, net 60, custom (Custom (set a due date)).
Add line itemsline_itemslist
Lines to add, as a list of objects with unit_price and optionally description, quantity, item_category, project_id and taxed.

Outputs

invoiceobject
Example output
{
  "invoice": {
    "amount": 288.9,
    "client_id": 5735776,
    "client_name": "123 Industries",
    "created_at": "2017-06-27T16:27:16Z",
    "currency": "EUR",
    "discount": null,
    "discount_amount": 0.0,
    "due_amount": 288.9,
    "due_date": "2017-04-01",
    "id": 13150403,
    "issue_date": "2017-04-01",
    "line_items": [
      {
        "amount": 200.0,
        "description": "03/01/2017 - Project Management: [9:00am - 11:00am] Planning meetings",
        "id": 53341602,
        "item_category": "Service",
        "project_id": 14308069,
        "project_name": "Online Store - Phase 1",
        "quantity": 2.0,
        "taxed": true,
        "unit_price": 100.0
      }
    ],
    "notes": "Some notes about the invoice.",
    "number": "1001",
    "paid_at": null,
    "payment_term": "upon receipt",
    "purchase_order": "",
    "sent_at": "2017-08-23T22:25:59Z",
    "state": "open",
    "subject": "Online Store - Phase 1",
    "tax": 5.0,
    "tax_amount": 13.5,
    "updated_at": "2017-08-23T22:25:59Z"
  }
}

Update person

Change a person's details, or archive or restore them. Only what you fill in changes. Needs an Administrator (a Manager can change some details of their teammates).

Inputs

Personperson_idtextRequired
The person's ID, from an earlier step such as List people or Create person.
First namefirst_nametext
A new first name.
Last namelast_nametext
A new last name.
Emailemailtext
A new email address.
Time zonetime_zonetext
Their time zone as Harvest names it, e.g. Eastern Time (US & Canada).
Contractoris_contractortrue/false
Yes if they are a contractor rather than an employee.
Weekly capacity (hours)weekly_capacity_hoursnumber
The hours a week they are expected to work, e.g. 35.From 0 to 168.
Rolesroleslist
Labels for what they do, e.g. Designer; their access in Harvest is not changed.
On all future projectshas_access_to_all_future_projectstrue/false
Yes puts them on every project created from now on.
Activeis_activetrue/false
No archives the person; Yes restores them.

Outputs

userobject
Example output
{
  "user": {
    "email": "jimallen@example.com",
    "first_name": "Jim",
    "id": 3230547,
    "is_active": true,
    "last_name": "Allen",
    "name": "Jim Allen",
    "roles": [
      "Developer"
    ],
    "weekly_capacity_hours": 35.0
  }
}

Update project

Change a project's details, or archive or restore it. Only what you fill in changes.

Inputs

Projectproject_idtextRequired
The project to change.
New namenametext
A new name for the project.
Clientclient_idtext
Move the project to this client.
Activeis_activetrue/false
No archives the project, so no new time goes to it. Yes restores it.
Codecodetext
A short code for the project, e.g. OS1.
Billableis_billabletrue/false
Whether time on the project is billable. Default for a new project: Yes.
Bill bybill_bytext
Which hourly rate applies. Default for a new project: Not billable.One of: Project (Project hourly rate), Tasks (Task hourly rate), People (Person hourly rate), none (Not billable).
Hourly ratehourly_ratenumber
The project's rate, when billed by project hourly rate.At least 0.
Budget bybudget_bytext
How the budget is counted. Default for a new project: No budget.One of: project (Total project hours), project_cost (Total project fees), task (Hours per task), task_fees (Fees per task), person (Hours per person), none (No budget).
Budgetbudgetnumber
The budget: hours, or money when budgeted by total project fees.At least 0.
Cost budgetcost_budgetnumber
The budget in money, when budgeted by fees per task.At least 0.
Notesnotestext
Notes about the project.
Starts onstarts_ondate
When the project starts.
Ends onends_ondate
When the project ends.

Outputs

projectobject
Example output
{
  "project": {
    "bill_by": "Project",
    "budget": 200.0,
    "budget_by": "project",
    "client_id": 5735776,
    "client_name": "123 Industries",
    "code": "OS1",
    "cost_budget": null,
    "created_at": "2017-06-26T21:52:18Z",
    "currency": "EUR",
    "ends_on": null,
    "fee": null,
    "hourly_rate": 100.0,
    "id": 14308069,
    "is_active": true,
    "is_billable": true,
    "is_fixed_fee": false,
    "name": "Online Store - Phase 1",
    "notes": "",
    "starts_on": "2017-06-01",
    "updated_at": "2017-06-26T21:54:06Z"
  }
}

Update task

Change a task's name, default rate or billing, or archive or restore it. Only what you fill in changes.

Inputs

Tasktask_idtextRequired
The task to change.
New namenametext
A new name for the task.
Default hourly ratedefault_hourly_ratenumber
The rate it gets on a project.At least 0.
Billable by defaultbillable_by_defaulttrue/false
Whether it is billable when put on a project.
Add to new projectsis_defaulttrue/false
Yes adds it to every project created from now on.
Activeis_activetrue/false
No archives the task; Yes restores it.

Outputs

taskobject
Example output
{
  "task": {
    "billable_by_default": false,
    "created_at": "2017-06-26T22:08:25Z",
    "default_hourly_rate": 0.0,
    "id": 8083800,
    "is_active": true,
    "is_default": false,
    "name": "Business Development",
    "updated_at": "2017-06-26T22:08:25Z"
  }
}

Update time entry

Change a time entry's project, task, date, hours, times or notes. Only what you fill in changes.

Inputs

Time entrytime_entry_idtextRequired
The time entry's ID, from an earlier step such as Create time entry, Start timer or List time entries.
Projectproject_idtext
Move the time to this project. Pick a Task on it too.
Tasktask_idtext
Move the time to this task.
Datespent_datedate
Move the time to this day.
Hourshoursnumber
The new length, in hours.From 0 to 24.
Start timestarted_timetime
A new start time.
End timeended_timetime
A new end time.
Notesnotestext
New notes, replacing the old.

Outputs

time_entryobject
Example output
{
  "time_entry": {
    "approval_status": "approved",
    "billable": true,
    "client_id": 5735774,
    "client_name": "ABC Corp",
    "created_at": "2017-06-27T15:50:15Z",
    "ended_time": "5:00pm",
    "hours": 2.11,
    "id": 636709355,
    "is_billed": false,
    "is_locked": true,
    "is_running": false,
    "notes": "Adding CSS styling",
    "project_id": 14307913,
    "project_name": "Marketing Website",
    "rounded_hours": 2.25,
    "spent_date": "2017-03-02",
    "started_time": "3:00pm",
    "task_id": 8083365,
    "task_name": "Graphic Design",
    "timer_started_at": null,
    "updated_at": "2017-06-27T16:47:14Z",
    "user_id": 1782959,
    "user_name": "Kim Allen"
  }
}

On this page