List Invoices and Get Invoice Details

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

In this lesson, we’ll see how we can use FreshBooks API to list all invoices in our account and retrieve detailed information about a single invoice. We use the following endpoints:

  • List all invoices: /accounting/account/{ACCOUNT_ID}/invoices/invoices
  • Get a single invoice: /accounting/account/{ACCOUNT_ID}/invoices/invoices/{INVOICE_ID}

List all invoices

This API call returns all the invoices against the account ID given in the URL.

Request parameters

This endpoint does not take body parameters. 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.