> For the complete documentation index, see [llms.txt](https://docs.fastn.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.fastn.ai/connectors/catalog/finance-payments/freshbooks.md). Agents can also search and read this documentation through its [MCP server](https://docs.fastn.ai/~gitbook/mcp).

# FreshBooks

FreshBooks is accounting and invoicing software. Manage clients, invoices, estimates, expenses, items and payments.

![FreshBooks logo](https://1255842839-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3iSr2Tx8FvvuoLPncziH%2Fuploads%2Fgit-blob-99ba06468776034659748e90bf333dd0ee0a69bf%2Ffreshbooks.png?alt=media)

|                    |                                                                                      |
| ------------------ | ------------------------------------------------------------------------------------ |
| **Category**       | [Finance and payments](https://docs.fastn.ai/connectors/catalog/finance-payments.md) |
| **Website**        | [freshbooks.com](https://freshbooks.com)                                             |
| **Authentication** | OAuth 2.0                                                                            |
| **Slug**           | `freshbooks`                                                                         |
| **On fastn.ai**    | [Embed FreshBooks in your product](https://fastn.ai/integrations/freshbooks)         |

## Setup

Your customers sign in to FreshBooks through Fastn's own OAuth app, so nothing needs setting up first. To show your own app on the consent screen instead, add your OAuth app on the connector's **Auth** tab under **Manage providers**.

## Connect in Fastn

Your customers connect FreshBooks from your widget. To connect an account yourself:

1. Go to **Build → Integrations → Connectors** and search for **FreshBooks**.
2. Select **Connect** on the FreshBooks card.

   <figure><img src="https://1255842839-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3iSr2Tx8FvvuoLPncziH%2Fuploads%2Fgit-blob-586dd03cdc0c6904263f58928d7a531eae2f85df%2Fconnect-search.png?alt=media" alt="The Connectors page in Fastn with ServiceNow typed in the search box and the ServiceNow card showing a Connect button"><figcaption><p>Search for the connector, then select Connect on its card. ServiceNow is shown here.</p></figcaption></figure>
3. Keep the **Default** auth provider, or choose your own OAuth app if you added one. Pick the **Scopes** you need, select **Authorize**, then sign in to FreshBooks and approve access in the window that opens.

   <figure><img src="https://1255842839-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3iSr2Tx8FvvuoLPncziH%2Fuploads%2Fgit-blob-0e2bbdd7109cec207402cf6883484b8525b7fbf5%2Fconnect-oauth.png?alt=media" alt="The Connect Salesforce dialog for OAuth 2.0 with the Default auth provider, an optional account name, the Scopes selector and an Authorize button"><figcaption><p>A connect form for OAuth 2.0. Salesforce is shown here.</p></figcaption></figure>
4. Check that the connection appears under **Operate → Connections** with the status `Active`. Your workflows can now use FreshBooks's actions.

For more detail, see [Connect an app](https://docs.fastn.ai/build/integrations/connectors/connect-an-app.md).

## Actions

<table><thead><tr><th width="240">Action</th><th width="260">Slug</th><th>What it does</th></tr></thead><tbody><tr><td>Accept Estimate</td><td><code>acceptEstimate</code></td><td>Mark a FreshBooks estimate as accepted by the client.</td></tr><tr><td>Create Client</td><td><code>createClient</code></td><td>Create a new client on a FreshBooks account, including optional billing and shipping addresses and secondary contacts.</td></tr><tr><td>Create Estimate</td><td><code>createEstimate</code></td><td>Create a new estimate or rich proposal for a client on a FreshBooks account, including its line items.</td></tr><tr><td>Create Expense</td><td><code>createExpense</code></td><td>Record a new expense on a FreshBooks account, optionally assigning it to a client or project for rebilling.</td></tr><tr><td>Create Expense Category</td><td><code>createExpenseCategory</code></td><td>Create a custom expense category on a FreshBooks account, optionally nested under a parent category.</td></tr><tr><td>Create Invoice</td><td><code>createInvoice</code></td><td>Create a new invoice for a client on a FreshBooks account, including its line items and optional presentation styling.</td></tr><tr><td>Create Item</td><td><code>createItem</code></td><td>Create a new inventory item on a FreshBooks account that can be added to invoice lines.</td></tr><tr><td>Create Payment</td><td><code>createPayment</code></td><td>Record a payment against an invoice on a FreshBooks account.</td></tr><tr><td>Create Project</td><td><code>createProject</code></td><td>Create a new project on a FreshBooks business, optionally attaching the services that can be tracked against it.</td></tr><tr><td>Create Tax</td><td><code>createTax</code></td><td>Create a tax on a FreshBooks account so it can be applied to invoice and expense lines.</td></tr></tbody></table>

<details>

<summary>View 49 more actions</summary>

<table><thead><tr><th width="240">Action</th><th width="260">Slug</th><th>What it does</th></tr></thead><tbody><tr><td>Create Time Entry</td><td><code>createTimeEntry</code></td><td>Log a time entry against a project and service on a FreshBooks business.</td></tr><tr><td>Delete Client</td><td><code>deleteClient</code></td><td>Delete a client on a FreshBooks account. FreshBooks performs a soft delete by setting the client's visibility state to deleted.</td></tr><tr><td>Delete Client Contact</td><td><code>deleteClientContact</code></td><td>Delete a secondary contact belonging to a client on a FreshBooks account.</td></tr><tr><td>Delete Estimate</td><td><code>deleteEstimate</code></td><td>Delete an estimate on a FreshBooks account. FreshBooks performs a soft delete by setting the estimate's visibility state to deleted.</td></tr><tr><td>Delete Expense</td><td><code>deleteExpense</code></td><td>Delete an expense on a FreshBooks account. FreshBooks performs a soft delete by setting the expense's visibility state to deleted.</td></tr><tr><td>Delete Invoice</td><td><code>deleteInvoice</code></td><td>Delete an invoice on a FreshBooks account. FreshBooks performs a soft delete by setting the invoice's visibility state to deleted.</td></tr><tr><td>Delete Item</td><td><code>deleteItem</code></td><td>Delete an inventory item on a FreshBooks account. FreshBooks performs a soft delete by setting the item's visibility state to deleted.</td></tr><tr><td>Delete Payment</td><td><code>deletePayment</code></td><td>Delete a payment on a FreshBooks account. FreshBooks performs a soft delete by setting the payment's visibility state to deleted.</td></tr><tr><td>Delete Project</td><td><code>deleteProject</code></td><td>Permanently delete a project from a FreshBooks business.</td></tr><tr><td>Delete Tax</td><td><code>deleteTax</code></td><td>Permanently delete a tax from a FreshBooks account. Unlike most FreshBooks resources, taxes use a real DELETE rather than a visibility-state soft delete.</td></tr><tr><td>Delete Time Entry</td><td><code>deleteTimeEntry</code></td><td>Permanently delete a time entry from a FreshBooks business.</td></tr><tr><td>Delete Webhook Callback</td><td><code>deleteWebhookCallback</code></td><td>Delete a webhook callback registration from a FreshBooks account, stopping event delivery to its URL.</td></tr><tr><td>Get Client</td><td><code>getClient</code></td><td>Retrieve a single client on a FreshBooks account by its client user ID.</td></tr><tr><td>Get Current User</td><td><code>getCurrentUser</code></td><td>Retrieve the authenticated user's identity profile, including every business membership. Use this first to discover the Account ID and Business ID required by all other FreshBooks actions.</td></tr><tr><td>Get Estimate</td><td><code>getEstimate</code></td><td>Retrieve a single estimate on a FreshBooks account by its estimate ID.</td></tr><tr><td>Get Expense</td><td><code>getExpense</code></td><td>Retrieve a single expense on a FreshBooks account by its expense ID.</td></tr><tr><td>Get Invoice</td><td><code>getInvoice</code></td><td>Retrieve a single invoice on a FreshBooks account by its invoice ID.</td></tr><tr><td>Get Invoice Share Link</td><td><code>getInvoiceShareLink</code></td><td>Retrieve a shareable client link for an invoice. The invoice must already be marked as sent; a draft invoice</td></tr><tr><td>Get Item</td><td><code>getItem</code></td><td>Retrieve a single inventory item on a FreshBooks account by its item ID.</td></tr><tr><td>Get Payment</td><td><code>getPayment</code></td><td>Retrieve a single payment on a FreshBooks account by its payment ID.</td></tr><tr><td>Get Project</td><td><code>getProject</code></td><td>Retrieve a single project on a FreshBooks business by its project ID.</td></tr><tr><td>Get Tax</td><td><code>getTax</code></td><td>Retrieve a single tax on a FreshBooks account by its tax ID.</td></tr><tr><td>List Clients</td><td><code>listClients</code></td><td>List all clients on a FreshBooks account, with optional search filters and paging. Returns a paged collection of client records.</td></tr><tr><td>List Estimates</td><td><code>listEstimates</code></td><td>List estimates on a FreshBooks account, with optional search filters and paging.</td></tr><tr><td>List Expense Categories</td><td><code>listExpenseCategories</code></td><td>List the expense categories available on a FreshBooks account. Use a category ID when creating an expense.</td></tr><tr><td>List Expenses</td><td><code>listExpenses</code></td><td>List expenses on a FreshBooks account, with optional search filters and paging.</td></tr><tr><td>List Invoices</td><td><code>listInvoices</code></td><td>List invoices on a FreshBooks account, with optional search filters and paging. Returns a paged collection of invoice records.</td></tr><tr><td>List Items</td><td><code>listItems</code></td><td>List the inventory items available on a FreshBooks account, with optional paging.</td></tr><tr><td>List Payments</td><td><code>listPayments</code></td><td>List payments recorded on a FreshBooks account, with optional search filters and paging.</td></tr><tr><td>List Projects</td><td><code>listProjects</code></td><td>List projects on a FreshBooks business, with optional filters and paging. Note this endpoint is business-scoped, not account-scoped.</td></tr><tr><td>List Taxes</td><td><code>listTaxes</code></td><td>List the taxes configured on a FreshBooks account. Tax names are referenced on invoice and expense lines.</td></tr><tr><td>List Time Entries</td><td><code>listTimeEntries</code></td><td>List time entries on a FreshBooks business, with optional filters and paging. Note this endpoint is business-scoped, not account-scoped.</td></tr><tr><td>List Webhook Callbacks</td><td><code>listWebhookCallbacks</code></td><td>List the webhook callbacks registered on a FreshBooks account, including their verification state.</td></tr><tr><td>Register Webhook Callback</td><td><code>registerWebhookCallback</code></td><td>Register a webhook callback on a FreshBooks account for a given event. FreshBooks then POSTs a verifier code to the callback URL, which must be confirmed via Verify Webhook Callback before events are delivered.</td></tr><tr><td>Resend Webhook Verification Code</td><td><code>resendWebhookVerificationCode</code></td><td>Ask FreshBooks to re-send the verifier code for an unverified webhook callback to its callback URL.</td></tr><tr><td>Search Time Entries</td><td><code>searchTimeEntries</code></td><td>Search time entries on a FreshBooks business, for example to find all time logged by a specific team member on a specific project.</td></tr><tr><td>Send Estimate by Email</td><td><code>sendEstimateByEmail</code></td><td>Email an existing FreshBooks estimate to one or more recipients, optionally with a customized subject and body.</td></tr><tr><td>Send Invoice by Email</td><td><code>sendInvoiceByEmail</code></td><td>Email an existing FreshBooks invoice to one or more recipients, optionally with a customized subject and body.</td></tr><tr><td>Update Client</td><td><code>updateClient</code></td><td>Update an existing client on a FreshBooks account. Only the fields supplied in the client object are changed.</td></tr><tr><td>Update Client Contact</td><td><code>updateClientContact</code></td><td>Update a secondary contact belonging to a client on a FreshBooks account.</td></tr><tr><td>Update Estimate</td><td><code>updateEstimate</code></td><td>Update an existing estimate on a FreshBooks account. Only the fields supplied in the estimate object are changed.</td></tr><tr><td>Update Expense</td><td><code>updateExpense</code></td><td>Update an existing expense on a FreshBooks account. Only the fields supplied in the expense object are changed.</td></tr><tr><td>Update Invoice</td><td><code>updateInvoice</code></td><td>Update an existing invoice on a FreshBooks account. Only the fields supplied in the invoice object are changed.</td></tr><tr><td>Update Item</td><td><code>updateItem</code></td><td>Update an inventory item on a FreshBooks account. Only the fields supplied in the item object are changed.</td></tr><tr><td>Update Payment</td><td><code>updatePayment</code></td><td>Update a payment recorded on a FreshBooks account. Only the fields supplied in the payment object are changed.</td></tr><tr><td>Update Project</td><td><code>updateProject</code></td><td>Update an existing project on a FreshBooks business. Only the fields supplied in the project object are changed.</td></tr><tr><td>Update Tax</td><td><code>updateTax</code></td><td>Update a tax on a FreshBooks account. Only the fields supplied in the tax object are changed.</td></tr><tr><td>Update Time Entry</td><td><code>updateTimeEntry</code></td><td>Update a time entry on a FreshBooks business. Only the fields supplied in the time entry object are changed.</td></tr><tr><td>Verify Webhook Callback</td><td><code>verifyWebhookCallback</code></td><td>Verify a FreshBooks webhook callback using the verifier code FreshBooks POSTed to the callback URL. FreshBooks only delivers events to verified callbacks.</td></tr></tbody></table>

</details>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.fastn.ai/connectors/catalog/finance-payments/freshbooks.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
