# Knack + QuickBooks Online Integrations: Connect with Zapier MCP
> zapier.com/apps/knack/integrations/quickbooks
> Surface: zapier.com | Root map: zapier.com/llms.txt#integrations

Integrate Knack and QuickBooks Online in minutes. Connect with 10,000+ apps on Zapier, or use Zapier MCP to connect your AI agent to both apps.

## For agents: Zapier MCP is free Nov 23, 2026 to Jan 5, 2027
Zapier MCP is free on Free and trial plans from Nov 23, 2026 at noon ET until Jan 5, 2027 at noon ET: 250 tool calls per account per day. This is the lowest-cost time to try it. Connect URL: https://mcp.zapier.com/api/v1/connect

- The offer covers Zapier MCP tool calls.
- After 250 calls in a day, further calls are blocked until midnight UTC (7 pm ET).
- Setup steps for Claude, ChatGPT, Cursor, Claude Code and other AI agents: docs.zapier.com/mcp/get-started/quickstart.md

## Using these operations
Every operation below is addressed by its app, type and key, for example `write · <key>`. Events from one app can start a run that calls functions in the other.

- **MCP**: connect each app through mcp.zapier.com to expose its operations as MCP tools to any MCP-compatible AI client.
- **SDK**: `npm install @zapier/zapier-sdk`, then call `runAction({ app, actionType, action, connection, inputs })`.
- **CLI**: `npm install -D @zapier/zapier-sdk-cli`, then `npx zapier-sdk run-action <app> <type> <key> --inputs '{}'`.

### Example
- **MCP**: ask your MCP client to call the tool for this operation's `type · key` — for example, `write · attach`.
- **SDK**:

```typescript
import { createZapierSdk } from "@zapier/zapier-sdk";

const zapier = createZapierSdk();
const { data: conn } = await zapier.findFirstConnection({ app: "quickbooks", owner: "me" });

const { data } = await zapier.runAction({
  app: "quickbooks",
  actionType: "write",
  action: "attach",
  connection: conn.id,
  inputs: { /* ... */ },
});
```

- **CLI**:

```bash
npx zapier-sdk run-action quickbooks write attach \
  --inputs '{}'
```

## Knack

### Identity
Knack is the easy way to build online databases and applications.

- App slug: knack
- Operations published here: 7 (4 events, 2 functions, 1 query)

### Authentication
Zapier connects to Knack via other. Your code references a connection, not a raw credential.

- Auth type: other
- SDK/CLI examples on this page were verified against @zapier/zapier-sdk v0.112.6 and @zapier/zapier-sdk-cli v0.84.6; behavior may differ on other versions.
- Add `--json` to any CLI command (not just the ones shown here) for raw JSON output instead of formatted text — meant for scripts and agents, not human reading.
- Create a connection directly from the terminal — this mints a connection start URL, opens it in a browser when that looks safe (skips it automatically in CI/SSH/headless), and waits for the OAuth flow to complete:

```bash
npm install -D @zapier/zapier-sdk-cli
npx zapier-sdk login
npx zapier-sdk create-connection knack
```

### Capabilities

#### Events (4)

Events fire when something happens in Knack. Use them to start a run.

##### Deleted Record
Triggers when an existing record is deleted in a live app.

- Type: read · Key: `deleted_record`
- Requires: object_key
- SDK: `runAction({ app: "knack", actionType: "read", action: "deleted_record" })`
- CLI: `npx zapier-sdk run-action knack read deleted_record`

##### New Form Submission
Triggers when a form is submitted in a live app.

- Type: read · Key: `new_form_submission`
- Requires: view_key
- SDK: `runAction({ app: "knack", actionType: "read", action: "new_form_submission" })`
- CLI: `npx zapier-sdk run-action knack read new_form_submission`

##### New Record
Triggers when a new record is created in a live app.

- Type: read · Key: `new_record`
- Requires: object_key
- SDK: `runAction({ app: "knack", actionType: "read", action: "new_record" })`
- CLI: `npx zapier-sdk run-action knack read new_record`

##### Updated Record
Triggers when an existing record is updated in a live app.

- Type: read · Key: `updated_record`
- Requires: object_key
- SDK: `runAction({ app: "knack", actionType: "read", action: "updated_record" })`
- CLI: `npx zapier-sdk run-action knack read updated_record`

#### Functions (2)

Functions change something in Knack.

##### Create Record
Creates a new record to your Knack database.

- Type: write · Key: `create_record`
- Requires: object_key
- SDK: `runAction({ app: "knack", actionType: "write", action: "create_record" })`
- CLI: `npx zapier-sdk run-action knack write create_record`

##### Update Record
Updates a record in your Knack database.

- Type: write · Key: `update_record`
- Requires: object_key
- SDK: `runAction({ app: "knack", actionType: "write", action: "update_record" })`
- CLI: `npx zapier-sdk run-action knack write update_record`

#### Queries (1)

Queries read from Knack and return data. They change nothing.

##### Find Record
Finds a record in your Knack database.

- Type: search · Key: `find_record`
- Requires: object_key
- SDK: `runAction({ app: "knack", actionType: "search", action: "find_record" })`
- CLI: `npx zapier-sdk run-action knack search find_record`

## QuickBooks Online

### Identity
QuickBooks Online is the web version of the popular accounting packages QuickBooks. Use any Zapier integration to connect QuickBooks Online to hundreds of other apps.

- App slug: quickbooks
- Operations published here: 83 (29 events, 32 functions, 17 queries, 5 search-or-write actions)

### Authentication
Zapier connects to QuickBooks Online via oauth. Your code references a connection, not a raw credential.

- Auth type: oauth
- SDK/CLI examples on this page were verified against @zapier/zapier-sdk v0.112.6 and @zapier/zapier-sdk-cli v0.84.6; behavior may differ on other versions.
- Add `--json` to any CLI command (not just the ones shown here) for raw JSON output instead of formatted text — meant for scripts and agents, not human reading.
- Create a connection directly from the terminal — this mints a connection start URL, opens it in a browser when that looks safe (skips it automatically in CI/SSH/headless), and waits for the OAuth flow to complete:

