Send and Delete an Invoice

Learn to send an invoice via email and delete an invoice using the FreshBooks API.

Overview

In this lesson, we’ll discuss two very important operations on invoices using FreshBooks API: sending and deleting an invoice. Both operations use the same endpoint:

  • {base_url}/accounting/account/{ACCOUNT_ID}/invoices/invoices/{INVOICE_ID}

Send an invoice by email

In this section, we’ll see how we can email an invoice to a client. When an invoice is created, it’s in the draft mode. Hence, clients can’t see it. We can send the invoice to the client by making an HTTP PUT request. This endpoint also lets us send an invoice to multiple clients.

Request parameters

The table below shows the parameters that are wrapped in the payload object of this call:

Get hands-on with 1400+ tech skills courses.