Tilbage til QuickBooks Purchases
Forbind Knoon AI med QuickBooks Purchases (QuickBooks) for at automatisere AI-arbejdsgange.
Create a new QuickBooks Purchase.
quickBooksPurchaseCreate
BETA
Internt
Tilladelser
Valgfrie tilladelser
Der er ingen elementer at vise.
Parametre
| Navn | Type | Beskrivelse | Obligatorisk |
|---|---|---|---|
| accountId | mustache | Account ID for the purchase. | Ja |
| lineItemsJson | mustache | Optional JSON array of QBO Line objects. | Nej |
| paymentType | mustache | Optional payment type (Cash, Check, CreditCard). | Nej |
| txnDate | mustache | Optional transaction date (YYYY-MM-DD). | Nej |
| docNumber | mustache | Optional document number. | Nej |
| preventDocNumberConflict | mustache | Optional boolean. If true and docNumber already exists, the backend skips create and returns the existing purchase instead. | Nej |
| totalAmount | mustache | Optional total amount. | Nej |
| privateNote | mustache | Optional private note. | Nej |
| currencyCode | mustache | Optional currency code. | Nej |
| entityId | mustache | Optional entity reference ID (for customer/vendor/employee). | Nej |
| entityType | mustache | Optional entity reference type (Customer, Vendor, Employee). | Nej |
| customerId | mustache | Optional Customer ID. | Nej |
| minorVersion | mustache | Optional QuickBooks minor version (defaults to 75). | Nej |
| payloadJson | mustache | Optional full Purchase JSON. If provided, it is merged with the fields above and takes precedence. | Nej |
Retur
| Navn | Type | Beskrivelse |
|---|---|---|
| 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. |