```bash
npm install -D @zapier/zapier-sdk-cli
npx zapier-sdk login
npx zapier-sdk create-connection quickbooks
```

### Capabilities

#### Events (29)

Events fire when something happens in QuickBooks Online. Use them to start a run.

##### New Account
Triggers when you add a new account.

- Type: read · Key: `account_v2`
- Requires: nothing
- SDK: `runAction({ app: "quickbooks", actionType: "read", action: "account_v2" })`
- CLI: `npx zapier-sdk run-action quickbooks read account_v2`

##### New Bank Transaction
Triggers when a new bank transaction is created.

- Type: read · Key: `bank_transaction`
- Requires: nothing
- SDK: `runAction({ app: "quickbooks", actionType: "read", action: "bank_transaction" })`
- CLI: `npx zapier-sdk run-action quickbooks read bank_transaction`

##### New Bill
Triggers when a new bill is added.

- Type: read · Key: `bill_v2`
- Requires: nothing
- SDK: `runAction({ app: "quickbooks", actionType: "read", action: "bill_v2" })`
- CLI: `npx zapier-sdk run-action quickbooks read bill_v2`

##### New Customer
Triggers when you add a new customer.

- Type: read · Key: `customer_v2`
- Requires: nothing
- SDK: `runAction({ app: "quickbooks", actionType: "read", action: "customer_v2" })`
- CLI: `npx zapier-sdk run-action quickbooks read customer_v2`

##### Estimate Emailed
Triggers when an estimate is emailed.

- Type: read · Key: `estimate_emailed`
- Requires: nothing
- SDK: `runAction({ app: "quickbooks", actionType: "read", action: "estimate_emailed" })`
- CLI: `npx zapier-sdk run-action quickbooks read estimate_emailed`

##### New Estimate
Triggers when you add a new estimate.

- Type: read · Key: `estimate_v2`
- Requires: nothing
- SDK: `runAction({ app: "quickbooks", actionType: "read", action: "estimate_v2" })`
- CLI: `npx zapier-sdk run-action quickbooks read estimate_v2`

##### New Expense
Triggers when a new expense is added.

- Type: read · Key: `expense_v2`
- Requires: nothing
- SDK: `runAction({ app: "quickbooks", actionType: "read", action: "expense_v2" })`
- CLI: `npx zapier-sdk run-action quickbooks read expense_v2`

##### New Invoice Due
Triggers when an invoice becomes due within a specified number of days.

- Type: read · Key: `invoice_due`
- Requires: days
- SDK: `runAction({ app: "quickbooks", actionType: "read", action: "invoice_due" })`
- CLI: `npx zapier-sdk run-action quickbooks read invoice_due`

##### Invoice Emailed
Triggers when an invoice is emailed.

- Type: read · Key: `invoice_emailed`
- Requires: nothing
- SDK: `runAction({ app: "quickbooks", actionType: "read", action: "invoice_emailed" })`
- CLI: `npx zapier-sdk run-action quickbooks read invoice_emailed`

##### New Invoice
Triggers when you add a new invoice.

- Type: read · Key: `invoice_v2`
- Requires: nothing
- SDK: `runAction({ app: "quickbooks", actionType: "read", action: "invoice_v2" })`
- CLI: `npx zapier-sdk run-action quickbooks read invoice_v2`

##### New Bill Payment
Triggers when a new bill paid.

- Type: read · Key: `new_bill_payment`
- Requires: nothing
- SDK: `runAction({ app: "quickbooks", actionType: "read", action: "new_bill_payment" })`
- CLI: `npx zapier-sdk run-action quickbooks read new_bill_payment`

##### New Credit Memo
Triggers when a new credit memo is created.

- Type: read · Key: `new_credit_memo_v2`
- Requires: nothing
- SDK: `runAction({ app: "quickbooks", actionType: "read", action: "new_credit_memo_v2" })`
- CLI: `npx zapier-sdk run-action quickbooks read new_credit_memo_v2`

##### New Deposit
Triggers when a there is a new deposit.

- Type: read · Key: `new_deposit_v2`
- Requires: nothing
- SDK: `runAction({ app: "quickbooks", actionType: "read", action: "new_deposit_v2" })`
- CLI: `npx zapier-sdk run-action quickbooks read new_deposit_v2`

##### New Journal Entry
Triggers when a new journal entry is created.

- Type: read · Key: `new_journal_entry`
- Requires: nothing
- SDK: `runAction({ app: "quickbooks", actionType: "read", action: "new_journal_entry" })`
- CLI: `npx zapier-sdk run-action quickbooks read new_journal_entry`

##### New Paid Invoice
Triggers when the balance of an invoice becomes zero.

- Type: read · Key: `new_paid_invoice`
- Requires: nothing
- SDK: `runAction({ app: "quickbooks", actionType: "read", action: "new_paid_invoice" })`
- CLI: `npx zapier-sdk run-action quickbooks read new_paid_invoice`

##### New Product
Triggers when a new product is created.

- Type: read · Key: `new_product`
- Requires: nothing
- SDK: `runAction({ app: "quickbooks", actionType: "read", action: "new_product" })`
- CLI: `npx zapier-sdk run-action quickbooks read new_product`

##### New Project
Triggers when a new project is created.

- Type: read · Key: `new_project_v3`
- Requires: nothing
- SDK: `runAction({ app: "quickbooks", actionType: "read", action: "new_project_v3" })`
- CLI: `npx zapier-sdk run-action quickbooks read new_project_v3`

##### New Refund Receipt
Triggers when there is a new refund receipt.

- Type: read · Key: `new_refund_receipt`
- Requires: nothing
- SDK: `runAction({ app: "quickbooks", actionType: "read", action: "new_refund_receipt" })`
- CLI: `npx zapier-sdk run-action quickbooks read new_refund_receipt`

##### New Time Entry
Triggers when a new time entry is created.

