Loading…
Loading…
Accounting API · write, waits for approval · 90% field coverage
Your agent can create purchase order in QuickBooks through Apideck's Accounting API, the same call it makes for every Accounting app. It changes data in the customer's QuickBooks account, so it stops with the exact request until a person approves it. Apideck adds the customer's QuickBooks credentials, so no token ever reaches the agent.
POST https://unify.apideck.com/accounting/purchase-orders
Headers: x-apideck-service-id: quickbooks, plus your app id and the customer's consumer id. Apideck MCP tool: accounting-purchase-orders-add. Agent operation id: unified.accounting.purchaseOrdersAdd.
| Field | Type | Description |
|---|---|---|
| display_id | string | Display ID of the purchase order |
| po_number | string | A PO Number uniquely identifies a purchase order and is generally defined by the buyer. |
| reference | string | Optional purchase order reference. |
| supplier | object | The supplier this entity is linked to. |
| subsidiary_id | string | The ID of the subsidiary |
| company_id | string | The company ID the transaction belongs to |
| location_id | string | The ID of the location |
| department_id | string | The ID of the department |
| status | string | |
| issued_date | string | Date purchase order was issued - YYYY-MM-DD. |
| delivery_date | string | The date on which the purchase order is to be delivered - YYYY-MM-DD. |
| expected_arrival_date | string | The date on which the order is expected to arrive - YYYY-MM-DD. |
| currency | string | Indicates the associated currency for an amount of money. Values correspond to [ISO 4217](https://en.wikipedia.org/wiki/ |
| currency_rate | number | Currency Exchange Rate at the time entity was recorded/generated. |
| sub_total | number | Sub-total amount, normally before tax. |
| total_tax | number | Total tax amount applied to this invoice. |
| total | number | Total amount of invoice, including tax. |
| tax_inclusive | boolean | Amounts are including tax |
| line_items | array | |
| billing_address | object | |
| shipping_address | object | |
| ledger_account | object | |
| template_id | string | Optional purchase order template |
| discount_percentage | number | Discount percentage applied to this transaction. |
| bank_account | object | |
| accounting_by_row | boolean | Indicates if accounting by row is used (true) or not (false). Accounting by row means that a separate ledger transaction |
| due_date | string | The due date is the date on which a payment is scheduled to be received - YYYY-MM-DD. |
| payment_method | string | Payment method used for the transaction, such as cash, credit card, bank transfer, or check |
| terms | string | Terms of payment. |
| terms_id | string | The ID of the payment terms |
| amortization_type | string | Type of amortization |
| tax_code | string | Applicable tax id/code override if tax is not supplied on a line item basis. |
| tax_method | string | Method of tax calculation |
| issued_method | string | Method of issuance of the purchase order |
| issued_email | string | Email address of the person who issued the purchase order |
| channel | string | The channel through which the transaction is processed. |
| memo | string | Message for the supplier. This text appears on the Purchase Order. |
| notes | string | Internal notes for the purchase order. |
| tracking_categories | array | A list of linked tracking categories. |
| custom_fields | array | |
| row_version | string | A binary value used to detect updates to a object and prevent data conflicts. It is incremented each time an update is m |
list_purchase_ordersget_purchase_orderupdate_purchase_orderdelete_purchase_order
The same call works for each of these; only the service id changes.
AcumaticaAlegraDualentryFortnoxHoldedIntuit Enterprise SuiteMicrosoft Dynamics 365 Business CentralMYOB AcumaticaNetSuitePennylaneProcountorVisma NetvisorXeroZoho Books