Takaisin QuickBooks Purchases -kohtaan
Yhdistä Knoon AI kohteen QuickBooks Purchases (QuickBooks) kanssa automatisoidaksesi AI-työnkulut.
Create a new QuickBooks Purchase.
quickBooksPurchaseCreate
BETA
Sisäinen
Oikeudet
Valinnaiset oikeudet
Näytettävää kohdetta ei ole.
Parametrit
| Nimi | Tyyppi | Kuvaus | Pakollinen |
|---|---|---|---|
| accountId | mustache | Account ID for the purchase. | Kyllä |
| lineItemsJson | mustache | Optional JSON array of QBO Line objects. | Ei |
| paymentType | mustache | Optional payment type (Cash, Check, CreditCard). | Ei |
| txnDate | mustache | Optional transaction date (YYYY-MM-DD). | Ei |
| docNumber | mustache | Optional document number. | Ei |
| preventDocNumberConflict | mustache | Optional boolean. If true and docNumber already exists, the backend skips create and returns the existing purchase instead. | Ei |
| totalAmount | mustache | Optional total amount. | Ei |
| privateNote | mustache | Optional private note. | Ei |
| currencyCode | mustache | Optional currency code. | Ei |
| entityId | mustache | Optional entity reference ID (for customer/vendor/employee). | Ei |
| entityType | mustache | Optional entity reference type (Customer, Vendor, Employee). | Ei |
| customerId | mustache | Optional Customer ID. | Ei |
| minorVersion | mustache | Optional QuickBooks minor version (defaults to 75). | Ei |
| payloadJson | mustache | Optional full Purchase JSON. If provided, it is merged with the fields above and takes precedence. | Ei |
Palautukset
| Nimi | Tyyppi | Kuvaus |
|---|---|---|
| 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. |