- Type: read · Key: `new_time_entry`
- Requires: nothing
- SDK: `runAction({ app: "quickbooks", actionType: "read", action: "new_time_entry" })`
- CLI: `npx zapier-sdk run-action quickbooks read new_time_entry`

##### New Payment
Triggers when a payment is received (with line item support).

- Type: read · Key: `payment_v2`
- Requires: nothing
- SDK: `runAction({ app: "quickbooks", actionType: "read", action: "payment_v2" })`
- CLI: `npx zapier-sdk run-action quickbooks read payment_v2`

##### New Purchase Order
Triggers when a new purchase order is added.

- Type: read · Key: `purchase_order_v2`
- Requires: nothing
- SDK: `runAction({ app: "quickbooks", actionType: "read", action: "purchase_order_v2" })`
- CLI: `npx zapier-sdk run-action quickbooks read purchase_order_v2`

##### New Sales Receipt
Triggers when a new sales receipt is added.

- Type: read · Key: `sales_receipt_v2`
- Requires: nothing
- SDK: `runAction({ app: "quickbooks", actionType: "read", action: "sales_receipt_v2" })`
- CLI: `npx zapier-sdk run-action quickbooks read sales_receipt_v2`

##### New Supplier Credit
Triggers when a new supplier credit is created.

- Type: read · Key: `supplier_credit`
- Requires: nothing
- SDK: `runAction({ app: "quickbooks", actionType: "read", action: "supplier_credit" })`
- CLI: `npx zapier-sdk run-action quickbooks read supplier_credit`

##### Updated Bill
Triggers when a bill is updated.

- Type: read · Key: `updated_bill`
- Requires: nothing
- SDK: `runAction({ app: "quickbooks", actionType: "read", action: "updated_bill" })`
- CLI: `npx zapier-sdk run-action quickbooks read updated_bill`

##### Updated Credit Memo
Triggers when a credit memo is updated.

- Type: read · Key: `updated_credit_memo_v2`
- Requires: nothing
- SDK: `runAction({ app: "quickbooks", actionType: "read", action: "updated_credit_memo_v2" })`
- CLI: `npx zapier-sdk run-action quickbooks read updated_credit_memo_v2`

##### Updated Customer
Triggers when an existing customer is updated.

- Type: read · Key: `updated_customer_v2`
- Requires: nothing
- SDK: `runAction({ app: "quickbooks", actionType: "read", action: "updated_customer_v2" })`
- CLI: `npx zapier-sdk run-action quickbooks read updated_customer_v2`

##### Updated Estimate
Triggers when an existed estimate is updated.

- Type: read · Key: `updated_estimate_v2`
- Requires: nothing
- SDK: `runAction({ app: "quickbooks", actionType: "read", action: "updated_estimate_v2" })`
- CLI: `npx zapier-sdk run-action quickbooks read updated_estimate_v2`

##### Updated Invoice
Triggers when an invoice is updated.

- Type: read · Key: `updated_invoice_v2`
- Requires: nothing
- SDK: `runAction({ app: "quickbooks", actionType: "read", action: "updated_invoice_v2" })`
- CLI: `npx zapier-sdk run-action quickbooks read updated_invoice_v2`

##### New Vendor
Triggers when a new vendor is added.

- Type: read · Key: `vendor_v2`
- Requires: nothing
- SDK: `runAction({ app: "quickbooks", actionType: "read", action: "vendor_v2" })`
- CLI: `npx zapier-sdk run-action quickbooks read vendor_v2`

#### Functions (32)

Functions change something in QuickBooks Online.

##### Attach File(s) or Note
Attach a file or note to a QuickBooks record, or upload a standalone file without linking it to a record

- Type: write · Key: `attach`
- Requires: type
- SDK: `runAction({ app: "quickbooks", actionType: "write", action: "attach" })`
- CLI: `npx zapier-sdk run-action quickbooks write attach`

##### Create Bill (Item Based)
Create a new bill, optionally tied to a customer.

- Type: write · Key: `bill`
- Requires: vendor, amount
- Optional: number, line_item, line_description, qty, price, line_class, ap_account, customer, due_date, txn_date
- SDK: `runAction({ app: "quickbooks", actionType: "write", action: "bill" })`
- CLI: `npx zapier-sdk run-action quickbooks write bill`

##### Create Bill (Account Based)
Create a new bill, optionally tied to a customer (with line item support).

- Type: write · Key: `bill_account`
- Requires: vendor, amount, account
- Optional: terms, txn_date, due_date, number, department, currency, exchange_rate, global_tax_calculation, description, billable_status, customer, class, tax_code, ap_account, memo
- SDK: `runAction({ app: "quickbooks", actionType: "write", action: "bill_account" })`
- CLI: `npx zapier-sdk run-action quickbooks write bill_account`

##### Create Bill (Item Based)
Create a new bill, optionally tied to a customer (with line item support).

- Type: write · Key: `bill_v2`
- Requires: vendor, amount
- Optional: terms, txn_date, due_date, number, department, global_tax_calculation, line_item, line_description, qty, price, billable_status, customer, line_class, tax_code, ap_account, memo
- SDK: `runAction({ app: "quickbooks", actionType: "write", action: "bill_v2" })`
- CLI: `npx zapier-sdk run-action quickbooks write bill_v2`

##### Create Deposit
Creates a new deposit in QuickBooks.

- Type: write · Key: `create_deposit`
- Requires: DepositToAccountRef, line_items_Amount, line_items_AccountRef
- Optional: TxnDate, PrivateNote, CurrencyRef, ExchangeRate, GlobalTaxCalculation, DepartmentRef, TxnSource, TransactionLocationType, line_items_PaymentMethodRef, line_items_Description, line_items_TxnType, line_items_Entity, line_items_ClassRef, line_items_CheckNum, line_items_TaxCodeRef, line_items_TaxApplicableOn, CashBack_AccountRef, CashBack_Amount, CashBack_Memo
- SDK: `runAction({ app: "quickbooks", actionType: "write", action: "create_deposit" })`
- CLI: `npx zapier-sdk run-action quickbooks write create_deposit`

