Quickbooks CLI for AI Agents

CLIs are eating MCPs. The industry is converging on the very same idea. MCPs for all their merit can be token hungry, slow, and unreliable for complex tool chaining. However, coding agents have become incredibly good at working with CLIs, and in fact they are far more comfortable working with CLI tools than MCP. With Composio's Universal CLI, your coding agents can talk to over 1000+ SaaS applications. With Quickbooks, agents can add a new customer with contact details, generate a balance report for customer abc, create a vendor for monthly office supplies, and more — all without worrying about authentication. This guide walks you through Composio Universal CLI and explains how you can connect it with coding agents like Claude Code, Codex, OpenCode, etc, for end-to-end Quickbooks automation.

Quickbooks logoQuickbooks
Oauth2

Quickbooks is cloud-based accounting software for managing your business finances. It helps you track income, expenses, and gain insights to streamline your workflow.

105 Tools

Introduction

CLIs are eating MCPs. The industry is converging on the very same idea. MCPs for all their merit can be token hungry, slow, and unreliable for complex tool chaining. However, coding agents have become incredibly good at working with CLIs, and in fact they are far more comfortable working with CLI tools than MCP.

With Composio's Universal CLI, your coding agents can talk to over 1000+ SaaS applications. With Quickbooks, agents can add a new customer with contact details, generate a balance report for customer abc, create a vendor for monthly office supplies, and more — all without worrying about authentication.

This guide walks you through Composio Universal CLI and explains how you can connect it with coding agents like Claude Code, Codex, OpenCode, etc, for end-to-end Quickbooks automation.

Also integrate Quickbooks with

What is Universal CLI and why use it?

The idea behind building the universal CLI is to give agents a single command interface to interact with all your external applications. Here's what you'll get with it:

  • Agent-friendly: Coding agents like Claude Code, Codex, and OpenCode can use CLI tools natively — no MCP setup required.
  • Authentication handled: Connect once via OAuth or API Key, and all CLI commands work with your credentials automatically.
  • Tool discovery: Search, inspect, and execute 20,000+ tools across 1000+ apps from one interface.
  • Trigger support: Use triggers to listen for events across your apps, powered by real-time webhooks or polling under the hood.
  • Type generation: Generate typed schemas for autocomplete and type safety in your projects.

Prerequisites

Install the Composio CLI, authenticate, and initialize your project:

bash
# Install the Composio CLI
curl -fsSL https://composio.dev/install | bash

# Authenticate with Composio
composio login

During login you'll be redirected to sign in page, finish the complete flow and you're all set.

Composio CLI authentication flow

Connecting Quickbooks to Coding Agents via Universal CLI

Once it is installed, it's essentially done. Claude Code, Codex, OpenCode, OpenClaw, or any other agent will be able to access the CLI. A few steps to give agents access to your apps.

  1. Launch your Coding Agent — Claude Code, Codex, OpenCode, anything you prefer.
  2. Prompt it to "Authenticate with Quickbooks"
  3. Complete the authentication and authorization flow and your Quickbooks integration is all set.
  4. Start asking anything you want.

Universal CLI Commands for Quickbooks

You can also manually execute CLI commands to interact with your Quickbooks.

Connect your Quickbooks account

Link your Quickbooks account and verify the connection:

bash
# Connect your Quickbooks account (opens OAuth flow)
composio connected-accounts link quickbooks

# Verify the connection
composio connected-accounts list --toolkits quickbooks

Discover Quickbooks tools

Search and inspect available Quickbooks tools:

bash
# List all available Quickbooks tools
composio tools list --toolkit quickbooks

# Search for Quickbooks tools by action
composio tools search "quickbooks"

# Inspect a tool's input schema
composio tools info QUICKBOOKS_CREATE_ACCOUNT

Common Quickbooks Actions

Create AccountCreate a new account in quickbooks with the given parameters

bash
composio tools execute QUICKBOOKS_CREATE_ACCOUNT \
  --name "<string>"

