← Quickbooks

Get Invoice with Quickbooks API

Pipedream makes it easy to connect APIs for Quickbooks and 800+ other apps remarkably fast.

Trigger workflow on
HTTP requests, schedules and app events
Next, do this
Get Invoice with the Quickbooks API
No credit card required
Into to Pipedream
Watch us build a workflow
Watch us build a workflow
7 min
Watch now ➜
Trusted by 250,000+ developers from startups to Fortune 500 companies:
Trusted by 250,000+ developers from startups to Fortune 500 companies

Developers Pipedream

Getting Started

Create a workflow to Get Invoice with the Quickbooks API. When you configure and deploy the workflow, it will run on Pipedream's servers 24x7 for free.

  1. Configure the Get Invoice action
    1. Connect your Quickbooks account
    2. Optional- Configure Invoice ID
    3. Optional- Configure Minor Version
  2. Select a trigger to run your workflow on HTTP requests, schedules or app events
  3. Deploy the workflow
  4. Send a test event to validate your setup
  5. Turn on the trigger


This is a pre-built, open source component from Pipedream's GitHub repo. The component is developed by Pipedream and the community, and verified and maintained by Pipedream.

To contribute an update to an existing component or create a new component, create a PR on GitHub. If you're new to Pipedream component development, you can start with quickstarts for trigger span and action development, and then review the component API reference.

Get Invoice on Quickbooks
Description:Returns info about an invoice. [See docs here](https://developer.intuit.com/app/developer/qbo/docs/api/accounting/all-entities/invoice#read-an-invoice)


import quickbooks from "../../quickbooks.app.mjs";
import { ConfigurationError } from "@pipedream/platform";

export default {
  key: "quickbooks-get-invoice",
  name: "Get Invoice",
  description: "Returns info about an invoice. [See docs here](https://developer.intuit.com/app/developer/qbo/docs/api/accounting/all-entities/invoice#read-an-invoice)",
  version: "0.2.3",
  type: "action",
  props: {
    invoiceId: {
      label: "Invoice ID",
      type: "string",
      description: "Id of the invoice to get details of.",
      optional: true,
    minorVersion: {
      propDefinition: [
  async run({ $ }) {
    if (!this.invoiceId) {
      throw new ConfigurationError("Must provide invoiceId parameter.");

    const response = await this.quickbooks.getInvoice({
      invoiceId: this.invoiceId,
      params: {
        minorversion: this.minorVersion,

    if (response) {
      $.export("summary", `Successfully retrieved invoice with id ${response.Invoice.Id}`);

    return response;


This component may be configured based on the props defined in the component code. Pipedream automatically prompts for input values in the UI and CLI.
QuickbooksquickbooksappThis component uses the Quickbooks app.
Invoice IDinvoiceIdstring

Id of the invoice to get details of.

Minor VersionminorVersionstring

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:


Quickbooks uses OAuth authentication. When you connect your Quickbooks account, Pipedream will open a popup window where you can sign into Quickbooks and grant Pipedream permission to connect to your account. Pipedream securely stores and automatically refreshes the OAuth tokens so you can easily authenticate any Quickbooks API.

Pipedream requests the following authorization scopes when you connect your account:


About Quickbooks

Online accounting software