Back to QuickBooks Purchases
QuickBooks / QuickBooks Purchases
Create Purchase
Create a new QuickBooks Purchase.
quickBooksPurchaseCreate
Internal
Permissions
Optional permissions
There are no items to display.
Parameters
| Name | Type | Description | Required |
|---|---|---|---|
| accountId | mustache | Account ID for the purchase. | Yes |
| lineItemsJson | mustache | Optional JSON array of QBO Line objects. | No |
| paymentType | mustache | Optional payment type (Cash, Check, CreditCard). | No |
| txnDate | mustache | Optional transaction date (YYYY-MM-DD). | No |
| docNumber | mustache | Optional document number. | No |
| preventDocNumberConflict | mustache | Optional boolean. If true and docNumber already exists, the backend skips create and returns the existing purchase instead. | No |
| totalAmount | mustache | Optional total amount. | No |
| privateNote | mustache | Optional private note. | No |
| currencyCode | mustache | Optional currency code. | No |
| entityId | mustache | Optional entity reference ID (for customer/vendor/employee). | No |
| entityType | mustache | Optional entity reference type (Customer, Vendor, Employee). | No |
| customerId | mustache | Optional Customer ID. | No |
| minorVersion | mustache | Optional QuickBooks minor version (defaults to 75). | No |
| payloadJson | mustache | Optional full Purchase JSON. If provided, it is merged with the fields above and takes precedence. | No |
Returns
| Name | Type | Description |
|---|---|---|
| id | string | Record ID. |
| name | string | Name or display name. |
| docNumber | string | Document number. |
| txnDate | string | Transaction date. |
| totalAmount | number | Total amount. |
| active | boolean | Whether the record is active. |
| syncToken | string | Sync token. |
| currencyCode | string | Currency code. |
Install In Tools
See how to install an app in your tool
Follow the quick walkthrough below to add marketplace apps into your tool flow.
Step 01
Open your tool setup
Start from the tool workspace where you want to add a new app.
Step 02
Go to tools and create button
Open the Tools page, then click the Create button to start adding a new app.
Step 03
Choose Internal or External work
Choose Internal or External work, then select an app action.
Step 04
Select app to install to Knoon
Pick the app you want to install to Knoon and complete the setup flow.
Step 05
Success!
The app has been installed successfully and is ready to use in your workflow.
Power your business with Knoon's Agentic AI today.
Join businesses already resolving thousands of customer inquiries and sales leads with Knoon.