Create CustomerCreate a new customer in quickbooks with the given parameters

bash
composio tools execute QUICKBOOKS_CREATE_CUSTOMER \
  --title "Mr." \
  --suffix "<string>" \
  --given_name "<string>" \
  --family_name "<string>"

Create EmployeeCreate a new employee in quickbooks

bash
composio tools execute QUICKBOOKS_CREATE_EMPLOYEE \
  --given_name "<string>" \
  --family_name "<string>" \
  --primary_addr "<object>"

Create VendorCreate a new vendor in quickbooks with the given details

bash
composio tools execute QUICKBOOKS_CREATE_VENDOR \
  --title "Mr." \
  --suffix "<string>" \
  --given_name "<string>" \
  --family_name "<string>"

Generate Type Definitions

Generate typed schemas for Quickbooks tools to get autocomplete and type safety in your project:

bash
# Auto-detect language
composio generate --toolkits quickbooks

# TypeScript
composio ts generate --toolkits quickbooks

# Python
composio py generate --toolkits quickbooks

Tips & Tricks

  • Always inspect a tool's input schema before executing: composio tools info <TOOL_NAME>
  • Pipe output with jq for better readability: composio tools execute TOOL_NAME -d '{}' | jq
  • Set COMPOSIO_API_KEY as an environment variable for CI/CD pipelines
  • Use composio dev logs tools to inspect execution logs and debug issues

Next Steps

  • Try asking your coding agent to perform various Quickbooks operations
  • Explore cross-app workflows by connecting more toolkits
  • Set up triggers for real-time automation
  • Use composio generate for typed schemas in your projects
TOOLS

Supported Tools

Every Quickbooks action and event your agent gets out of the box.

Capture Charge

Tool to capture funds for an existing charge that was authorized but not captured.

Create Account

Create a new account in QuickBooks with the given parameters.

Create Bank Account

Create a new bank account on file for a customer in QuickBooks Payments API.

Create Bill

Create a new bill in QuickBooks Online.

Create Bill Payment

Create a bill payment in QuickBooks to record payment against one or more bills.

Create Class

Create a new class in QuickBooks Online.

Create Credit Memo

Tool to create a new credit memo in QuickBooks Online.

Create Customer

Create a new customer in QuickBooks with the given parameters.

Create Deposit

Creates a new deposit in QuickBooks Online.

Create eCheck Payment

Tool to create an eCheck payment using ACH bank transfer in QuickBooks Payments API.

Create Employee

Create a new employee in QuickBooks.

Create Estimate

Creates a new estimate in QuickBooks Online.

Create Invoice

Creates a new invoice in QuickBooks for a customer.

Create Item

Create a new item in QuickBooks Online.

Create Journal Entry

Tool to create a new journal entry in QuickBooks Online.

Create Payment

Creates a payment record in QuickBooks Online.

Create Purchase

Tool to create a new purchase transaction in QuickBooks Online.

Create Purchase Order

Create a new purchase order in QuickBooks.

Create Refund Receipt

Tool to create a new refund receipt in QuickBooks Online.

Create Sales Receipt

Tool to create a new sales receipt in QuickBooks Online.

Create Tax Agency

Create a new tax agency in QuickBooks Online.

Create Tax Code via TaxService

Create a new tax code with associated tax rates using the TaxService endpoint.

Create Time Activity

Create a new time activity record in QuickBooks Online.

Create Vendor

Create a new vendor in QuickBooks with the given details.

Create Vendor Credit

Tool to create a new vendor credit in QuickBooks Online.

Customer Balance Detail

Generate a balance detail report for a customer in QuickBooks with the given customer ID.

Customer Balance Report

Generate a customer balance report in QuickBooks showing outstanding balances for customers.

Delete Bank Account

Tool to delete a bank account on file for a customer in QuickBooks Payments API.

Execute Batch Operation

Execute multiple QuickBooks operations in a single request.

