View as Markdown
QuickBooks icon

QuickBooks ACTION

Search Invoices

Searches for invoices. See docs here
  • Action
  • Writes data
  • OAuth
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's QuickBooks account once, then configure and run Search Invoices from your backend or agent.

import { PipedreamClient } from "@pipedream/sdk"

const pd = new PipedreamClient({
  projectId: process.env.PIPEDREAM_PROJECT_ID!,
  clientId: process.env.PIPEDREAM_CLIENT_ID!,
  clientSecret: process.env.PIPEDREAM_CLIENT_SECRET!,
  projectEnvironment: "production",
})

const result = await pd.actions.run({
  id: "quickbooks-sandbox-search-invoices",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    quickbooks: { authProvisionId: "apn_xxxxxxx" },
    includeClause: "Include Clause",
    maxResults: "Max Results",
  },
})

console.log(result)

SCHEMA

Inputs

Pipedream supplies the connected account. Your application provides the operation-specific values below. Dynamic inputs are resolved against that user's account.

Search Invoices inputs
Property Type Description
includeClause Include Clause string
Fields to use in the select clause of the data query. See query language syntax, limitations, and other specifications on Data queries
Required
maxResults Max Results string
The number of entity elements in the response.
Optional
orderClause Order Clause string
The orderClause is for sorting the result. Include the property to sort by. The default sort order is ascending; to indicate descending sort order, include DESC, for example: Name DESC
Optional
startPosition Start Position string
The starting count of the response for pagination.
Optional
whereClause Where Clause string
Filters to use in the where clause of the data query. Note: Multiple clauses (filters) are AND'd. The OR operation is not supported.
Required
minorVersion Minor Version string
Use the minorversion query parameter in REST API requests to access a version of the API other than the generally available version. For example, to invoke minor version 1 of the JournalEntry entity, issue the following request: https://quickbooks.api.intuit.com/v3/company/<realmId>/journalentry/entityId?minorversion=1
Optional

REFERENCE

Tool details

Behavior hints are published with the component in the Pipedream registry and surface as MCP tool annotations, so an agent can reason about a tool before it calls it.

Registry key
quickbooks-sandbox-search-invoices
Version
0.1.6
App
QuickBooks
Authentication
OAuth
Behavior
May modify external data