Voltar para QuickBooks Purchases
Conectar Knoon AI com QuickBooks Purchases (QuickBooks) para automatizar fluxos de trabalho de AI.
Create a new QuickBooks Purchase.
quickBooksPurchaseCreate
Beta
Interno
Permissões
Permissões opcionais
Não há itens para exibir.
Parâmetros
| Nome | Tipo | Descrição | Obrigatório |
|---|---|---|---|
| accountId | mustache | Account ID for the purchase. | Sim |
| lineItemsJson | mustache | Optional JSON array of QBO Line objects. | Não |
| paymentType | mustache | Optional payment type (Cash, Check, CreditCard). | Não |
| txnDate | mustache | Optional transaction date (YYYY-MM-DD). | Não |
| docNumber | mustache | Optional document number. | Não |
| preventDocNumberConflict | mustache | Optional boolean. If true and docNumber already exists, the backend skips create and returns the existing purchase instead. | Não |
| totalAmount | mustache | Optional total amount. | Não |
| privateNote | mustache | Optional private note. | Não |
| currencyCode | mustache | Optional currency code. | Não |
| entityId | mustache | Optional entity reference ID (for customer/vendor/employee). | Não |
| entityType | mustache | Optional entity reference type (Customer, Vendor, Employee). | Não |
| customerId | mustache | Optional Customer ID. | Não |
| minorVersion | mustache | Optional QuickBooks minor version (defaults to 75). | Não |
| payloadJson | mustache | Optional full Purchase JSON. If provided, it is merged with the fields above and takes precedence. | Não |
Devoluções
| Nome | Tipo | Descrição |
|---|---|---|
| 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. |





