Set up FreshBooks in Metorial for Claude, ChatGPT and Cursor
Share FreshBooks with your team in Claude, ChatGPT and Cursor through Metorial: OAuth sign-in, 23 tools (13 read-only).
To give your team FreshBooks in Claude, ChatGPT, Cursor and other AI clients, an admin shares the FreshBooks integration in a Metorial portal, and each person signs in to FreshBooks with their own account. Agents can discover authorized accounts and businesses, manage clients and draft invoices, record payments and expenses, and manage estimates, credit notes, taxes, billable items, projects and time entries. The integration has 23 tools, 13 read-only and 10 destructive, plus 11 triggers.
What you'll learn
- How an admin shares FreshBooks in a portal and how each person connects
- The 40 OAuth scopes FreshBooks can request, and what each one allows
- How to keep the 13 read-only tools and reject the other 10
Before you start
- A portal with at least one access group
- An account with FreshBooks for each person who connects
- For the CLI steps: the Metorial CLI, signed in to your portal
Sign-in method
| Method | Type | What a person provides |
|---|---|---|
| OAuth | OAuth | Signs in to FreshBooks |
OAuth
People sign in to FreshBooks and approve the scopes you allow. The integration can request:
| Scope | Name | What it allows |
|---|---|---|
user:profile:read | Profile Read | Read your profile information |
user:clients:read | Clients Read | Read client records |
user:clients:write | Clients Write | Create and update client records |
user:invoices:read | Invoices Read | Read invoices |
user:invoices:write | Invoices Write | Create and update invoices |
user:payments:read | Payments Read | Read payments |
user:payments:write | Payments Write | Create and update payments |
user:estimates:read | Estimates Read | Read estimates |
user:estimates:write | Estimates Write | Create and update estimates |
user:expenses:read | Expenses Read | Read expenses |
user:expenses:write | Expenses Write | Create and update expenses |
user:time_entries:read | Time Entries Read | Read time entries |
user:time_entries:write | Time Entries Write | Create and update time entries |
user:projects:read | Projects Read | Read projects |
user:projects:write | Projects Write | Create and update projects |
user:taxes:read | Taxes Read | Read tax configurations |
user:taxes:write | Taxes Write | Create and update tax configurations |
user:billable_items:read | Billable Items Read | Read billable items and services |
user:billable_items:write | Billable Items Write | Create and update billable items and services |
user:bills:read | Bills Read | Read bills |
user:bills:write | Bills Write | Create and update bills |
user:bill_vendors:read | Bill Vendors Read | Read bill vendors |
user:bill_vendors:write | Bill Vendors Write | Create and update bill vendors |
user:bill_payments:read | Bill Payments Read | Read bill payments |
user:bill_payments:write | Bill Payments Write | Create and update bill payments |
user:credit_notes:read | Credit Notes Read | Read credit notes |
user:credit_notes:write | Credit Notes Write | Create and update credit notes |
user:reports:read | Reports Read | Read financial reports |
user:teams:read | Teams Read | Read team members |
user:teams:write | Teams Write | Manage team members |
user:business:read | Business Read | Read business information |
user:journal_entries:read | Journal Entries Read | Read journal entries |
user:journal_entries:write | Journal Entries Write | Create and update journal entries |
user:other_income:read | Other Income Read | Read other income records |
user:other_income:write | Other Income Write | Create and update other income records |
user:notifications:read | Notifications Read | Read notifications |
user:online_payments:read | Online Payments Read | Read online payment settings |
user:online_payments:write | Online Payments Write | Manage online payment settings |
user:retainers:read | Retainers Read | Read retainers |
user:retainers:write | Retainers Write | Create and update retainers |
Setup settings
Setup also asks for:
accountId: FreshBooks account ID. Found in the /me endpoint response under business_memberships. Required for accounting API calls (invoices, clients, expenses, payments, etc.).businessId(optional): FreshBooks business ID. Found in the /me endpoint response under business_memberships. Required for projects and time tracking API calls. If not provided, will default to the business associated with the accountId.
Use your own FreshBooks OAuth app
With your own OAuth app, people see your company's name on the FreshBooks consent screen, and the client ID and secret belong to you.
Start the credentials in Metorial
In the dashboard, select Settings, then Organization Settings. Under Integrations and MCP, select Provider Auth, then Create Auth Credentials. Choose FreshBooks and copy the Redirect URI.
Register the app with FreshBooks
Create an OAuth app or client in FreshBooks and add the redirect URI from Metorial as its redirect or callback URL. The vendor documents this in OAuth documentation.
Finish in Metorial
Copy the app's client ID and client secret. Back in Metorial, enter a Name, the Client ID and the Client Secret, review Scopes, and select Create. Then pick these credentials for the FreshBooks integration.
Admin: share FreshBooks in a portal
In the dashboard
Open Shared Resources
Open Workforce, choose the portal, and select Shared Resources under Access.
Share a new integration
Select Share a Resource, then New Integration, and choose FreshBooks. For how members connect, choose Each person connects, so everyone signs in to FreshBooks as themselves.
Limit the tools
Under Tool Filters, set the write and destructive groups to Reject if agents should only read from FreshBooks.
Choose who gets it
Add the access groups that should see FreshBooks. When a person asks for access from the portal, the request appears under Access Requests.
With the CLI
The CLI cannot create the per-user FreshBooks integration. Once it exists, check which groups have it:
Employee: connect FreshBooks
In the portal
Open FreshBooks in the catalog
Sign in to your portal and open FreshBooks. The status reads Available.
Authenticate
Under Quick setup, select Authenticate. A FreshBooks sign-in tab opens. Sign in and approve the permissions listed.
Confirm
The status changes to Configured. If it later reads Needs reconnect, select Reconnect and sign in again.
With the CLI
catalog search prints the catalog item ID.
Add it to your AI client
metorial install adds your FreshBooks connection to a local MCP client such as Claude Code, Cursor or Codex. metorial list prints the integration ID and metorial client list the client identifiers.
For a client that takes a server URL, such as ChatGPT, metorial install custom <integration-id> creates an installation token and shows the endpoint details.
Make it read-only
Open the integration's Tool Filters and set the write and destructive groups to Reject. Agents keep the 13 read-only tools, such as get_client and list_items, and lose the 10 destructive tools, such as manage_items or manage_taxes.
Employees see the result on the integration's page in the portal under Tool access. For the full walkthrough, see Tool permissions.
Check it worked
metorial tools lists the 23 tools, minus any you rejected. list_items takes no input. It lists billable items in FreshBooks.
To see every input a tool takes, run metorial schema <integration-id> <tool-key>.
Tools
Read-only tools (13)
get_invoice: Retrieve detailed information about a specific invoice by its ID. NeedsinvoiceId.list_invoices: Search and list invoices in FreshBooks.get_client: Retrieve detailed information about a specific client by their ID. NeedsclientId.list_payments: Search and list payments in FreshBooks.list_clients: Search and list clients in FreshBooks.list_expenses: Search and list expenses in FreshBooks.list_time_entries: Search and list time entries in FreshBooks.list_projects: List all projects in FreshBooks.list_items: List billable items in FreshBooks.list_taxes: List all configured tax rates in FreshBooks.get_resource: Read one payment, expense, estimate, project, time entry, tax, or billable item by its exact ID in the selected authorized account/business.get_identity: Discover your FreshBooks identity and authorized business/account memberships.list_resources: List estimates, credit notes, or expense categories in the selected accounting account with exact IDs and provider pagination.
Destructive tools (10)
manage_time_entries: Create, update, or delete time entries in FreshBooks. Needsaction.manage_projects: Create, update, or delete projects in FreshBooks. Needsaction.manage_clients: Create, update, or delete client records in FreshBooks. Needsaction.manage_estimates: Create, update, delete, or send estimates in FreshBooks. Needsaction.manage_expenses: Create, update, or delete expenses in FreshBooks. Needsaction.manage_payments: Record, update, or delete payments against invoices in FreshBooks. Needsaction.manage_invoices: Create, update, or delete invoices in FreshBooks. Needsaction.manage_credit_notes: Create, update, or delete credit notes in FreshBooks. Needsaction.manage_items: Create, update, or delete billable items in FreshBooks. Needsaction.manage_taxes: Create, update, or delete tax configurations in FreshBooks. Needsaction.
Triggers
FreshBooks has 11 triggers, which fire on events in FreshBooks:
payment_events: Triggered when payments are created, updated, or deleted in FreshBooks.bill_events: Triggered when bills are created, updated, or deleted in FreshBooks.client_events: Triggered when clients are created, updated, or deleted in FreshBooks.invoice_events: Triggered when invoices are created, updated, deleted, or sent by email in FreshBooks.credit_note_events: Triggered when credit notes are created, updated, or deleted in FreshBooks.item_events: Triggered when billable items are created, updated, or deleted in FreshBooks.tax_events: Triggered when tax configurations are created, updated, or deleted in FreshBooks.time_entry_events: Triggered when time entries are created, updated, or deleted in FreshBooks.estimate_events: Triggered when estimates are created, updated, deleted, or sent by email in FreshBooks.expense_events: Triggered when expenses are created, updated, or deleted in FreshBooks.project_events: Triggered when projects are created, updated, or deleted in FreshBooks.
Next steps
- Claude Code, Cursor, Codex and ChatGPT: connect each client to your portal and use FreshBooks there
- Create custom OAuth credentials: the Provider Auth screens in more detail
- Tool permissions: tool filters and what employees see
- FreshBooks on metorial.com: the integration overview