LaunchKit · 2026
Back to Skills

freshbooks-cli

FreshBooks CLI for managing invoices, clients, and billing.

1
1.2k downloads
by @haseebuchiha

Setup & Installation

openclaw skills install @haseebuchiha/freshbooks-cli

Or with the ClawHub CLI, for registry-managed skill folders outside a full OpenClaw workspace:

npx clawhub install freshbooks-cli

What This Skill Does

CLI tool for managing FreshBooks invoices, clients, and billing via the official FreshBooks API SDK. Authenticate once with OAuth2 and interact with your FreshBooks account from the terminal.

Lets you create and manage invoices programmatically or via AI agents without navigating the FreshBooks web UI.

When to use it

  • Create and send invoices to clients from the terminal
  • Look up a client's billing history by organization name
  • Onboard a new client and generate their first invoice in one workflow
  • Get a shareable invoice link without opening the FreshBooks web app
  • Automate invoice creation by piping JSON line items from scripts

Example Workflow

Here's how your AI assistant might use this skill in practice.

INPUT

User asks: Create an invoice for Acme Corp for $5,000 of consulting services

AGENT
  1. 1Run `freshbooks clients list -s "Acme Corp"` to find the client ID
  2. 2Run `freshbooks invoices create --client-id <id> --lines '[{"name":"Consulting","qty":1,"unitCost":{"amount":"5000.00","code":"USD"}}]'` to create the invoice
  3. 3Run `freshbooks invoices share-link <invoice-id>` to retrieve the shareable link
  4. 4Return the link to the user
OUTPUT

A shareable FreshBooks invoice URL for Acme Corp

Requirements

Accounts, API keys, or tools you or your AI assistant may need to set up while using this skill.

FreshBooks accountFRESHBOOKS_CLIENT_ID — OAuth2 client ID from FreshBooks Developer PortalFRESHBOOKS_CLIENT_SECRET — OAuth2 client secret from FreshBooks Developer Portal