Kembali ke QuickBooks Purchases
Sambungkan Knoon AI dengan QuickBooks Purchases (QuickBooks) untuk mengotomatisasi alur kerja AI.
Create a new QuickBooks Purchase.
quickBooksPurchaseCreate
Beta
Internal
Izin
Izin opsional
Tidak ada item untuk ditampilkan.
Parameter
| Nama | Tipe | Deskripsi | Wajib |
|---|---|---|---|
| accountId | mustache | Account ID for the purchase. | Ya |
| lineItemsJson | mustache | Optional JSON array of QBO Line objects. | Tidak |
| paymentType | mustache | Optional payment type (Cash, Check, CreditCard). | Tidak |
| txnDate | mustache | Optional transaction date (YYYY-MM-DD). | Tidak |
| docNumber | mustache | Optional document number. | Tidak |
| preventDocNumberConflict | mustache | Optional boolean. If true and docNumber already exists, the backend skips create and returns the existing purchase instead. | Tidak |
| totalAmount | mustache | Optional total amount. | Tidak |
| privateNote | mustache | Optional private note. | Tidak |
| currencyCode | mustache | Optional currency code. | Tidak |
| entityId | mustache | Optional entity reference ID (for customer/vendor/employee). | Tidak |
| entityType | mustache | Optional entity reference type (Customer, Vendor, Employee). | Tidak |
| customerId | mustache | Optional Customer ID. | Tidak |
| minorVersion | mustache | Optional QuickBooks minor version (defaults to 75). | Tidak |
| payloadJson | mustache | Optional full Purchase JSON. If provided, it is merged with the fields above and takes precedence. | Tidak |
Pengembalian
| Nama | Tipe | Deskripsi |
|---|---|---|
| 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. |





