List Expense Categories and Create an Expense
Understand how to retrieve default expense categories and create expenses programmatically using FreshBooks API. This lesson teaches you to use key endpoints for listing categories and recording expenses with necessary access scopes.
We'll cover the following...
We'll cover the following...
In this lesson, we’ll list the default expense categories given by FreshBooks. Next, we’ll create our expenses. FreshBooks offers the facility to record the expenses that are incurred by your business.
The following two endpoints are discussed in this lesson:
- List expense categories:
/accounting/account/{ACCOUNT_ID}/expenses/categories - Create an expense:
/accounting/account/{ACCOUNT_ID}/expenses/expenses
The endpoints of the expenses require the user:expenses:read and ...