Aged Receivables Report

Generate an aged receivables report showing outstanding customer balances by age.

Get Attachable

Tool to read details of a specific attachable by ID in QuickBooks Online.

Get Balance Sheet Report

Generate a Balance Sheet report showing company assets, liabilities, and equity at a point in time.

Get Bank Account

Tool to retrieve a specific bank account by ID from QuickBooks Payments API.

Get Bill

Tool to fetch a QuickBooks bill by ID.

Get Bill Payment

Tool to retrieve details of a specific bill payment by ID in QuickBooks Online.

Get Changed Entities

Tool to retrieve entities that changed since a specified timestamp using QuickBooks Change Data Capture (CDC) API.

Get Company Info

Tool to read company information from QuickBooks Online.

Get Credit Memo

Tool to fetch a QuickBooks credit memo by ID.

Get Credit Memo PDF

Tool to download a QuickBooks credit memo as a PDF file.

Get Department

Read details of a specific department by ID in QuickBooks Online.

Get Deposit

Tool to read details of a specific deposit by ID in QuickBooks Online.

Get Estimate

Tool to fetch a QuickBooks estimate by ID.

Get Estimate PDF

Tool to download a QuickBooks estimate as a PDF file.

Get Exchange Rate

Tool to get exchange rate for a specific currency code and date in QuickBooks Online.

Get General Ledger Report

Generate a General Ledger report showing all transactions with debits, credits, and running balances.

Get Inventory Valuation Summary

Generate an Inventory Valuation Summary report showing inventory quantities and their current values.

Get Invoice PDF

Tool to download a QuickBooks invoice as a PDF file.

Get Item

Tool to retrieve a specific item by its ID from QuickBooks Online.

Get Journal Entry

Tool to read details of a specific QuickBooks journal entry by ID.

Get Payment

Tool to fetch details of a specific payment by ID in QuickBooks Online.

Get Payment Method

Read details of a specific payment method by ID in QuickBooks Online.

Get Payment PDF

Tool to download a QuickBooks payment record as a PDF file.

Get Company Preferences

Tool to read company preferences that control application behavior in QuickBooks Online.

Get Profit and Loss Detail Report

Generate a detailed Profit and Loss report showing company income and expenses with transaction-level details.

Get Profit and Loss Report

Generate a Profit and Loss report showing company income and expenses over a period.

Get Purchase

Tool to fetch details of a specific purchase by ID in QuickBooks Online.

Get Purchase Order

Tool to fetch a QuickBooks purchase order by ID.

Get Purchase Order PDF

Tool to download a QuickBooks purchase order as a PDF file.

Get Refund Receipt

Tool to fetch a QuickBooks refund receipt by ID.

Get Refund Receipt PDF

Tool to download a QuickBooks refund receipt as a PDF file.

Get Report - Account List

Retrieve the AccountList report from QuickBooks showing a list of all accounts.

Get Report - Aged Payable Detail

Generate an aged payable detail report showing aging detail for accounts payable.

Get Report - Aged Payables

Retrieve an Aged Payables aging summary report from QuickBooks showing outstanding vendor balances grouped by age.

Get Report - Aged Receivable Detail

Generate an aged receivable detail report showing aging detail for accounts receivable.

Get Report - Cash Flow

Generate a cash flow report in QuickBooks showing cash inflows and outflows categorized by operating, investing, and financing activities.

Get Report - Class Sales

Generate a ClassSales report in QuickBooks showing sales amounts grouped by class.

Get Report - Customer Income

Generate a customer income report in QuickBooks showing revenue by customer.

Get Report - Customer Sales

Generate a customer sales report in QuickBooks showing sales transactions and totals for customers.

Get Report - Department Sales

Generate a department sales report in QuickBooks showing sales data broken down by department.

Get Report - Item Sales

Generate an ItemSales report showing sales data for products and services.

Get Reports

Retrieve QuickBooks reports such as TransactionList, BalanceSheet, ProfitAndLoss, and others.