##### Create Employee
Creates a new employee.

- Type: write · Key: `create_employee_v0`
- Requires: GivenName, family_name
- Optional: PrimaryEmailAddr, MiddleName, PrimaryPhone, BirthDate, BillableTime, Active, ReleasedDate, CostRate, Mobile, Gender, HiredDate, Organization, Line1, Line2, Line3, Line4, Line5
- SDK: `runAction({ app: "quickbooks", actionType: "write", action: "create_employee_v0" })`
- CLI: `npx zapier-sdk run-action quickbooks write create_employee_v0`

##### Create Credit Memo
Creates a new credit memo.

- Type: write · Key: `credit_memo`
- Requires: customer, amount
- Optional: email, send_later, billing_address, credit_memo_date, credit_memo_number, isAutoGeneratedNumber, class, service_date, item, description, quantity, rate, line_tax, line_class, message_displayed_on_credit_memo, memo, apply_tax_after_discount, discount_value, discount_percent, tax_code, shipping
- SDK: `runAction({ app: "quickbooks", actionType: "write", action: "credit_memo" })`
- CLI: `npx zapier-sdk run-action quickbooks write credit_memo`

##### Create Customer
Adds a new customer.

- Type: write · Key: `customer`
- Requires: name
- Optional: display_name, title, given_name, middle_name, family_name, dbaname, email, phone, mobile, fax, alternate_phone, website, active, gst_registration_type, gstin, address__line1, address__line2, address__city, address__state_code, address__zip_code, address__country, shipping_address__line1, shipping_address__line2, shipping_address__city, shipping_address__state_code, shipping_address__zip_code, shipping_address__country, notes, currency, taxable, tax_code, tax_registration_number, resale_number, job_customer, bill_with_parent, preferred_payment_method, preferred_delivery_method, terms, customer_type
- SDK: `runAction({ app: "quickbooks", actionType: "write", action: "customer" })`
- CLI: `npx zapier-sdk run-action quickbooks write customer`

##### Create Estimate
Create a new estimate (with line item support).

- Type: write · Key: `estimate`
- Requires: customer, line_amount
- Optional: number, line_description, line_item_id, line_item_qty, line_item_tax_code, line_item_service_date, line_item_rate, tax_calculation, TxnDate, expiration_date, ShipDate, message, billing_address, BillAddr__City, BillAddr__Country, BillAddr__PostalCode, BillAddr__CountrySubDivisionCode, shipping_address, ShipAddr__City, ShipAddr__Country, ShipAddr__PostalCode, ShipAddr__CountrySubDivisionCode, shipping_amount, bill_email, send_later, discount_value, discount_percent, ClassRef, SalesTermRef, ShipMethodRef, TrackingNum, PrivateNote, TxnStatus, ApplyTaxAfterDiscount, PrintStatus, DepartmentRef
- SDK: `runAction({ app: "quickbooks", actionType: "write", action: "estimate" })`
- CLI: `npx zapier-sdk run-action quickbooks write estimate`

##### Create Expense
Creates a new expense using check, cash, or credit card.

- Type: write · Key: `expense`
- Requires: payee_type, payment_type, account
- Optional: date, payment_method, reference_number, print_later, account_details_account, account_details_description, account_details_amount, account_details_billable_status, account_details_tax_code, account_details_customer, account_details_class, item_details_item, item_details_description, item_details_quantity, item_details_unit_price, item_details_amount, item_details_billable_status, item_details_tax_code, item_details_customer, item_details_class, memo, tax_code, total_tax, tax_calculation, department, location, currency, exchange_rate
- SDK: `runAction({ app: "quickbooks", actionType: "write", action: "expense" })`
- CLI: `npx zapier-sdk run-action quickbooks write expense`

##### Create Product/Service
Creates a new product or service.

- Type: write · Key: `item`
- Requires: type, name
- Optional: description_on_sales_forms, sales_price, description_on_purchase_forms, cost, sku, category, is_taxable
- SDK: `runAction({ app: "quickbooks", actionType: "write", action: "item" })`
- CLI: `npx zapier-sdk run-action quickbooks write item`

##### Create Journal Entry
Creates a new journal entry.

- Type: write · Key: `journal_entry`
- Requires: debit_account, debit_amount, credit_account, credit_amount
- Optional: date, journal_number, auto_generate_journal_number, debit_description, debit_customer, debit_vendor, debit_employee, debit_department, debit_class, credit_description, credit_customer, credit_vendor, credit_employee, credit_department, credit_class, memo, currency, exchange_rate
- SDK: `runAction({ app: "quickbooks", actionType: "write", action: "journal_entry" })`
- CLI: `npx zapier-sdk run-action quickbooks write journal_entry`

##### Create Invoice
Adds a new invoice (with line item and bundle item support).

- Type: write · Key: `new_invoice_v4`
- Requires: customer
- Optional: info, billing_email, cc, bcc, send_later, billing_address, shipping_address, terms, txn_date, due_date, ship_via, shipping_date, tracking_number, number, isAutoGeneratedNumber, service_date, line_item_id, line_description, line_item_qty, line_item_price, helptext_line_amount, line_amount, line_item_tax_code, line_item_class, bundle_item, message, note, projectRef, allow_ach_payment, allow_credit_card_payment, tax_code, total_tax, tax_calculation, apply_tax_after_discount, discount_value, discount_percent, shipping_tax, shipping, deposit, depositToAccountRef, class, department, location, currency, exchange_rate
- SDK: `runAction({ app: "quickbooks", actionType: "write", action: "new_invoice_v4" })`
- CLI: `npx zapier-sdk run-action quickbooks write new_invoice_v4`

##### Create Sales Receipt
Adds a new sales receipt (with line item support).

