Skip to content
QuickBooks Automation logo

QuickBooks Automation

QuickBooks Automation: manage invoices, customers, accounts, and payments in QuickBooks Online for streamlined bookkeeping

SKILL.md

Full skill instructions

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 total
    • SalesItemLineDetail -- Object with ItemRef containing value (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 customer
  • QUICKBOOKS_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, or suffix is 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 accounts
  • QUICKBOOKS_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:

  1. Call QUICKBOOKS_LIST_INVOICES with pagination parameters
  2. Use start_position and max_results to page through results
  3. Filter by specific criteria as needed

Recommended Execution Plan

  1. Resolve the customer using QUICKBOOKS_READ_CUSTOMER (if you have a customer ID) or create one with QUICKBOOKS_CREATE_CUSTOMER
  2. Resolve item/​revenue accounts using QUICKBOOKS_QUERY_ACCOUNT and QUICKBOOKS_READ_ACCOUNT to get account or item IDs for invoice line items
  3. Create the invoice using QUICKBOOKS_CREATE_INVOICE with the resolved customer_id and well-formed line items
  4. Verify creation using QUICKBOOKS_LIST_INVOICES to locate the new invoice by ID or DocNumber

Known Pitfalls

PitfallDetail
Invalid referencesQUICKBOOKS_CREATE_INVOICE fails if customer_id or ItemRef.value point to non-existent or inactive records. Always resolve IDs first.
Line item validationIncorrect DetailType or missing SalesItemLineDetail fields cause schema/​validation errors during invoice creation.
PaginationQUICKBOOKS_LIST_INVOICES uses start_position and max_results. Incomplete pagination settings can miss invoices in larger books.
Sync tokensAny later edits require the latest SyncToken from a fresh invoice read. Stale sync tokens cause update rejections.
Rate limitsQuickBooks enforces per-minute and daily API caps. High-volume runs should include backoff to avoid throttling errors.
DisplayName uniquenessCustomer display_name must be unique across all Customer, Vendor, and Employee objects. Duplicates cause creation failures.

Quick Reference

Tool SlugDescription
QUICKBOOKS_CREATE_INVOICECreate a new invo

More Productivity & Planning skills

brainstorming logo
Productivity & Planning

brainstorming

Structured design dialogue that validates ideas before implementation begins.

295.4K 385.7K
View
ui-ux-pro-max logo
Productivity & Planning

ui-ux-pro-max

Comprehensive design intelligence for web and mobile UI/UX across 10 technology stacks.

133.1K 383.9K
View
writing-plans logo
Productivity & Planning

writing-plans

Comprehensive implementation plans for multi-step tasks, breaking down specs into bite-sized, testable steps.

295.4K 268K
View
using-superpowers logo
Productivity & Planning

using-superpowers

Introduction to the obra skills system with mandatory skill invocation rules and best practices.

295.4K 259.8K
View
executing-plans logo
Productivity & Planning

executing-plans

Execute a written implementation plan with critical review and task checkpoints.

295.4K 229.1K
View
dispatching-parallel-agents logo
Productivity & Planning

dispatching-parallel-agents

Delegate independent tasks to specialized agents working concurrently with isolated context.

295.4K 206.3K
View
using-git-worktrees logo
Productivity & Planning

using-git-worktrees

Isolated git worktrees with smart directory selection and safety verification.

295.4K 205.2K
View
webapp-testing logo
Productivity & Planning

webapp-testing

Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.

179.7K 170.6K
View
content-strategy logo
Productivity & Planning

content-strategy

Plan searchable and shareable content that drives traffic, builds authority, and generates leads.

53.3K 150.9K
View
repo-intake-and-plan logo
Productivity & Planning

repo-intake-and-plan

README-first repository scanner that extracts commands and classifies reproduction candidates without executing them.

497 139.6K
View
marketing-ideas logo
Productivity & Planning

marketing-ideas

Brainstorm and prioritize marketing strategies tailored to your SaaS stage, budget, and goals.

53.3K 137.2K
View
site-architecture logo
Productivity & Planning

site-architecture

Plan and optimize your website's page hierarchy, navigation, URL structure, and internal linking.

53.3K 112.8K
View

Productivity AI tools

Vimcal logo
Productivity

Vimcal

The world's fastest calendar for remote work

Free
View
SaveDay logo
Productivity

SaveDay

Capture, organize, and utilize your knowledge effortlessly.

Free
View
A
Productivity

Any Summary

Instant Summaries of Audio & Video Interviews with AnySummary

Freemium
View
M
Productivity

Map This

Transform PDFs into engaging mind maps.

Freemium
View
ChatPDF logo
Productivity

ChatPDF

Chat with any PDF instantly

Free
View
I
Productivity

intellisay

Create an optimal daily plan using your voice

Paid
View
A
Productivity

Aurora AI

A productivity platform to centralize organizational knowledge and workflows with contextual AI assistance.

Paid
View
AskYourPDF logo
Productivity

AskYourPDF

AskYourPDF Pricing Plans: Tailored to Your Needs

Free
View