List Expense Categories and Create an Expense
Explore how to list expense categories and create new expenses using the FreshBooks API. Learn to use the relevant API endpoints, required permissions, and how to handle the response data effectively for managing expenses within your accounts.
We'll cover the following...
We'll cover the following...
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