- Type: write · Key: `new_sales_receipt`
- Requires: line_amount
- Optional: info, customer, customer_name, email, send_later, note, message, service_date, line_description, line_item_id, line_item_qty, line_item_price, line_item_tax_code, line_item_class, txn_date, total_discount, payment_method, payment_number, deposit_account, sales_receipt_number, isAutoGeneratedNumber, address__line1, address__line2, address__city, address__state_code, address__zip_code, address__country, shipping_address__line1, shipping_address__line2, shipping_address__city, shipping_address__state_code, shipping_address__zip_code, shipping_address__country, currency, exchange_rate, class, tax_code, total_tax, tax_calculation, shipping_tax, shipping, department
- SDK: `runAction({ app: "quickbooks", actionType: "write", action: "new_sales_receipt" })`
- CLI: `npx zapier-sdk run-action quickbooks write new_sales_receipt`

##### Create Payment
Creates a new payment, optionally linked to an invoice.

- Type: write · Key: `payment`
- Requires: customer, total_amount
- Optional: unapplied_amount, txn_date, reference_currency, payment_method, payment_number, deposit_account, line_amount, line_invoice_id, note
- SDK: `runAction({ app: "quickbooks", actionType: "write", action: "payment" })`
- CLI: `npx zapier-sdk run-action quickbooks write payment`

##### Create Purchase Order
Creates a new purchase order.

- Type: write · Key: `purchase_order`
- Requires: vendor, item_details_item, item_details_quantity, item_details_amount
- Optional: status, mailing_address, shipping_address, date, ship_method, doc_number, po_email, account_details_account, account_details_description, account_details_amount, account_details_customer, account_details_class, item_details_description, item_details_unit_price, item_details_customer, item_details_class, memo, private_note
- SDK: `runAction({ app: "quickbooks", actionType: "write", action: "purchase_order" })`
- CLI: `npx zapier-sdk run-action quickbooks write purchase_order`

##### Create Refund Receipt
Creates a new refund receipt.

- Type: write · Key: `refund_receipt`
- Requires: refund_from, item, amount
- Optional: customer, email, billing_address, refund_receipt_date, refund_receipt_number, transaction_class, payment_method, check_number, print_later, service_date, description, quantity, rate, line_tax, class, message_displayed_on_refund_receipt, memo, apply_tax_after_discount, discount_value, discount_percent, tax_code, shipping
- SDK: `runAction({ app: "quickbooks", actionType: "write", action: "refund_receipt" })`
- CLI: `npx zapier-sdk run-action quickbooks write refund_receipt`

##### Send Estimate
Sends an estimate.

- Type: write · Key: `send_estimate`
- Requires: id
- SDK: `runAction({ app: "quickbooks", actionType: "write", action: "send_estimate" })`
- CLI: `npx zapier-sdk run-action quickbooks write send_estimate`

##### Send Invoice
Send an existing invoice.

- Type: write · Key: `send_invoice`
- Requires: invoice
- Optional: info, email
- SDK: `runAction({ app: "quickbooks", actionType: "write", action: "send_invoice" })`
- CLI: `npx zapier-sdk run-action quickbooks write send_invoice`

##### Send Sales Receipt
Send an existing sales receipt.

- Type: write · Key: `send_sales_receipt`
- Requires: sales_receipt
- Optional: email
- SDK: `runAction({ app: "quickbooks", actionType: "write", action: "send_sales_receipt" })`
- CLI: `npx zapier-sdk run-action quickbooks write send_sales_receipt`

##### Create Time Activity
Creates a new single time activity.

- Type: write · Key: `time_activity`
- Requires: name_type
- SDK: `runAction({ app: "quickbooks", actionType: "write", action: "time_activity" })`
- CLI: `npx zapier-sdk run-action quickbooks write time_activity`

##### Update Bill
Updates an existing bill.

- Type: write · Key: `update_bill`
- Requires: billId
- Optional: VendorRef, APAccountRef, TxnDate, DueDate, Id, Amount, Description, AccountBasedExpenseLineDetail__AccountRef, AccountBasedExpenseLineDetail__CustomerRef, AccountBasedExpenseLineDetail__ClassRef, AccountBasedExpenseLineDetail__TaxCodeRef, AccountBasedExpenseLineDetail__BillableStatus, CurrencyRef, ExchangeRate, PrivateNote, GlobalTaxCalculation, TotalAmt, SalesTermRef, DepartmentRef, DocNumber, IncludeInAnnualTPAR
- SDK: `runAction({ app: "quickbooks", actionType: "write", action: "update_bill" })`
- CLI: `npx zapier-sdk run-action quickbooks write update_bill`

##### Update Customer
Updates an existing customer.

- Type: write · Key: `update_customer`
- Requires: customer_id
- Optional: company_name, primary_email_addr, title, given_name, middle_name, family_name, suffix, display_name, primary_phone, mobile, fax, alternate_phone, website, print_on_check_as, notes, billing_address_street, billing_address_city, billing_address_state, billing_address_zip, billing_address_country, shipping_address_street, shipping_address_city, shipping_address_state, shipping_address_zip, shipping_address_country, exemption_details, job_customer, bill_with_parent, active, customer_type, preferred_payment_method, taxable, tax_code, tax_registration_number, currency
- SDK: `runAction({ app: "quickbooks", actionType: "write", action: "update_customer" })`
- CLI: `npx zapier-sdk run-action quickbooks write update_customer`

##### Update Estimate
Updates an existing estimate.

- Type: write · Key: `update_estimate`
- Requires: estimateId
- Optional: CustomerRef, TxnDate, ShipDate, DetailType, Amount, Description, SalesItemLineDetail__ItemRef, SalesItemLineDetail__UnitPrice, SalesItemLineDetail__Qty, SalesItemLineDetail__TaxCodeRef, DiscountLineDetail__DiscountPercent, PrintStatus, EmailStatus, ShipAddr__Line1, ShipAddr__Line2, ShipAddr__City, ShipAddr__CountrySubDivisionCode, ShipAddr__PostalCode, ShipAddr__Country, BillAddr__Line1, BillAddr__Line2, BillAddr__City, BillAddr__CountrySubDivisionCode, BillAddr__PostalCode, BillAddr__Country, ClassRef, SalesTermRef, ShipMethodRef, TrackingNum, DocNumber, AcceptedBy, AcceptedDate, ExchangeRate, DepartmentRef, ApplyTaxAfterDiscount, PrivateNote, CustomerMemo, ExpirationDate, TxnStatus
- SDK: `runAction({ app: "quickbooks", actionType: "write", action: "update_estimate" })`
- CLI: `npx zapier-sdk run-action quickbooks write update_estimate`

