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





