Update expense in QuickBooks
Accounting API · write, waits for approval · 100% field coverage
Your agent can update expense 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.
The call
PATCH https://unify.apideck.com/accounting/expenses/{id}
Headers: x-apideck-service-id: quickbooks, plus your app id and the customer's consumer id. Apideck MCP tool: accounting-expenses-update. Agent operation id: unified.accounting.expensesUpdate.
| Parameter | In | Description |
|---|---|---|
| id · required | path | ID of the record you are acting upon. |
Body fields
| Field | Type | Description |
|---|---|---|
| display_id | string | Id to be displayed. |
| number | string | Number. |
| transaction_date · required | string | The date of the transaction - YYYY:MM::DDThh:mm:ss.sTZD |
| account_id | string | The unique identifier for the ledger account that this expense should be credited to. Deprecated, use account instead. |
| account | object | A flexible account reference that can represent a ledger account (GL account), a bank account, or an employee payable ac |
| supplier_id | string | The ID of the supplier this entity is linked to. Deprecated, use supplier instead. |
| supplier | object | The supplier this entity is linked to. |
| company_id | string | The company ID the transaction belongs to |
| location | object | |
| department_id | string | The ID of the department |
| department | object | |
| payment_type | string | The type of payment for the expense. |
| 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. |
| type | string | The type of expense. |
| memo | string | The memo of the expense. |
| tax_rate | object | |
| tax_inclusive | boolean | Amounts are including tax |
| sub_total | number | Subtotal amount, normally before tax. |
| total_tax | number | Total tax amount applied to this transaction. |
| total_amount | number | The total amount of the expense line item. |
| tracking_categories | array | A list of linked tracking categories. |
| line_items · required | array | Expense line items linked to this expense. |
| reference | string | Optional reference identifier for the transaction. |
| source_document_url | string | URL link to a source document - shown as 'Go to [appName]' in the downstream app. Currently only supported for Xero. |
| custom_fields | array | |
| status | string | Expense status |
| 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 |
More for expenses in QuickBooks
Update expense in other Accounting apps
The same call works for each of these; only the service id changes.
DualentryIntuit Enterprise SuiteMicrosoft Dynamics 365 Business CentralMoneybirdNetSuiteSage Business Cloud AccountingSage IntacctSage Intacct RESTXeroZoho Books