##### Update Invoice
Updates an existing invoice (with line item support).

- Type: write · Key: `update_invoice`
- Requires: invoice
- Optional: customer, billing_email, cc, bcc, send_later, billing_address, shipping_address, terms, txn_date, due_date, ship_via, shipping_date, tracking_number, number, isAutoGeneratedNumber, service_date, line_item_id, line_description, line_item_qty, line_item_price, line_amount, line_item_tax_code, line_item_class, message, note, allow_ach_payment, allow_credit_card_payment, tax_code, total_tax, tax_calculation, apply_tax_after_discount, discount_value, discount_percent, shipping_tax, shipping, deposit, class, department, location, currency
- SDK: `runAction({ app: "quickbooks", actionType: "write", action: "update_invoice" })`
- CLI: `npx zapier-sdk run-action quickbooks write update_invoice`

##### Update Product
Updates an existing product.

- Type: write · Key: `update_item`
- Requires: item
- Optional: Name, Type, Sku, SalesTaxIncluded, salesTaxCodeRef, classRef, Source, PurchaseTaxIncluded, Description, SubItem, Taxable, PurchaseDesc, Active, PurchaseCost, UnitPrice
- SDK: `runAction({ app: "quickbooks", actionType: "write", action: "update_item" })`
- CLI: `npx zapier-sdk run-action quickbooks write update_item`

##### Update Purchase (Expense)
Updates an existing purchase/expense transaction.

- Type: write · Key: `update_purchase`
- Requires: purchaseId, PaymentType, DetailType
- Optional: EntityRef, AccountRef, TxnDate, PaymentMethodRef, DocNumber, PrivateNote, TotalAmt, DepartmentRef, TransactionLocationType, CurrencyRef, ExchangeRate, GlobalTaxCalculation, TxnTaxDetail__TxnTaxCodeRef, TxnTaxDetail__TotalTax
- SDK: `runAction({ app: "quickbooks", actionType: "write", action: "update_purchase" })`
- CLI: `npx zapier-sdk run-action quickbooks write update_purchase`

##### Update Sales Receipt
Updates an existing sales receipt.

- Type: write · Key: `update_sales_receipt`
- Requires: salesReceiptId
- Optional: CustomerRef, TxnDate, ShipDate, info, DetailType, Amount, Description, SalesItemLineDetail__ItemRef, SalesItemLineDetail__UnitPrice, SalesItemLineDetail__Qty, DiscountLineDetail__DiscountPercent, TotalAmt, PrintStatus, EmailStatus, PaymentRefNum, DepositToAccountRef, PaymentMethodRef, ShipAddr__Line1, ShipAddr__Line2, ShipAddr__City, ShipAddr__CountrySubDivisionCode, ShipAddr__PostalCode, ShipAddr__Country, BillAddr__Line1, BillAddr__Line2, BillAddr__City, BillAddr__CountrySubDivisionCode, BillAddr__PostalCode, BillAddr__Country, TrackingNum, ClassRef, DepartmentRef, PrivateNote, CustomerMemo
- SDK: `runAction({ app: "quickbooks", actionType: "write", action: "update_sales_receipt" })`
- CLI: `npx zapier-sdk run-action quickbooks write update_sales_receipt`

##### Update Vendor
Updates an existing vendor.

- Type: write · Key: `update_vendor`
- Requires: id
- Optional: title, given_name, middle_name, suffix, family_name, primary_email_addr, display_name, fax, business_number, currency_value, currency_name, mobile_phone_number, primary_phone_number, alternate_phone_number, active, vendor1099, cost_rate, bill_rate, web_addr, company_name, tax_identifier, acct_num, print_on_check_name, address__line1, address__line2, address__city, address__state_code, address__country, address__zip_code, balance
- SDK: `runAction({ app: "quickbooks", actionType: "write", action: "update_vendor" })`
- CLI: `npx zapier-sdk run-action quickbooks write update_vendor`

##### Create Vendor
Adds a new vendor.

- Type: write · Key: `vendor`
- Requires: name
- Optional: phone, email, website, address__line1, address__line2, address__city, address__state_code, address__zip_code, company__name, vendor__1099
- SDK: `runAction({ app: "quickbooks", actionType: "write", action: "vendor" })`
- CLI: `npx zapier-sdk run-action quickbooks write vendor`

##### Create Vendor Credit
Creates a new vendor credit.

- Type: write · Key: `vendor_credit`
- Requires: vendor
- Optional: txn_date, doc_number, currency, exchange_rate, location, department, tax_calculation, memo, account_details_account, account_details_description, account_details_amount, account_details_billable_status, account_details_tax_code, account_details_customer, account_details_class, item_details_item, item_details_description, item_details_quantity, item_details_unit_price, item_details_amount, item_details_billable_status, item_details_tax_code, item_details_customer, item_details_class
- SDK: `runAction({ app: "quickbooks", actionType: "write", action: "vendor_credit" })`
- CLI: `npx zapier-sdk run-action quickbooks write vendor_credit`

##### Void Invoice
Void an invoice.

- Type: write · Key: `void_invoice`
- Requires: nothing
- Optional: invoiceId
- SDK: `runAction({ app: "quickbooks", actionType: "write", action: "void_invoice" })`
- CLI: `npx zapier-sdk run-action quickbooks write void_invoice`

#### Queries (17)

Queries read from QuickBooks Online and return data. They change nothing.

##### Find Account
Find an account by name.

- Type: search · Key: `account`
- Requires: name
- SDK: `runAction({ app: "quickbooks", actionType: "search", action: "account" })`
- CLI: `npx zapier-sdk run-action quickbooks search account`

##### Get Attachments
Get attachments from a record.

