QuickBooks Automation
QuickBooks Automation: manage invoices, customers, accounts, and payments in QuickBooks Online for streamlined bookkeeping
- License 许可
- MIT
- 最近更新
- 2026-11-03
- Stars
- ★ 1
- Forks
- 0
01 前言 Front Matter
- name
- QuickBooks Automation
- requires
- { "mcp": [ "rube" ] }
- description
- QuickBooks Automation: manage invoices, customers, accounts, and payments in QuickBooks Online for streamlined bookkeeping
03 SKILL.md 正文
QuickBooks Automation
Automate QuickBooks Online operations including creating invoices, managing customers, querying accounts, and listing invoices for financial reporting.
Toolkit docs: composio.dev/toolkits/quickbooks
Setup
This skill requires the Rube MCP server connected at https://rube.app/mcp.
Before executing any tools, ensure an active connection exists for the quickbooks toolkit. If no connection is active, initiate one via RUBE_MANAGE_CONNECTIONS.
Core Workflows
1. Create an Invoice
Create a new invoice for a customer with line items.
Tool: QUICKBOOKS_CREATE_INVOICE
Key Parameters:
customer_id(required) -- ID of the customer (CustomerRef.value)lines(required) -- Array of line item objects. Each must include:DetailType-- e.g.,"SalesItemLineDetail"Amount-- Line item totalSalesItemLineDetail-- Object withItemRefcontainingvalue(item ID)
minorversion-- Optional API version parameter
Example:
Tool: QUICKBOOKS_CREATE_INVOICE
Arguments:
customer_id: "21"
lines: [
{
"DetailType": "SalesItemLineDetail",
"Amount": 150.00,
"SalesItemLineDetail": {
"ItemRef": {"value": "1", "name": "Services"}
}
}
]
Prerequisites: Resolve the customer ID using QUICKBOOKS_READ_CUSTOMER or create one with QUICKBOOKS_CREATE_CUSTOMER. Resolve item/account IDs using QUICKBOOKS_QUERY_ACCOUNT.
2. Manage Customers
Create and read customer records.
Tools:
QUICKBOOKS_CREATE_CUSTOMER-- Create a new customerQUICKBOOKS_READ_CUSTOMER-- Read a customer by ID
Key Parameters for QUICKBOOKS_CREATE_CUSTOMER:
display_name-- Display name (must be unique across customers, vendors, employees; max 500 chars)given_name-- First name (max 100 chars)family_name-- Last name (max 100 chars)middle_name-- Middle name (max 100 chars)title-- Title, e.g.,"Mr.","Dr."(max 16 chars)suffix-- Name suffix, e.g.,"Jr."(max 16 chars)
At least one of
display_name,title,given_name,middle_name,family_name, orsuffixis required.
Key Parameters for QUICKBOOKS_READ_CUSTOMER:
customer_id(required) -- ID of the customer to read
Example:
Tool: QUICKBOOKS_CREATE_CUSTOMER
Arguments:
display_name: "Acme Corporation"
given_name: "John"
family_name: "Doe"
3. Query and Read Accounts
Retrieve account information for use in invoice line items and financial reporting.
Tools:
QUICKBOOKS_QUERY_ACCOUNT-- Execute a query against accountsQUICKBOOKS_READ_ACCOUNT-- Read a specific account by ID
Key Parameters for QUICKBOOKS_QUERY_ACCOUNT:
query(required) -- SQL-like query string, e.g.,"SELECT * FROM Account WHERE AccountType = 'Income'"
Example:
Tool: QUICKBOOKS_QUERY_ACCOUNT
Arguments:
query: "SELECT * FROM Account WHERE AccountType = 'Income' MAXRESULTS 10"
4. List and Filter Invoices
Retrieve invoices with optional pagination and filtering.
Tool: QUICKBOOKS_LIST_INVOICES
Steps:
- Call
QUICKBOOKS_LIST_INVOICESwith pagination parameters - Use
start_positionandmax_resultsto page through results - Filter by specific criteria as needed
Recommended Execution Plan
- Resolve the customer using
QUICKBOOKS_READ_CUSTOMER(if you have a customer ID) or create one withQUICKBOOKS_CREATE_CUSTOMER - Resolve item/revenue accounts using
QUICKBOOKS_QUERY_ACCOUNTandQUICKBOOKS_READ_ACCOUNTto get account or item IDs for invoice line items - Create the invoice using
QUICKBOOKS_CREATE_INVOICEwith the resolvedcustomer_idand well-formed line items - Verify creation using
QUICKBOOKS_LIST_INVOICESto locate the new invoice by ID or DocNumber
Known Pitfalls
| Pitfall | Detail |
|---|---|
| Invalid references | QUICKBOOKS_CREATE_INVOICE fails if customer_id or ItemRef.value point to non-existent or inactive records. Always resolve IDs first. |
| Line item validation | Incorrect DetailType or missing SalesItemLineDetail fields cause schema/validation errors during invoice creation. |
| Pagination | QUICKBOOKS_LIST_INVOICES uses start_position and max_results. Incomplete pagination settings can miss invoices in larger books. |
| Sync tokens | Any later edits require the latest SyncToken from a fresh invoice read. Stale sync tokens cause update rejections. |
| Rate limits | QuickBooks enforces per-minute and daily API caps. High-volume runs should include backoff to avoid throttling errors. |
| DisplayName uniqueness | Customer display_name must be unique across all Customer, Vendor, and Employee objects. Duplicates cause creation failures. |
Quick Reference
| Tool Slug | Description |
|---|---|
QUICKBOOKS_CREATE_INVOICE |
Create a new invoice with line items |
QUICKBOOKS_READ_CUSTOMER |
Read a customer record by ID |
QUICKBOOKS_CREATE_CUSTOMER |
Create a new customer record |
QUICKBOOKS_QUERY_ACCOUNT |
Query accounts with SQL-like syntax |
QUICKBOOKS_READ_ACCOUNT |
Read a specific account by ID |
QUICKBOOKS_LIST_INVOICES |
List invoices with pagination |
Powered by Composio
04 同仓库更多 Skills
x-article-draft-uploader
把本地 Markdown 转为经核验的 X Articles 新草稿。适用于需要保留首图封面、正文图片相对位置,并在独立 Playwright 会话中复用用户已授权 Chrome 登录态的任务;不负责公开发布。
wecom-operations
通过用户已配置的官方 wecom-cli 管理企业微信文档、智能文档、待办、会议和日程。适合创建或查询这些云端对象、把本地 Markdown 转为智能文档,以及在明确确认后更新或取消对象;不发送消息、不控制桌面客户端。
wecom-local-vault
Inspect authorized local WeCom databases on macOS, create private plaintext snapshots, and query or export contacts, conversations, and messages without modifying the source account store. Use when the user asks to parse 企业微信/WeCom local data, recover a private database snapshot, inspect local contacts or sessions, search chat history, or export a bounded conversation.
wechat-reading
Read and analyze WeRead/微信读书 search results, book metadata, bookshelf entries, progress, notes, highlights, public reviews, recommendations, and reading statistics through the official read-only Agent Gateway. Use for WeRead account questions or exports; do not imply that the current Gateway can add, remove, upload, rate, like, or edit content.
wechat-mp-batch-exporter
Build a bounded, private archive from known WeChat Official Account article URLs or an owner-authorized account-history export, with explicit reconciliation of article, publish-group, and platform-marked-original counts. Use for batch body capture, history normalization, or enhanced metrics/comments workflows. Do not use for a one-page summary or to automate the WeChat client.
wechat-local-vault
在 macOS 本机建立并查询私有微信数据快照。适用于盘点数据库、离线校验已有密钥候选、创建全量或增量明文快照、查会话与联系人、按时间检索消息、导出指定聊天、查看朋友圈或收藏,以及准备群聊摘要素材。所有查询只读,默认隐藏内部账号标识,不操控微信界面,也不发送任何内容。