Terug naar QuickBooks Purchases
Verbinding maken met Knoon AI met QuickBooks Purchases (QuickBooks) om AI-workflows te automatiseren.
Create a new QuickBooks Purchase.
quickBooksPurchaseCreate
BÈTA
Intern
Machtigingen
Optionele machtigingen
Er zijn geen items om weer te geven.
Parameters
| Naam | Type | Beschrijving | Vereist |
|---|---|---|---|
| accountId | mustache | Account ID for the purchase. | Ja |
| lineItemsJson | mustache | Optional JSON array of QBO Line objects. | Nee |
| paymentType | mustache | Optional payment type (Cash, Check, CreditCard). | Nee |
| txnDate | mustache | Optional transaction date (YYYY-MM-DD). | Nee |
| docNumber | mustache | Optional document number. | Nee |
| preventDocNumberConflict | mustache | Optional boolean. If true and docNumber already exists, the backend skips create and returns the existing purchase instead. | Nee |
| totalAmount | mustache | Optional total amount. | Nee |
| privateNote | mustache | Optional private note. | Nee |
| currencyCode | mustache | Optional currency code. | Nee |
| entityId | mustache | Optional entity reference ID (for customer/vendor/employee). | Nee |
| entityType | mustache | Optional entity reference type (Customer, Vendor, Employee). | Nee |
| customerId | mustache | Optional Customer ID. | Nee |
| minorVersion | mustache | Optional QuickBooks minor version (defaults to 75). | Nee |
| payloadJson | mustache | Optional full Purchase JSON. If provided, it is merged with the fields above and takes precedence. | Nee |
Retouren
| Naam | Type | Beschrijving |
|---|---|---|
| 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. |