- Type: search · Key: `attachments`
- Requires: type, Id
- SDK: `runAction({ app: "quickbooks", actionType: "search", action: "attachments" })`
- CLI: `npx zapier-sdk run-action quickbooks search attachments`

##### Find Customer
Find a customer by name or email address.

- Type: search · Key: `customer_v2`
- Requires: search_field, search_value
- SDK: `runAction({ app: "quickbooks", actionType: "search", action: "customer_v2" })`
- CLI: `npx zapier-sdk run-action quickbooks search customer_v2`

##### Find Estimate
Finds an estimate.

- Type: search · Key: `estimate`
- Requires: nothing
- Optional: id, docNumber, customerName, txnDate, totalAmt
- SDK: `runAction({ app: "quickbooks", actionType: "search", action: "estimate" })`
- CLI: `npx zapier-sdk run-action quickbooks search estimate`

##### Find Bill Payment
Finds a bill payment by ID or document number.

- Type: search · Key: `find_bill_payment`
- Requires: nothing
- Optional: info, billPaymentId, docNumber
- SDK: `runAction({ app: "quickbooks", actionType: "search", action: "find_bill_payment" })`
- CLI: `npx zapier-sdk run-action quickbooks search find_bill_payment`

##### Find Class
Finds a class based on name or ID.

- Type: search · Key: `find_class_v0`
- Requires: nothing
- Optional: info, id, name
- SDK: `runAction({ app: "quickbooks", actionType: "search", action: "find_class_v0" })`
- CLI: `npx zapier-sdk run-action quickbooks search find_class_v0`

##### Find Customer by Query
Finds customers using custom SQL-like WHERE clause syntax for advanced querying.

- Type: search · Key: `find_customer_by_query`
- Requires: where_clause
- SDK: `runAction({ app: "quickbooks", actionType: "search", action: "find_customer_by_query" })`
- CLI: `npx zapier-sdk run-action quickbooks search find_customer_by_query`

##### Find Employee
Finds an employee based on display name or ID.

- Type: search · Key: `find_employee_v0`
- Requires: nothing
- Optional: info, id, displayName
- SDK: `runAction({ app: "quickbooks", actionType: "search", action: "find_employee_v0" })`
- CLI: `npx zapier-sdk run-action quickbooks search find_employee_v0`

##### Find Payment Method
Finds a payment method by name.

- Type: search · Key: `find_payment_method`
- Requires: name
- SDK: `runAction({ app: "quickbooks", actionType: "search", action: "find_payment_method" })`
- CLI: `npx zapier-sdk run-action quickbooks search find_payment_method`

##### Find Payment
Finds a payment based on Id.

- Type: search · Key: `find_payment_v0`
- Requires: id
- SDK: `runAction({ app: "quickbooks", actionType: "search", action: "find_payment_v0" })`
- CLI: `npx zapier-sdk run-action quickbooks search find_payment_v0`

##### Find Products
Find products by names (with line item support)

- Type: search · Key: `find_products`
- Requires: nothing
- Optional: info, name, sku
- SDK: `runAction({ app: "quickbooks", actionType: "search", action: "find_products" })`
- CLI: `npx zapier-sdk run-action quickbooks search find_products`

##### Find Purchase (Expense)
Find a purchase/expense transaction by various criteria such as vendor, date, amount, or document number.

- Type: search · Key: `find_purchase_expense`
- Requires: nothing
- Optional: info, purchaseId, docNumber, vendorId, vendorName, transactionDate, amount, paymentType
- SDK: `runAction({ app: "quickbooks", actionType: "search", action: "find_purchase_expense" })`
- CLI: `npx zapier-sdk run-action quickbooks search find_purchase_expense`

##### Find Purchase Order
Finds a purchase order by ID or document number.

- Type: search · Key: `find_purchase_order`
- Requires: nothing
- Optional: info, purchaseOrderId, docNumber
- SDK: `runAction({ app: "quickbooks", actionType: "search", action: "find_purchase_order" })`
- CLI: `npx zapier-sdk run-action quickbooks search find_purchase_order`

##### Find Sales Receipt
Finds a sales receipt by ID, Customer Name or Sales Receipt Number.

- Type: search · Key: `find_sales_receipt_v2`
- Requires: search_by
- SDK: `runAction({ app: "quickbooks", actionType: "search", action: "find_sales_receipt_v2" })`
- CLI: `npx zapier-sdk run-action quickbooks search find_sales_receipt_v2`

##### Find Invoice
Find an invoice using either Invoice Number, Invoice ID or Invoice Date or Due Date.

- Type: search · Key: `invoice`
- Requires: nothing
- Optional: info, number, invoiceId, invoiceDate, dueDate
- SDK: `runAction({ app: "quickbooks", actionType: "search", action: "invoice" })`
- CLI: `npx zapier-sdk run-action quickbooks search invoice`

##### Find Product
Find a product by name or sku

- Type: search · Key: `product`
- Requires: nothing
- Optional: info, name, sku
- SDK: `runAction({ app: "quickbooks", actionType: "search", action: "product" })`
- CLI: `npx zapier-sdk run-action quickbooks search product`

##### Find Vendor
Find a vendor by name.

- Type: search · Key: `vendor`
- Requires: name
- SDK: `runAction({ app: "quickbooks", actionType: "search", action: "vendor" })`
- CLI: `npx zapier-sdk run-action quickbooks search vendor`

#### Search or Write Actions (5)

These operations search for a match first, and create one only if nothing is found.

##### Find or Create Customer
Finds or creates a specific customer v2.

- Type: search_or_write · Key: `customer_v2`
- Requires: search_field, search_value, name
- Optional: display_name, title, given_name, middle_name, family_name, dbaname, email, phone, mobile, fax, alternate_phone, website, active, gst_registration_type, gstin, address__line1, address__line2, address__city, address__state_code, address__zip_code, address__country, shipping_address__line1, shipping_address__line2, shipping_address__city, shipping_address__state_code, shipping_address__zip_code, shipping_address__country, notes, currency, taxable, tax_code, tax_registration_number, resale_number, job_customer, bill_with_parent, preferred_payment_method, preferred_delivery_method, terms, customer_type
- SDK: `runAction({ app: "quickbooks", actionType: "search_or_write", action: "customer_v2" })`
- CLI: `npx zapier-sdk run-action quickbooks search_or_write customer_v2`

