Zurück zu QuickBooks Purchases
Verbinde Knoon AI mit QuickBooks Purchases (QuickBooks), um KI-Workflows zu automatisieren.
Create a new QuickBooks Purchase.
quickBooksPurchaseCreate
Beta
Intern
Berechtigungen
Optionale Berechtigungen
Es gibt keine Elemente zum Anzeigen.
Parameter
| Name | Typ | Beschreibung | Erforderlich |
|---|---|---|---|
| accountId | mustache | Account ID for the purchase. | Ja |
| lineItemsJson | mustache | Optional JSON array of QBO Line objects. | Nein |
| paymentType | mustache | Optional payment type (Cash, Check, CreditCard). | Nein |
| txnDate | mustache | Optional transaction date (YYYY-MM-DD). | Nein |
| docNumber | mustache | Optional document number. | Nein |
| preventDocNumberConflict | mustache | Optional boolean. If true and docNumber already exists, the backend skips create and returns the existing purchase instead. | Nein |
| totalAmount | mustache | Optional total amount. | Nein |
| privateNote | mustache | Optional private note. | Nein |
| currencyCode | mustache | Optional currency code. | Nein |
| entityId | mustache | Optional entity reference ID (for customer/vendor/employee). | Nein |
| entityType | mustache | Optional entity reference type (Customer, Vendor, Employee). | Nein |
| customerId | mustache | Optional Customer ID. | Nein |
| minorVersion | mustache | Optional QuickBooks minor version (defaults to 75). | Nein |
| payloadJson | mustache | Optional full Purchase JSON. If provided, it is merged with the fields above and takes precedence. | Nein |
Rückgaben
| Name | Typ | Beschreibung |
|---|---|---|
| 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. |





