...

/

List Expense Categories and Create an Expense

List Expense Categories and Create an Expense

Learn what are the expense categories and how to create an expense using the FreshBooks API.

Overview

The endpoints of the expenses require the user:expenses:read and user:expenses:write scope permissions to perform the job. The following two endpoints are discussed in this lesson:

  • List expense categories: {base_url}/accounting/account/{ACCOUNT_ID}/expenses/categories
  • Create an expense: {base_url}/accounting/account/{ACCOUNT_ID}/expenses/expenses

List expense categories

FreshBooks offers some default categories and sub-categories for grouping expenses, so tracking them becomes easier.

This section explains how we can get a list of all the default ...