QuickBooks Sandbox: Create Purchase logo

Catalog action Integrations pipedream:quickbooks_sandbox

Creates a purchase transaction in QuickBooks Sandbox to record expenses (testing). Supports Cash, Check, and CreditCard payment types. Records expenses with account references, line items, and amounts. Ideal for: automated bookkeeping, expense tracking, contractor payments, transaction logs.

At a Glance

FieldValue
Action IDquickbooks-sandbox-create-purchase
CategoryIntegrations
Connectorpipedream:quickbooks_sandbox
Requires gasNo
Funds movementNone declared
Tagspipedream, integration, oauth, quickbooks, accounting, bookkeeping, expense, finance, tracking, sandbox, testing

Payload Schema

FieldTypeRequiredDescription
accountIdstringYesQuickBooks account ID (bank account for Check, credit card for CreditCard payment type)
accountNamestringNoOptional: Account name for the payment account (e.g., 'Checking Account'). Helps with debugging.
paymentTypestringYesPayment type for the purchase
expenseAccountIdstringNoQuickBooks expense account ID where this expense should be categorized (e.g., '80' for Expenses account). If not provided, uses the payment accountId.
expenseAccountNamestringNoOptional: Name for the expense account (e.g., 'Office Supplies'). Helps with debugging.
descriptionstringYesExpense description (line item description)
amountstring | numberYesExpense amount (can be string or number)
currencystringNoCurrency code (e.g., 'USD'). Defaults to company currency if not provided.
metadataobjectNoAdditional metadata (e.g., transaction hash, AI classification)

Result Schema

FieldTypeRequiredDescription
successbooleanYesWhether the purchase was created successfully
dataobjectNoQuickBooks Purchase API response
exportsobjectNoPipedream exports (if any)

Examples

json
{ "type": "quickbooks-sandbox-create-purchase", "payload": { "accountId": "example-accountId", "paymentType": "Cash", "description": "example-description", "amount": "1000000" }, "children": [], "connector": { "type": "pipedream:quickbooks_sandbox", "id": "conn_pipedream_quickbooks_sandbox" }}

Payload fields can use workflow expressions such as {{$trigger.body.amount}}, {{$nodes.fetch.result.price}}, and {{$props.asset}} when the value should come from a trigger, prior node, or reusable workflow prop.

Ask a question... ⌘I