Quay lại QuickBooks Purchases
Kết nối Knoon AI với QuickBooks Purchases (QuickBooks) để tự động hóa các quy trình làm việc AI.
Create a new QuickBooks Purchase.
quickBooksPurchaseCreate
BẢN THỬ NGHIỆM
Nội bộ
Quyền hạn
Quyền hạn tùy chọn
Không có mục nào để hiển thị.
Tham số
| Tên | Loại | Mô tả | Bắt buộc |
|---|---|---|---|
| accountId | mustache | Account ID for the purchase. | Có |
| lineItemsJson | mustache | Optional JSON array of QBO Line objects. | Không |
| paymentType | mustache | Optional payment type (Cash, Check, CreditCard). | Không |
| txnDate | mustache | Optional transaction date (YYYY-MM-DD). | Không |
| docNumber | mustache | Optional document number. | Không |
| preventDocNumberConflict | mustache | Optional boolean. If true and docNumber already exists, the backend skips create and returns the existing purchase instead. | Không |
| totalAmount | mustache | Optional total amount. | Không |
| privateNote | mustache | Optional private note. | Không |
| currencyCode | mustache | Optional currency code. | Không |
| entityId | mustache | Optional entity reference ID (for customer/vendor/employee). | Không |
| entityType | mustache | Optional entity reference type (Customer, Vendor, Employee). | Không |
| customerId | mustache | Optional Customer ID. | Không |
| minorVersion | mustache | Optional QuickBooks minor version (defaults to 75). | Không |
| payloadJson | mustache | Optional full Purchase JSON. If provided, it is merged with the fields above and takes precedence. | Không |
Trả về
| Tên | Loại | Mô tả |
|---|---|---|
| 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. |