Get Report - Trial Balance

Generate a Trial Balance report showing account debits, credits, and balances for a specified period.

Get Sales Receipt

Tool to fetch a QuickBooks sales receipt by ID.

Get Sales Receipt PDF

Tool to download a QuickBooks sales receipt as a PDF file.

Get Tax Rate

Tool to read details of a specific tax rate by ID in QuickBooks Online.

Get Term

Read details of a specific payment term by ID in QuickBooks Online.

Get Time Activity

Tool to read details of a specific time activity by ID in QuickBooks Online.

Get Transaction List Report

Get the Transaction List report showing all transactions in the company.

Get Transfer

Tool to fetch a QuickBooks transfer by ID.

Get Vendor Credit

Tool to fetch a QuickBooks vendor credit by ID.

Get Vendor Expenses Report

Retrieve a vendor expenses report from QuickBooks showing expense transactions by vendor.

List Cards

Tool to retrieve all payment cards on file for a customer in QuickBooks Payments API.

List Departments

Query Department entities in QuickBooks using SQL-like syntax.

List Invoices

Tool to list invoices via QuickBooks Query endpoint.

Query Account Entities

Query Account entities in QuickBooks using SQL-like syntax.

Query Attachable Entities

Query Attachable entities in QuickBooks using SQL-like syntax.

Query QuickBooks Entities

Execute SQL-like queries on QuickBooks Online entities.

Read Account

Read an account in QuickBooks with the given account ID.

Read Class

Read details of a specific class by ID in QuickBooks Online.

Read Customer

Read a customer in QuickBooks with the given customer ID.

Read Employee

Read an employee's details in QuickBooks with the given employee ID.

Read Invoice

Tool to fetch a QuickBooks invoice by ID or the most recent if no ID provided.

Read Vendor

Read a vendor in QuickBooks with the given vendor ID.

Send Credit Memo

Tool to send a credit memo to a specified email address.

Update Attachable

Tool to update an existing attachable in QuickBooks Online.

Update Company Info

Tool to update company information in QuickBooks Online.

Update Department

Tool to update an existing department in QuickBooks Online.

Update Full Invoice

Tool to fully replace an Invoice.

Update Payment Method

Tool to update an existing payment method in QuickBooks Online.

Update Preferences

Update company preferences in QuickBooks Online.

Update Sparse Invoice

Tool to perform a sparse update of an existing invoice.

Update Term

Tool to update an existing payment term in QuickBooks Online.

Update Transfer

Tool to update an existing transfer in QuickBooks Online.

Vendor Balance Detail

Generate a balance detail report for a vendor in QuickBooks with the given vendor ID.

Vendor Balance Report

Retrieve a vendor balance report from QuickBooks showing outstanding balances for vendors.

FAQ

Frequently asked questions

The Composio Universal CLI is a single command-line interface that lets coding agents and developers interact with 1000+ SaaS applications. It handles authentication, tool discovery, action execution, and trigger setup — all from the terminal, without needing to configure MCP servers.

Any coding agent that can run shell commands works with the Composio CLI — including Claude Code, Codex, OpenCode, OpenClaw, and others. Once the CLI is installed, agents automatically discover and use the composio commands to interact with Quickbooks and other connected apps.

MCP servers require configuration and can be token-heavy for complex workflows. The CLI gives agents a direct, lightweight interface — no server setup needed. Agents simply call composio commands like any other shell tool. It's faster to set up, more reliable for multi-step tool chaining, and works natively with how coding agents already operate.

All sensitive data such as tokens, keys, and configuration is fully encrypted at rest and in transit. Composio is SOC 2 Type 2 compliant and follows strict security practices so your Quickbooks data and credentials are handled as safely as possible. You can also bring your own OAuth credentials for full control.

Start with Quickbooks.It takes 30 seconds.

Managed auth, hosted MCP servers, and every Quickbooks tool your agent needs.Free to start.

Start building