List Invoices and Get Invoice Details
Explore how to use the FreshBooks API to list all invoices in your account and retrieve detailed data for individual invoices. This lesson helps you understand API endpoints for accessing invoice lists and specific invoice details efficiently.
We'll cover the following...
We'll cover the following...
Overview
In this lesson, we’ll see how we can use FreshBooks API to list all the invoices present in our account and retrieve detailed information about a single invoice. We use the following endpoints:
- List all invoices:
{base_url}/accounting/account/{ACCOUNT_ID}/invoices/invoices - Get a single invoice:
{base_url}/accounting/account/{ACCOUNT_ID}/invoices/invoices/{INVOICE_ID}
List all invoices
We use a very simple call that returns all the invoices against the account ID given in the URL.