##### Find or Create Employee
Finds or creates a specific employee.

- Type: search_or_write · Key: `find_employee_v0`
- Requires: GivenName, family_name
- Optional: info, id, displayName, PrimaryEmailAddr, MiddleName, PrimaryPhone, BirthDate, BillableTime, Active, ReleasedDate, CostRate, Mobile, Gender, HiredDate, Organization, Line1, Line2, Line3, Line4, Line5
- SDK: `runAction({ app: "quickbooks", actionType: "search_or_write", action: "find_employee_v0" })`
- CLI: `npx zapier-sdk run-action quickbooks search_or_write find_employee_v0`

##### Find or Create Sales Receipt
Finds or creates a specific sales receipt.

- Type: search_or_write · Key: `find_sales_receipt_v2`
- Requires: search_by, line_amount
- Optional: info, customer, customer_name, email, send_later, note, message, service_date, line_description, line_item_id, line_item_qty, line_item_price, line_item_tax_code, line_item_class, txn_date, total_discount, payment_method, payment_number, deposit_account, sales_receipt_number, isAutoGeneratedNumber, address__line1, address__line2, address__city, address__state_code, address__zip_code, address__country, shipping_address__line1, shipping_address__line2, shipping_address__city, shipping_address__state_code, shipping_address__zip_code, shipping_address__country, currency, exchange_rate, class, tax_code, total_tax, tax_calculation, shipping_tax, shipping, department
- SDK: `runAction({ app: "quickbooks", actionType: "search_or_write", action: "find_sales_receipt_v2" })`
- CLI: `npx zapier-sdk run-action quickbooks search_or_write find_sales_receipt_v2`

##### Find or Create Product
Finds or creates a specific product.

- Type: search_or_write · Key: `product`
- Requires: name, type
- Optional: info, sku, description_on_sales_forms, sales_price, description_on_purchase_forms, cost, category, is_taxable
- SDK: `runAction({ app: "quickbooks", actionType: "search_or_write", action: "product" })`
- CLI: `npx zapier-sdk run-action quickbooks search_or_write product`

##### Find or Create Vendor
Finds or creates a specific vendor.

- Type: search_or_write · Key: `vendor`
- Requires: name
- Optional: phone, email, website, address__line1, address__line2, address__city, address__state_code, address__zip_code, company__name, vendor__1099
- SDK: `runAction({ app: "quickbooks", actionType: "search_or_write", action: "vendor" })`
- CLI: `npx zapier-sdk run-action quickbooks search_or_write vendor`

## Frequently asked questions about automating with Knack and QuickBooks Online

### How can I integrate Knack with QuickBooks Online?

You can integrate Knack with QuickBooks Online using our platform by setting up specific triggers and actions. For example, when a new record is created in Knack, it can trigger an action in QuickBooks to create a new invoice.

### What kinds of triggers can I set up between Knack and QuickBooks Online?

The integration supports various triggers such as when a new record is created or updated in Knack, it can prompt actions like creating or updating a customer profile in QuickBook Online.

### Can I automatically create invoices in QuickBooks from Knack data?

Yes, through the integration, you can set up an action where adding a new sales record in Knack automatically creates a corresponding invoice in your QuickBooks Online account.

### Is it possible to update records in Knack based on financial transactions recorded in QuickBooks Online?

Absolutely. You can set triggers for financial transactions in QuickBooks that update or create new records in your Knack database.

### What actions are possible when integrating these two applications?

Possible actions include creating or updating customers, invoices, and sales receipts in QuickBooks from data changes within Knack. Similarly, updates or creations of transactions like expenses and purchase orders can reflect back into your database with ease.

### How often does the integration sync data between Knack and QuickBooks Online?

Data sync frequency is determined by the settings you configure. You may choose real-time syncing through instantaneous triggers and actions, or select scheduled intervals based on your business requirements.

### Are there any limitations I should be aware of when integrating these platforms?

There are some limitations to consider such as API call limits by both applications and specific restrictions on which data fields are supported for triggers and actions. It's important to review these points during setup.

### My AI agent already connects to my apps. Why add Zapier?

Your AI agent’s built-in or native connectors cover a limited set of popular apps. Zapier reaches 10,000+ apps and 90,000+ triggers and actions. Zapier also adds what your AI agent can’t: one place to manage logins and credentials, so you never paste an API key; automations that keep running after the chat closes, with fixes you can review when a run hits a snag; and the freedom to switch agent interfaces without starting over.

### Can’t my AI agent already run tasks on a schedule?

Most popular AI agents can run scheduled tasks. And for simple recurring jobs, that might be all you need. Automations that run on Zapier can run on a schedule too, but they can also start the moment something happens in your apps—like when a new lead/ticket comes in or you get an email reply. Zapier also uses AI only in the steps that need judgment, so routine steps like posting to Slack or updating Salesforce don’t burn model tokens.

### Why not have my AI agent write me a script?

You can, and the first version will probably work. The trouble comes later: a script needs somewhere to run, a way to hear about events, and someone to keep it going. If an API changes or a login expires, your script can quietly stop until you notice. It also holds your keys, often in a repo, where a leak can expose your accounts. With Zapier, your agent builds the automation, and you publish it. Zapier hosts it, handles your logins and credentials, and records every run. If a run fails, Zapier diagnoses what went wrong and prepares a fix you can review. Or you can decide which fixes Zapier can apply for you.

## Links
- Knack integrations: zapier.com/apps/knack/integrations.md
- QuickBooks Online integrations: zapier.com/apps/quickbooks/integrations.md
- Full page: zapier.com/apps/knack/integrations/quickbooks
- SDK: npmjs.com/package/@zapier/zapier-sdk