---
title: "Update an other charge item"
method: POST
path: "/quickbooks-desktop/other-charge-items/{id}"
---

# Update an other charge item

`POST /quickbooks-desktop/other-charge-items/{id}`

Updates an existing other charge item.

## Path parameters

- `id` string, required — The QuickBooks-assigned unique identifier of the other charge item to update.

## Headers

- `Conductor-End-User-Id` string, required — The ID of the End-User to receive this request.

## Request body

- object
  - `revisionNumber` string, required — The current QuickBooks-assigned revision number of the other charge item object you are updating, which you can get by fetching the object first. Provide the most recent `revisionNumber` to ensure you're working with the latest data; otherwise, the update will return an error.
  - `name` string — The case-insensitive name of this other charge item. Not guaranteed to be unique because it does not include the names of its hierarchical parent objects like `fullName` does. For example, two other charge items could both have the `name` "Overnight Delivery", but they could have unique `fullName` values, such as "Shipping Charges:Overnight Delivery" and "Misc Fees:Overnight Delivery". Maximum length: 31 characters.
  - `barcode` object — The other charge item's barcode.
    - `value` string — The item's barcode value.
    - `assignEvenIfUsed` boolean — Indicates whether to assign the barcode even if it is already used.
    - `allowOverride` boolean — Indicates whether to allow the barcode to be overridden.
  - `isActive` boolean — Indicates whether this other charge item is active. Inactive objects are typically hidden from views and reports in QuickBooks. Defaults to `true`.
  - `classId` string — The other charge item's class. Classes can be used to categorize objects into meaningful segments, such as department, location, or type of work. In QuickBooks, class tracking is off by default.
  - `parentId` string — The parent other charge item one level above this one in the hierarchy. For example, if this other charge item has a `fullName` of "Shipping Charges:Overnight Delivery", its parent has a `fullName` of "Shipping Charges". If this other charge item is at the top level, this field will be `null`.
  - `salesTaxCodeId` string — The default sales-tax code for this other charge item, determining whether it is taxable or non-taxable. This can be overridden at the transaction-line level. Default codes include "Non" (non-taxable) and "Tax" (taxable), but custom codes can also be created in QuickBooks Desktop. If QuickBooks Desktop is not set up to charge sales tax (via the "Do You Charge Sales Tax?" preference), it assigns the default non-taxable sales-tax code configured in the company file to all sales.
  - `salesOrPurchaseDetails` object — Details for other charge items that are exclusively sold or exclusively purchased, but not both. This typically applies to non-inventory items (like a purchased office supply that isn't resold) or service items (like consulting services that are sold but not purchased). **IMPORTANT**: You cannot specify both `salesOrPurchaseDetails` and `salesAndPurchaseDetails` when modifying an other charge item because an item cannot have both configurations.
    - `description` string — A description of this item.
    - `price` string — The price at which this item is purchased or sold, represented as a decimal string.
    - `pricePercentage` string — The price of this item expressed as a percentage, used instead of `price` when the item's cost is calculated as a percentage of another amount. For example, a service item that costs a percentage of another item's price.
    - `postingAccountId` string — The posting account to which transactions involving this item are posted. This could be an income account when selling or an expense account when purchasing.
    - `updateExistingTransactionsAccount` boolean — When `true`, applies the new account (specified by the `accountId` field) to all existing transactions associated with this item. This updates historical data and should be used with caution. The update will fail if any affected transaction falls within a closed accounting period. If this parameter is not specified, QuickBooks will prompt the user before making any changes.
  - `salesAndPurchaseDetails` object — Details for other charge items that are both purchased and sold, such as reimbursable expenses or inventory items that are bought from vendors and sold to customers. **IMPORTANT**: You cannot specify both `salesAndPurchaseDetails` and `salesOrPurchaseDetails` when modifying an other charge item because an item cannot have both configurations.
    - `salesDescription` string — The description of this item that appears on sales forms (e.g., invoices, sales receipts) when sold to customers.
    - `salesPrice` string — The price at which this item is sold to customers, represented as a decimal string.
    - `incomeAccountId` string — The income account used to track revenue from sales of this item.
    - `purchaseDescription` string — The description of this item that appears on purchase forms (e.g., checks, bills, item receipts) when it is ordered or bought from vendors.
    - `purchaseCost` string — The cost at which this item is purchased from vendors, represented as a decimal string.
    - `purchaseTaxCodeId` string — The tax code applied to purchases of this item. Applicable in regions where purchase taxes are used, such as Canada or the UK.
    - `expenseAccountId` string — The expense account used to track costs from purchases of this item.
    - `preferredVendorId` string — The preferred vendor from whom this item is typically purchased.
    - `updateExistingTransactionsIncomeAccount` boolean — When `true`, applies the new income account (specified by the `incomeAccountId` field) to all existing transactions that use this item. This updates historical data and should be used with caution. The update will fail if any affected transaction falls within a closed accounting period. If this parameter is not specified, QuickBooks will prompt the user before making any changes.
    - `updateExistingTransactionsExpenseAccount` boolean — When `true`, applies the new expense account (specified by the `expenseAccountId` field) to all existing transactions that use this item. This updates historical data and should be used with caution. The update will fail if any affected transaction falls within a closed accounting period. If this parameter is not specified, QuickBooks will prompt the user before making any changes.

## Response `200`

Returns the updated other charge item.

- QbdOtherChargeItem
  - `id` string, required — The unique identifier assigned by QuickBooks to this other charge item. This ID is unique across all other charge items but not across different QuickBooks object types.
  - `objectType` 'qbd_other_charge_item', required — The type of object. This value is always `"qbd_other_charge_item"`.
  - `createdAt` string, required — The date and time when this other charge item was created, in ISO 8601 format (YYYY-MM-DDThh:mm:ss±hh:mm), which QuickBooks Desktop interprets in the local timezone of the end-user's computer.
  - `updatedAt` string, required — The date and time when this other charge item was last updated, in ISO 8601 format (YYYY-MM-DDThh:mm:ss±hh:mm), which QuickBooks Desktop interprets in the local timezone of the end-user's computer.
  - `revisionNumber` string, required — The current QuickBooks-assigned revision number of this other charge item object, which changes each time the object is modified. When updating this object, you must provide the most recent `revisionNumber` to ensure you're working with the latest data; otherwise, the update will return an error.
  - `name` string, required — The case-insensitive name of this other charge item. Not guaranteed to be unique because it does not include the names of its hierarchical parent objects like `fullName` does. For example, two other charge items could both have the `name` "Overnight Delivery", but they could have unique `fullName` values, such as "Shipping Charges:Overnight Delivery" and "Misc Fees:Overnight Delivery".
  - `fullName` string, required — The case-insensitive fully-qualified unique name of this other charge item, formed by combining the names of its hierarchical parent objects with its own `name`, separated by colons. For example, if an other charge item is under "Shipping Charges" and has the `name` "Overnight Delivery", its `fullName` would be "Shipping Charges:Overnight Delivery". **NOTE**: Unlike `name`, `fullName` is guaranteed to be unique across all other charge item objects. However, `fullName` can still be arbitrarily changed by the QuickBooks user when they modify the underlying `name` field.
  - `barcode` string, nullable, required — The other charge item's barcode.
  - `isActive` boolean, required — Indicates whether this other charge item is active. Inactive objects are typically hidden from views and reports in QuickBooks. Defaults to `true`.
  - `class` object, nullable, required — The other charge item's class. Classes can be used to categorize objects into meaningful segments, such as department, location, or type of work. In QuickBooks, class tracking is off by default.
    - `id` string, nullable, required — The unique identifier assigned by QuickBooks to this object. This ID is unique across all objects of the same type, but not across different QuickBooks object types.
    - `fullName` string, nullable, required — The fully-qualified unique name for this object, formed by combining the names of its parent objects with its own `name`, separated by colons. Not case-sensitive.
  - `parent` object, nullable, required — The parent other charge item one level above this one in the hierarchy. For example, if this other charge item has a `fullName` of "Shipping Charges:Overnight Delivery", its parent has a `fullName` of "Shipping Charges". If this other charge item is at the top level, this field will be `null`.
    - `id` string, nullable, required — The unique identifier assigned by QuickBooks to this object. This ID is unique across all objects of the same type, but not across different QuickBooks object types.
    - `fullName` string, nullable, required — The fully-qualified unique name for this object, formed by combining the names of its parent objects with its own `name`, separated by colons. Not case-sensitive.
  - `sublevel` number, required — The depth level of this other charge item in the hierarchy. A top-level other charge item has a `sublevel` of 0; each subsequent sublevel increases this number by 1. For example, an other charge item with a `fullName` of "Shipping Charges:Overnight Delivery" would have a `sublevel` of 1.
  - `salesTaxCode` object, nullable, required — The default sales-tax code for this other charge item, determining whether it is taxable or non-taxable. This can be overridden at the transaction-line level. Default codes include "Non" (non-taxable) and "Tax" (taxable), but custom codes can also be created in QuickBooks Desktop. If QuickBooks Desktop is not set up to charge sales tax (via the "Do You Charge Sales Tax?" preference), it assigns the default non-taxable sales-tax code configured in the company file to all sales.
    - `id` string, nullable, required — The unique identifier assigned by QuickBooks to this object. This ID is unique across all objects of the same type, but not across different QuickBooks object types.
    - `fullName` string, nullable, required — The fully-qualified unique name for this object, formed by combining the names of its parent objects with its own `name`, separated by colons. Not case-sensitive.
  - `salesOrPurchaseDetails` QbdSalesOrPurchaseDetails, required
    - `description` string, nullable, required — A description of this item.
    - `price` string, nullable, required — The price at which this item is purchased or sold, represented as a decimal string.
    - `pricePercentage` string, nullable, required — The price of this item expressed as a percentage, used instead of `price` when the item's cost is calculated as a percentage of another amount. For example, a service item that costs a percentage of another item's price.
    - `postingAccount` object, nullable, required — The posting account to which transactions involving this item are posted. This could be an income account when selling or an expense account when purchasing.
      - `id` string, nullable, required — The unique identifier assigned by QuickBooks to this object. This ID is unique across all objects of the same type, but not across different QuickBooks object types.
      - `fullName` string, nullable, required — The fully-qualified unique name for this object, formed by combining the names of its parent objects with its own `name`, separated by colons. Not case-sensitive.
  - `salesAndPurchaseDetails` QbdSalesAndPurchaseDetails, required
    - `salesDescription` string, nullable, required — The description of this item that appears on sales forms (e.g., invoices, sales receipts) when sold to customers.
    - `salesPrice` string, nullable, required — The price at which this item is sold to customers, represented as a decimal string.
    - `incomeAccount` object, nullable, required — The income account used to track revenue from sales of this item.
      - `id` string, nullable, required — The unique identifier assigned by QuickBooks to this object. This ID is unique across all objects of the same type, but not across different QuickBooks object types.
      - `fullName` string, nullable, required — The fully-qualified unique name for this object, formed by combining the names of its parent objects with its own `name`, separated by colons. Not case-sensitive.
    - `purchaseDescription` string, nullable, required — The description of this item that appears on purchase forms (e.g., checks, bills, item receipts) when it is ordered or bought from vendors.
    - `purchaseCost` string, nullable, required — The cost at which this item is purchased from vendors, represented as a decimal string.
    - `purchaseTaxCode` object, nullable, required — The tax code applied to purchases of this item. Applicable in regions where purchase taxes are used, such as Canada or the UK.
      - `id` string, nullable, required — The unique identifier assigned by QuickBooks to this object. This ID is unique across all objects of the same type, but not across different QuickBooks object types.
      - `fullName` string, nullable, required — The fully-qualified unique name for this object, formed by combining the names of its parent objects with its own `name`, separated by colons. Not case-sensitive.
    - `expenseAccount` object, nullable, required — The expense account used to track costs from purchases of this item.
      - `id` string, nullable, required — The unique identifier assigned by QuickBooks to this object. This ID is unique across all objects of the same type, but not across different QuickBooks object types.
      - `fullName` string, nullable, required — The fully-qualified unique name for this object, formed by combining the names of its parent objects with its own `name`, separated by colons. Not case-sensitive.
    - `preferredVendor` object, nullable, required — The preferred vendor from whom this item is typically purchased.
      - `id` string, nullable, required — The unique identifier assigned by QuickBooks to this object. This ID is unique across all objects of the same type, but not across different QuickBooks object types.
      - `fullName` string, nullable, required — The fully-qualified unique name for this object, formed by combining the names of its parent objects with its own `name`, separated by colons. Not case-sensitive.
  - `specialItemType` 'finance_charge' | 'reimbursable_expense_group' | 'reimbursable_expense_subtotal', nullable, required — The type of special item for this other charge item.
  - `externalId` string, nullable, required — A globally unique identifier (GUID) you, the developer, can provide for tracking this object in your external system. This field is immutable and can only be set during object creation.
  - `customFields` QbdCustomField[], required — The custom fields for the other charge item object, added as user-defined data extensions, not included in the standard QuickBooks object.
    - `ownerId` string, required — The identifier of the owner of the custom field, which QuickBooks internally calls a "data extension". For public custom fields visible in the UI, such as those added by the QuickBooks user, this is always "0". For private custom fields that are only visible to the application that created them, this is a valid GUID identifying the owning application. Internally, Conductor always fetches all public custom fields (those with an `ownerId` of "0") for all objects.
    - `name` string, required — The name of the custom field, unique for the specified `ownerId`. For public custom fields, this name is visible as a label in the QuickBooks UI.
    - `type` 'amount_type' | 'date_time_type' | 'integer_type' | 'percent_type' | 'price_type' | 'quantity_type' | 'string_1024_type' | 'string_255_type', required — The data type of this custom field.
    - `value` string, required — The value of this custom field. The maximum length depends on the field's data type.

---

[API](https://skmtc.net/conductor-is/apis/conductor-api.md) · [All operations](https://skmtc.net/conductor-is/apis/conductor-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/conductor-is/conductor-api/revisions/0b07b3ebe160/schema)
