← QuickBooks + Python integrations

Run Python Code with Python API on New Invoice Updated from QuickBooks API

Pipedream makes it easy to connect APIs for Python, QuickBooks and 2,700+ other apps remarkably fast.

Trigger workflow on
New Invoice Updated from the QuickBooks API
Next, do this
Run Python Code with the Python API
No credit card required
Intro to Pipedream
Watch us build a workflow
Watch us build a workflow
8 min
Watch now ➜

Trusted by 1,000,000+ developers from startups to Fortune 500 companies

Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo
Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo

Developers Pipedream

Getting Started

This integration creates a workflow with a QuickBooks trigger and Python action. When you configure and deploy the workflow, it will run on Pipedream's servers 24x7 for free.

  1. Select this integration
  2. Configure the New Invoice Updated trigger
    1. Connect your QuickBooks account
    2. Configure timer
  3. Configure the Run Python Code action
    1. Connect your Python account
  4. Deploy the workflow
  5. Send a test event to validate your setup
  6. Turn on the trigger

Details

This integration uses pre-built, source-available components from Pipedream's GitHub repo. These components are 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.

Trigger

Description:Emit new event when an invoice is updated.
Version:0.0.7
Key:quickbooks-new-invoice-updated

QuickBooks Overview

The QuickBooks API allows for streamlined financial management within Pipedream's ecosystem, enabling automated accounting and data syncing across various platforms. With this API, you can manipulate invoices, manage sales receipts, handle expenses, and synchronize customer data. It's a robust tool for financial oversight and automation that can save time and reduce errors for businesses of all sizes.

Trigger Code

import common from "../common/base.mjs";
import sampleEmit from "./test-event.mjs";

export default {
  ...common,
  key: "quickbooks-new-invoice-updated",
  name: "New Invoice Updated",
  description: "Emit new event when an invoice is updated.",
  version: "0.0.7",
  type: "source",
  dedupe: "unique",
  methods: {
    ...common.methods,
    getQuery(lastDate) {
      return `select * from Invoice Where Metadata.LastUpdatedTime >= '${lastDate}' orderby Metadata.LastUpdatedTime desc`;
    },
    getFieldList() {
      return "Invoice";
    },
    getFieldDate() {
      return "LastUpdatedTime";
    },
    getSummary(item) {
      return `New Invoice Updated: ${item.Id}`;
    },
  },
  sampleEmit,
};

Trigger Configuration

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.
LabelPropTypeDescription
QuickBooksquickbooksappThis component uses the QuickBooks app.
N/Adb$.service.dbThis component uses $.service.db to maintain state between executions.
timer$.interface.timer

Trigger Authentication

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:

com.intuit.quickbooks.accountingopenidprofileemail

About QuickBooks

QuickBooks Online is designed to help you manage your business finances with ease.

Action

Description:Write Python and use any of the 350k+ PyPi packages available. Refer to the [Pipedream Python docs](https://pipedream.com/docs/code/python) to learn more.
Version:0.0.2
Key:python-run-python-code

Python Overview

Develop, run and deploy your Python code in Pipedream workflows. Integrate seamlessly between no-code steps, with connected accounts, or integrate Data Stores and manipulate files within a workflow

This includes installing PyPI packages, within your code without having to manage a requirements.txt file or running pip.

Below is an example of using Python to access data from the trigger of the workflow, and sharing it with subsequent workflow steps:

Action Code

import python from "../../python.app.mjs";

export default {
  name: "Run Python Code",
  version: "0.0.2",
  key: "python-run-python-code",
  description: "Write Python and use any of the 350k+ PyPi packages available. Refer to the [Pipedream Python docs](https://pipedream.com/docs/code/python) to learn more.",
  props: {
    python,
  },
  type: "action",
  methods: {},
  async run({
    steps, $,
  }) {
    // Placeholder action for Python code app
  },
};

Action Configuration

This component may be configured based on the props defined in the component code. Pipedream automatically prompts for input values in the UI.

LabelPropTypeDescription
PythonpythonappThis component uses the Python app.

Action Authentication

The Python API does not require authentication.

About Python

Anything you can do in Python can be done in a Pipedream Workflow. This includes using any of the 350,000+ PyPi packages available in your Python powered workflows.

More Ways to Connect Python + QuickBooks

Run Python Code with Python API on New Customer Created from QuickBooks API
QuickBooks + Python
 
Try it
Run Python Code with Python API on New Customer Updated from QuickBooks API
QuickBooks + Python
 
Try it
Run Python Code with Python API on New Invoice Created from QuickBooks API
QuickBooks + Python
 
Try it
Run Python Code with Python API on New Item Created from QuickBooks API
QuickBooks + Python
 
Try it
Run Python Code with Python API on New Item Updated from QuickBooks API
QuickBooks + Python
 
Try it
New Customer Created from the QuickBooks API

Emit new event when a new customer is created.

 
Try it
New Customer Updated from the QuickBooks API

Emit new event when a customer is updated.

 
Try it
New Employee Created from the QuickBooks API

Emit new event when a new employee is created.

 
Try it
New Employee Updated from the QuickBooks API

Emit new event when an employee is updated.

 
Try it
New Invoice Created from the QuickBooks API

Emit new event when a new invoice is created.

 
Try it
Create AP Aging Detail Report with the QuickBooks API

Creates an AP aging report in Quickbooks Online. See the documentation

 
Try it
Create Bill with the QuickBooks API

Creates a bill. See the documentation

 
Try it
Create Customer with the QuickBooks API

Creates a customer. See the documentation

 
Try it
Create Estimate with the QuickBooks API

Creates an estimate. See the documentation

 
Try it
Create Invoice with the QuickBooks API

Creates an invoice. See the documentation

 
Try it

Explore Other Apps

1
-
0
of
2,700+
apps by most popular