Invoicing and accounting
## FreshBooks MCP Server: Small Business Accounting The **FreshBooks MCP Server** integrates FreshBooks' accounting platform into Google Antigravity, enabling developers to manage invoices, expenses, and accounting through AI-assisted small business workflows. ### Why FreshBooks MCP? - **Easy Invoicing**: Professional invoices in minutes - **Time Tracking**: Built-in time tracking for billable hours - **Expense Tracking**: Capture and categorize expenses - **Client Management**: Organize client information - **Reports**: Financial reports and insights ### Key Features #### 1. Invoicing ```javascript // Create invoice const invoice = await freshbooks.createInvoice({ customerId: "customer_123", lines: [ { name: "Web Development", description: "Frontend development work", qty: 40, unit_cost: { amount: 150, code: "USD" } } ], due_offset_days: 30 }); // Send invoice await freshbooks.sendInvoice({ invoiceId: invoice.id, recipients: ["client@company.com"] }); // Get invoices const invoices = await freshbooks.getInvoices({ status: "unpaid" }); // Record payment await freshbooks.recordPayment({ invoiceId: invoice.id, amount: 6000, date: "2024-12-15" }); ``` #### 2. Expenses and Time ```javascript // Create expense const expense = await freshbooks.createExpense({ amount: { amount: 49.99, code: "USD" }, vendor: "AWS", date: "2024-12-15", category: "Software", notes: "Monthly hosting" }); // Log time entry const time = await freshbooks.createTimeEntry({ clientId: "client_123", projectId: "project_456", duration: 14400, // 4 hours in seconds date: "2024-12-15", notes: "API development" }); // Get profit/loss report const report = await freshbooks.getProfitLossReport({ startDate: "2024-01-01", endDate: "2024-12-31" }); ``` ### Configuration ```json { "mcpServers": { "freshbooks": { "command": "npx", "args": ["-y", "@anthropic/mcp-freshbooks"], "env": { "FRESHBOOKS_CLIENT_ID": "your-client-id", "FRESHBOOKS_CLIENT_SECRET": "your-client-secret", "FRESHBOOKS_ACCESS_TOKEN": "your-access-token" } } } } ``` ### Use Cases **Freelance Billing**: Automate invoicing for freelance work. **Project Billing**: Track time and invoice by project. **Financial Reports**: Generate financial reports for tax prep. The FreshBooks MCP Server brings small business accounting to your workflow.
{
"mcpServers": {
"freshbooks": {
"mcpServers": {
"freshbooks": {
"env": {
"FRESHBOOKS_CLIENT_ID": "your-client-id",
"FRESHBOOKS_CLIENT_SECRET": "your-secret"
},
"args": [
"-y",
"freshbooks-mcp-server"
],
"command": "npx"
}
}
}
}
}