---
title: "Update Invoice Item"
method: PATCH
path: "/accounting/invoice-items/{id}"
tags: ["Invoice Items"]
---

# Update Invoice Item

`PATCH /accounting/invoice-items/{id}`

Update Invoice Item

## Path parameters

- `id` string, required

## Query parameters

- `raw` boolean

## Headers

- `x-apideck-consumer-id` string, required
- `x-apideck-app-id` string, required
- `x-apideck-service-id` string

## Request body

- InvoiceItem
  - `id` string — The ID of the item.
  - `name` string, nullable — Item name
  - `description` string, nullable — A short description of the item
  - `display_id` string, nullable — Display ID of the item
  - `code` string, nullable — User defined item code
  - `sold` boolean, nullable — Item will be available on sales transactions
  - `purchased` boolean, nullable — Item is available for purchase transactions
  - `tracked` boolean, nullable — Item is inventoried
  - `taxable` boolean, nullable — If true, transactions for this item are taxable
  - `inventory_date` string, date, nullable — The date of opening balance if inventory item is tracked - YYYY-MM-DD.
  - `type` 'inventory' | 'non_inventory' | 'service' | 'description' | 'other', nullable — Item type
  - `sales_details` object
    - `unit_price` number, nullable
    - `unit_of_measure` string, nullable — Description of the unit type the item is sold as, ie: kg, hour.
    - `tax_inclusive` boolean, nullable — Amounts are including tax
    - `tax_rate` LinkedTaxRate
      - `id` string, nullable — The ID of the object.
      - `code` string, nullable — Tax rate code
      - `name` string, nullable — Name of the tax rate
      - `rate` number, nullable — Rate of the tax rate
  - `purchase_details` object
    - `unit_price` number, nullable
    - `unit_of_measure` string, nullable — Description of the unit type the item is sold as, ie: kg, hour.
    - `tax_inclusive` boolean, nullable — Amounts are including tax
    - `tax_rate` LinkedTaxRate
      - `id` string, nullable — The ID of the object.
      - `code` string, nullable — Tax rate code
      - `name` string, nullable — Name of the tax rate
      - `rate` number, nullable — Rate of the tax rate
  - `quantity` number, nullable
  - `unit_price` number, nullable
  - `currency` 'UNKNOWN_CURRENCY' | 'AED' | 'AFN' | 'ALL' | 'AMD' | 'ANG' | 'AOA' | 'ARS' | 'AUD' | 'AWG' | 'AZN' | 'BAM' | 'BBD' | 'BDT' | 'BGN' | 'BHD' | 'BIF' | 'BMD' | 'BND' | 'BOB' | 'BOV' | 'BRL' | 'BSD' | 'BTN' | 'BWP' | 'BYR' | 'BZD' | 'CAD' | 'CDF' | 'CHE' | 'CHF' | 'CHW' | 'CLF' | 'CLP' | 'CNY' | 'COP' | 'COU' | 'CRC' | 'CUC' | 'CUP' | 'CVE' | 'CZK' | 'DJF' | 'DKK' | 'DOP' | 'DZD' | 'EGP' | 'ERN' | 'ETB' | 'EUR' | 'FJD' | 'FKP' | 'GBP' | 'GEL' | 'GHS' | 'GIP' | 'GMD' | 'GNF' | 'GTQ' | 'GYD' | 'HKD' | 'HNL' | 'HRK' | 'HTG' | 'HUF' | 'IDR' | 'ILS' | 'INR' | 'IQD' | 'IRR' | 'ISK' | 'JMD' | 'JOD' | 'JPY' | 'KES' | 'KGS' | 'KHR' | 'KMF' | 'KPW' | 'KRW' | 'KWD' | 'KYD' | 'KZT' | 'LAK' | 'LBP' | 'LKR' | 'LRD' | 'LSL' | 'LTL' | 'LVL' | 'LYD' | 'MAD' | 'MDL' | 'MGA' | 'MKD' | 'MMK' | 'MNT' | 'MOP' | 'MRO' | 'MUR' | 'MVR' | 'MWK' | 'MXN' | 'MXV' | 'MYR' | 'MZN' | 'NAD' | 'NGN' | 'NIO' | 'NOK' | 'NPR' | 'NZD' | 'OMR' | 'PAB' | 'PEN' | 'PGK' | 'PHP' | 'PKR' | 'PLN' | 'PYG' | 'QAR' | 'RON' | 'RSD' | 'RUB' | 'RWF' | 'SAR' | 'SBD' | 'SCR' | 'SDG' | 'SEK' | 'SGD' | 'SHP' | 'SLL' | 'SOS' | 'SRD' | 'SSP' | 'STD' | 'SVC' | 'SYP' | 'SZL' | 'THB' | 'TJS' | 'TMT' | 'TND' | 'TOP' | 'TRC' | 'TRY' | 'TTD' | 'TWD' | 'TZS' | 'UAH' | 'UGX' | 'USD' | 'USN' | 'USS' | 'UYI' | 'UYU' | 'UZS' | 'VEF' | 'VND' | 'VUV' | 'WST' | 'XAF' | 'XAG' | 'XAU' | 'XBA' | 'XBB' | 'XBC' | 'XBD' | 'XCD' | 'XDR' | 'XOF' | 'XPD' | 'XPF' | 'XPT' | 'XTS' | 'XXX' | 'YER' | 'ZAR' | 'ZMK' | 'ZMW' | 'BTC' | 'ETH', nullable — Indicates the associated currency for an amount of money. Values correspond to [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217).
  - `asset_account` LinkedLedgerAccount, nullable
    - `id` string — The unique identifier for the account.
    - `name` string, nullable — The name of the account.
    - `nominal_code` string, nullable — The nominal code of the account.
    - `code` string, nullable — The code assigned to the account.
    - `parent_id` string, nullable — The parent ID of the account.
    - `display_id` string, nullable — The display ID of the account.
  - `income_account` LinkedLedgerAccount, nullable
    - `id` string — The unique identifier for the account.
    - `name` string, nullable — The name of the account.
    - `nominal_code` string, nullable — The nominal code of the account.
    - `code` string, nullable — The code assigned to the account.
    - `parent_id` string, nullable — The parent ID of the account.
    - `display_id` string, nullable — The display ID of the account.
  - `expense_account` LinkedLedgerAccount, nullable
    - `id` string — The unique identifier for the account.
    - `name` string, nullable — The name of the account.
    - `nominal_code` string, nullable — The nominal code of the account.
    - `code` string, nullable — The code assigned to the account.
    - `parent_id` string, nullable — The parent ID of the account.
    - `display_id` string, nullable — The display ID of the account.
  - `tracking_category` DeprecatedLinkedTrackingCategory, nullable
    - `id` string — The unique identifier for the tracking category.
    - `name` string, nullable — The name of the tracking category.
  - `tracking_categories` LinkedTrackingCategory[], nullable — A list of linked tracking categories.
    - `id` string — The unique identifier for the tracking category.
    - `code` string, nullable — The code of the tracking category.
    - `name` string, nullable — The name of the tracking category.
    - `parent_id` string — The unique identifier for the parent tracking category.
    - `parent_name` string, nullable — The name of the parent tracking category.
  - `active` boolean, nullable
  - `department_id` string, nullable — The ID of the department
  - `location_id` string, nullable — The ID of the location
  - `subsidiary_id` string, nullable — The ID of the subsidiary
  - `category_id` string, nullable — ID of the category of the item
  - `tax_schedule_id` string, nullable — The ID of the tax schedule
  - `custom_mappings` CustomMappings, nullable — When custom mappings are configured on the resource, the result is included here.
  - `row_version` string, nullable — A binary value used to detect updates to a object and prevent data conflicts. It is incremented each time an update is made to the object.
  - `updated_by` string, nullable — The user who last updated the object.
  - `created_by` string, nullable — The user who created the object.
  - `updated_at` string, date-time, nullable — The date and time when the object was last updated.
  - `created_at` string, date-time, nullable — The date and time when the object was created.
  - `pass_through` object[] — The pass_through property allows passing service-specific, custom data or structured modifications in request body when creating or updating resources.
    - `service_id` string, required — Identifier for the service to which this pass_through should be applied.
    - `operation_id` string — Optional identifier for a workflow operation to which this pass_through should be applied. This is useful for Unify calls that are making more than one downstream request.
    - `extend_object` object — Simple object allowing any properties for direct extension.
    - `extend_paths` object[] — Array of objects for structured data modifications via paths.
      - `path` string, required — JSONPath string specifying where to apply the value.
      - `value` unknown, required

## Response `200`

InvoiceItems

- UpdateInvoiceItemsResponse
  - `status_code` integer, required — HTTP Response Status Code
  - `status` string, required — HTTP Response Status
  - `service` string, required — Apideck ID of service provider
  - `resource` string, required — Unified API resource name
  - `operation` string, required — Operation performed
  - `data` UnifiedId, required — A object containing a unique identifier for the resource that was created, updated, or deleted.
    - `id` string, required — The unique identifier of the resource
  - `_raw` Raw, nullable — Raw response from the integration when raw=true query param is provided

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `402` — Payment Required
- `404` — The specified resource was not found
- `422` — Unprocessable
- `default` — Unexpected error

---

[API](https://skmtc.net/apideck-libraries/apis/accounting-api.md) · [All operations](https://skmtc.net/apideck-libraries/apis/accounting-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/apideck-libraries/accounting-api/versions/33e09b023d02/schema)
