Skip to main content
The Items Data Model represents products or services that can be sold or purchased. This unified model simplifies handling item-related information across various accounting platforms.
  • Unified item properties: Essential item details such as name, description, status, and type are standardized across different accounting platforms
  • Item detail flexibility: The model supports separate details for items being purchased (bill_item) and items being sold (invoice_item), enabling accurate tracking of item-related transactions
  • Associated accounts and tax rates: Each item can be linked to specific purchase and sales accounts, as well as purchase and sales tax rates, for seamless integration with other accounting data models

Attributes

Items Attributes

PropertyTypeDescription
rootfi_idintegerUnique identifier assigned by Commenda for this item
rootfi_created_atstringTimestamp when this record was created in Commenda’s system (ISO 8601)
rootfi_updated_atstringTimestamp when this record was last updated in Commenda’s system (ISO 8601)
rootfi_integration_typeenum
platform_idstringUnique identifier for this item in the source accounting platform
namestringThe name of the item
descriptionstringThe description of the item
codestringThe reference code of the item
skustring
pricedouble
currency_idenum
typeenumThe type of the item
statusenumThe status of the item
quantity_on_handintegerThe quantity on hand for the item
is_bill_itembooleanWhether there are details (bill_item) of this item getting purchased
bill_itemobjectItem details of this item getting purchased
is_invoice_itembooleanWhether there are details (invoice_item) of this item getting sold
invoice_itemobjectItem details of this item getting sold
created_atstring
updated_atstringThe date and time the item was last updated

Type Enum Values

ValueDescription
INVENTORYItem is tracked as inventory
NON_INVENTORYItem is not tracked as inventory
SERVICEItem represents a service
DIGITALItem is a digital product/download
UNKNOWNType cannot be determined from the platform

Status Enum Values

ValueDescription
DRAFTItem is in draft status and not yet published
ACTIVEItem is active and available for use
ARCHIVEDItem has been archived
UNKNOWNStatus cannot be determined from the platform

Expandable Attributes

Use the expand query parameter to include related objects:
  • expand=variants — includes the related Variants object(s).

Properties Supported

Fields accepted when creating or updating a record:
PropertyTypeDescription
platform_idstringUnique identifier for this item in the source accounting platform
namestringThe name of the item
descriptionstringThe description of the item
codestringThe reference code of the item
skustring
pricedouble
currency_idenum
typeenumThe type of the item
statusenumThe status of the item
quantity_on_handintegerThe quantity on hand for the item
is_bill_itembooleanWhether there are details (bill_item) of this item getting purchased
bill_itemobjectItem details of this item getting purchased
is_invoice_itembooleanWhether there are details (invoice_item) of this item getting sold
invoice_itemobjectItem details of this item getting sold
created_atstring
updated_atstringThe date and time the item was last updated