List, Update and Delete expenses

Learn about listing, updating, and deleting an expense using the FreshBooks API.


In this lesson, we learn to list, update, and delete an expense. We use the following endpoints for these tasks:

  • List all expenses: {base_url}/accounting/account/{ACCOUNT_ID}/expenses/expenses
  • Update and delete an expense: {base_url}/accounting/account/{ACCOUNT_ID}/expenses/expenses/{EXPENSE_ID}

List all expenses

In this section, we list all the expenses available in our FreshBooks account by using the{ACCOUNT_ID}/expenses/expenses endpoint. It does not take any request parameters, but we can add query parameters using include[]. Let’s see some of the values that we can use as query parameters in the table below:

Get hands-on with 1200+ tech skills courses.