# Square Quickbooks Integration | Connect for Free | Zapier
> zapier.com/apps/quickbooks/integrations/square
> Surface: zapier.com | Root map: zapier.com/llms.txt#integrations

Integrate Square and Quickbooks with no code needed. Create records and invoices in Quickbooks from new Square payments. No credit card required.

## 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 · add_customer_to_group`.
- **SDK**:

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

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

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

- **CLI**:

```bash
npx zapier-sdk run-action square write add_customer_to_group \
  --inputs '{}'
```

## 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`

## Square

### Identity
Square creates tools that help sellers of all sizes start, run and grow their businesses. Square’s point-of-sale service offers tools for every part of running a business, from accepting credit cards and tracking inventory to real-time analytics and invoicing.

- App slug: square
- Operations published here: 24 (6 events, 12 functions, 4 queries, 2 search-or-write actions)

### Authentication
Zapier connects to Square 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 square
```

### Capabilities

#### Events (6)

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

##### New Appointment
Triggers when a new appointment is created.

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

##### New Catalog Item
Triggers when a new catalog item is created.

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

##### New Customer
Triggers when a new customer is created.

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

##### New Invoice
Triggers when a new invoice is added.

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

##### New Order
Triggers when a new order is processed.

- Type: read · Key: `order`
- Requires: location_id
- Optional: order_state
- SDK: `runAction({ app: "square", actionType: "read", action: "order" })`
- CLI: `npx zapier-sdk run-action square read order`

##### New Payment
Triggers when a new payment is created.

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

#### Functions (12)

Functions change something in Square.

##### Add Customer to Group
Adds a customer to a group.

- Type: write · Key: `add_customer_to_group`
- Requires: customer, group
- SDK: `runAction({ app: "square", actionType: "write", action: "add_customer_to_group" })`
- CLI: `npx zapier-sdk run-action square write add_customer_to_group`

##### Create Appointment
Creates a new appointment.

- Type: write · Key: `appointment`
- Requires: location_id, team_member_id, customer_id, start_at, service_variation_id
- Optional: customer_note
- SDK: `runAction({ app: "square", actionType: "write", action: "appointment" })`
- CLI: `npx zapier-sdk run-action square write appointment`

##### Change Inventory
Adjusts an inventory or changes its physical count.

- Type: write · Key: `change_inventory`
- Requires: type, location_id, catalog_object_id, quantity
- Optional: ignore_unchanged_counts
- SDK: `runAction({ app: "square", actionType: "write", action: "change_inventory" })`
- CLI: `npx zapier-sdk run-action square write change_inventory`

##### Create Customer
Creates a customer.

- Type: write · Key: `customer`
- Requires: nothing
- Optional: given_name, family_name, email_address, phone_number, country, address_line_1, address_line_2, locality, administrative_district_level_1, postal_code, note, company_name, nickname, reference_id
- SDK: `runAction({ app: "square", actionType: "write", action: "customer" })`
- CLI: `npx zapier-sdk run-action square write customer`

##### Create Invoice
Creates a new draft invoice for an order.

- Type: write · Key: `invoice`
- Requires: location_id, order_id, customer_id, accepted_payment_methods, due_date, delivery_method
- Optional: tipping_enabled, title, invoice_number, description, scheduled_at, sale_or_service_date
- SDK: `runAction({ app: "square", actionType: "write", action: "invoice" })`
- CLI: `npx zapier-sdk run-action square write invoice`

##### Create Paid Order
Creates an externally paid and completed order.

- Type: write · Key: `paidOrder`
- Requires: location_id, payment_type, quantity, base_price_amount, base_price_currency
- Optional: customer_id, reference_id, buyer_email_address, payment_note, base_name, catalog_object_id, pickup, display_name, carrier, expected_shipped_at, shipping_note, fulfillment_email_address, phone_number, address_line_1, address_line_2, administrative_district_level_1, administrative_district_level_2, country, locality, postal_code, discount_type, discount_name, discount_percentage, discount_amount, discount_currency, tax_name, tax_percentage, tax_type
- SDK: `runAction({ app: "square", actionType: "write", action: "paidOrder" })`
- CLI: `npx zapier-sdk run-action square write paidOrder`

##### Refund Payment
Refunds a completed payment.

- Type: write · Key: `refund_payment`
- Requires: payment_id
- Optional: amount, reason, team_member_id
- SDK: `runAction({ app: "square", actionType: "write", action: "refund_payment" })`
- CLI: `npx zapier-sdk run-action square write refund_payment`

##### Remove Customer From Group
Removes a customer from a group.

- Type: write · Key: `remove_customer_from_group`
- Requires: customer, group
- SDK: `runAction({ app: "square", actionType: "write", action: "remove_customer_from_group" })`
- CLI: `npx zapier-sdk run-action square write remove_customer_from_group`

##### Send Invoice
Sends an existing draft invoice.

- Type: write · Key: `send_invoice`
- Requires: location_id
- Optional: help_text
- SDK: `runAction({ app: "square", actionType: "write", action: "send_invoice" })`
- CLI: `npx zapier-sdk run-action square write send_invoice`

##### Set Customer Custom Attribute
Sets or updates a custom attribute value for a customer.

- Type: write · Key: `set_customer_custom_attribute`
- Requires: customer_id, key, value
- Optional: idempotency_key
- SDK: `runAction({ app: "square", actionType: "write", action: "set_customer_custom_attribute" })`
- CLI: `npx zapier-sdk run-action square write set_customer_custom_attribute`

##### Update Customer
Updates a customer.

- Type: write · Key: `update_customer`
- Requires: customer_id
- Optional: given_name, family_name, email_address, phone_number, country, address_line_1, address_line_2, locality, administrative_district_level_1, postal_code, note, company_name, nickname, reference_id, birthday
- SDK: `runAction({ app: "square", actionType: "write", action: "update_customer" })`
- CLI: `npx zapier-sdk run-action square write update_customer`

##### Find Order by ID
This action retrieves the details of a specific order from Square using the order ID.

- Type: write · Key: `ae:45165`
- Requires: nothing
- SDK: `runAction({ app: "square", actionType: "write", action: "ae:45165" })`
- CLI: `npx zapier-sdk run-action square write ae:45165`

#### Queries (4)

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

##### Find Customer
Finds a customer based on email, phone number, or reference ID.

- Type: search · Key: `customer`
- Requires: nothing
- Optional: field_help, email_address, phone_number, reference_id
- SDK: `runAction({ app: "square", actionType: "search", action: "customer" })`
- CLI: `npx zapier-sdk run-action square search customer`

##### Find Customer by ID
Finds a customer based on their unique Square ID.

- Type: search · Key: `customer_by_id`
- Requires: nothing
- Optional: customer_id
- SDK: `runAction({ app: "square", actionType: "search", action: "customer_by_id" })`
- CLI: `npx zapier-sdk run-action square search customer_by_id`

##### Find Service
Finds a service.

- Type: search · Key: `find_appointment_services`
- Requires: nothing
- Optional: field_help, text_filter, location_id
- SDK: `runAction({ app: "square", actionType: "search", action: "find_appointment_services" })`
- CLI: `npx zapier-sdk run-action square search find_appointment_services`

##### Find Order
Finds an order based on customer, fulfillment status, or order state.

- Type: search · Key: `order`
- Requires: location_id
- Optional: field_help, customer, fulfillment_state, state
- SDK: `runAction({ app: "square", actionType: "search", action: "order" })`
- CLI: `npx zapier-sdk run-action square search order`

#### Search or Write Actions (2)

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

##### Find Customer
Find a customer. Optionally, create one if none are found.

- Type: search_or_write · Key: `customer`
- Requires: nothing
- Optional: field_help, email_address, phone_number, reference_id, given_name, family_name, country, address_line_1, address_line_2, locality, administrative_district_level_1, postal_code, note, company_name, nickname
- SDK: `runAction({ app: "square", actionType: "search_or_write", action: "customer" })`
- CLI: `npx zapier-sdk run-action square search_or_write customer`

##### Find Order
Find an order. Optionally, create one if none are found.

- Type: search_or_write · Key: `order`
- Requires: location_id
- Optional: field_help, customer, fulfillment_state, state, customer_id, reference_id, source, ticket_name, quantity, base_price_amount, base_price_currency, catalog_object_id, note, item_uid, discount_amount, amount_currency, discount_name, discount_percentage, discount_type, discount_uid, tax_name, tax_percentage, tax_type, tax_uid
- SDK: `runAction({ app: "square", actionType: "search_or_write", action: "order" })`
- CLI: `npx zapier-sdk run-action square search_or_write order`

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

### How can I connect QuickBooks Online with Square?

You can connect QuickBooks Online with Square through integrations that allow data transfer. Once connected, sales transactions from Square can be automatically recorded into your QuickBooks account, saving you time and reducing manual errors.

### What kind of data can be synced between QuickBooks Online and Square?

Typically, sales transactions, including customer information, item details, taxes, discounts, and payment methods, can be synced from Square to QuickBooks Online. This ensures that your accounting records are up-to-date with the real-time sales data from your point of sale system.

### Do I need any special permissions to integrate QuickBooks Online with Square?

Yes, you will need admin access to both your QuickBooks Online account and your Square account to authorize the integration. This ensures that our platform securely accesses and transfers the necessary data between the two services.

### How often is data synchronized between QuickBooks Online and Square?

By default, data synchronization occurs daily. However, you can adjust the frequency of syncs depending on your business needs. Real-time updates are also available if required for more immediate recording of transactions.

### What triggers are available when integrating QuickBooks Online with Square?

Available triggers typically include new transactions in Square or updates to existing transaction records. These triggers initiate actions such as creating a new invoice or updating inventory levels in QuickBooks Online.

### What actions can be performed in QuickBooks Online when a sale is made on Square?

When a sale occurs in Square, actions like creating a new sales receipt or invoice in QuickBooks Online can be automatically performed. Inventory levels may also be updated based on the items sold during the transaction.

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

Some limitations may include restrictions on multi-currency transactions or partial refunds not being fully supported in automatic sync processes. It's important to review these details before fully relying on automated systems for financial reporting.

### 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
- QuickBooks Online integrations: zapier.com/apps/quickbooks/integrations.md
- Square integrations: zapier.com/apps/square/integrations.md
- Full page: zapier.com/apps/quickbooks/integrations/square
- SDK: npmjs.com/package/@zapier/zapier-sdk