List Invoices and Get Invoice Details

Learn to list all invoices and get information about a specific invoice.

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.

Request parameters

This endpoint does not take any parameters in the payload object. However, we can apply some filters by using the include[] query parameter. Let’s see some of the values we can use as query parameters in the table below:

Get hands-on with 1200+ tech skills courses.