Create and Update an Invoice
Understand how to create an invoice with detailed line items and update it through FreshBooks API endpoints. Learn to upload logos, manage inventory effects on quantities, and handle invoice statuses programmatically in JavaScript.
An invoice is a bill to the client(s) against the
In this lesson, we’ll see how to create an invoice and update it. We’ll also learn to upload a logo and use it on the invoice. We use the following endpoints to achieve these tasks:
- Create an invoice:
/accounting/account/{ACCOUNT_ID}/invoices/invoices - Update an invoice:
/accounting/account/{ACCOUNT_ID}/invoices/invoices/{INVOICE_ID}
The endpoints we study for invoice-related operations require the following scope permissions:
user:invoices:readuser:invoices:write