Update expense category in NetSuite
Accounting API · write, waits for approval · 100% field coverage
Your agent can update expense category in NetSuite through Apideck's Accounting API, the same call it makes for every Accounting app. It changes data in the customer's NetSuite account, so it stops with the exact request until a person approves it. Apideck adds the customer's NetSuite credentials, so no token ever reaches the agent.
The call
PATCH https://unify.apideck.com/accounting/expense-categories/{id}
Headers: x-apideck-service-id: netsuite, plus your app id and the customer's consumer id. Apideck MCP tool: accounting-expense-categories-update. Agent operation id: unified.accounting.expenseCategoriesUpdate.
| 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. |
| name · required | string | The name of the expense category. |
| code | string | The code or external identifier of the expense category. |
| description | string | The description of the expense category. |
| status | string | The status of the expense category. |
| account | object | |
| offset_account | object | |
| tax_rate | object | |
| rate_required | boolean | Whether the expense category requires rate/quantity entry (e.g. mileage at $/mile). |
| default_rate | number | Default rate when rate_required is true (e.g. 0.67 for mileage). |
| 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 expense categories in NetSuite
list_expense_categoriescreate_expense_categoryget_expense_categorydelete_expense_category
Update expense category in other Accounting apps
The same call works for each of these; only the service id changes.