Skip to content

Bill of Materials

Returns Bill of Materials for Inventoried Items.

Released
Updated
URLSupports
/{cf_uri}/Inventory/Item/?$expand=BillOfMaterials
GETPUTPOSTDELETE
/{cf_uri}/Inventory/Item/{item_uid}/?$expand=BillOfMaterials
GETPUTPOSTDELETE

Attribute Details

Paging: default page size is set to 400 with a maximum of 1000 results.

For more information, check out our Knowledgebase article on Bill of Materials

Response

json
{
  "DefaultSellLocation": {
    "UID": "5b854f1f-8921-4ad1-93ee-565b31790334",
    "Identifier": "Location1",
    "Name": "Primary Location",
    "URI": "{cf_uri}Inventory/Location/c7f0a9cd-2a85-4a56-b4de-e74bac885c12"
  },
  "DefaultReceiveLocation": {
    "UID": "5b854f1f-8921-4ad1-93ee-565b31790334",
    "Identifier": "Location1",
    "Name": "Primary Location",
    "URI": "{cf_uri}Inventory/Location/c7f0a9cd-2a85-4a56-b4de-e74bac885c12"
  },
  "BillOfMaterials\": {": {
    "Quantity": 1.0,
    "Items\": [": {
      "Quantity": 1.0,
      "Item\": {": {
        "UID": "625af827-6759-4055-9dcc-04e6f6f42c85",
        "Number": "320",
        "Name": "Cooler Filter Small",
        "URI": "{cf_uri}Inventory/Item/625af827-6759-4055-9dcc-04e6f6f42c852"
      }
    }
  },
  "LastModified": "2019-05-01T00:47:43.757",
  "PhotoURI": "{cf_uri}\"/Inventory/Item/d5ab0fd1-3bf4-4230-bbaf-90b26ea9afda/Photo",
  "URI": "{cf_uri}/Inventory/Item/d5ab0fd1-3bf4-4230-bbaf-90b26ea9afda/",
  "RowVersion": "-5650610157466419200"
}
AttributeTypeNotes
UID
Required
Guid (36)Unique item identifier in the form of a guid. ONLY required for updating an existing item. NOT required when creating a new item.
Number
Required
String (30)Item number.
NameString (30)Name of the item.
IsActiveBooleanPlease note: Defaults to true if left blank on POST. True indicates the item is active. False indicates the item is inactive.
DescriptionString (255)A description of the item.
UseDescriptionBooleanTrue indicates to use the description text instead of item name on sale invoices and purchase orders. False indicates not to use the item description on sales and purchases.
CustomList1objectThe following set of information pulls through details for a contact custom list
CustomList1.Label
Read-only
String (30)Name of CustomList1 applicable to the custom list text, labels can be edited within the AccountRight interface ONLY. For example CustomList # 1 could be changed to Melbourne, click here for more information on how to edit labels
CustomList1.ValueString (30)Custom list text entry populated for CustomList1.
CustomList2objectThe following set of information pulls through details for a contact custom list
CustomList2.Label
Read-only
String (30)Name of CustomList2 applicable to the custom list text, labels can be edited within the AccountRight interface ONLY. For example CustomList # 2 could be changed to Sydney, click here for more information on how to edit labels
CustomList2.ValueString (30)Custom list text entry populated for CustomList2.
CustomList3objectThe following set of information pulls through details for a contact custom list
CustomList3.Label
Read-only
String (30)Name of CustomList3 applicable to the custom list text, labels can be edited within the AccountRight interface ONLY. For example CustomList # 3 could be changed to Tasmania, click here for more information on how to edit labels
CustomList3.ValueString (30)Custom list text entry populated for CustomList3.
CustomField1objectThe following set of information pulls through details for a contact custom field
CustomField1.Label
Read-only
String (30)Name of CustomField1 applicable to the custom field text, labels can be edited within the AccountRight interface ONLY. For example CustomField # 1 could be changed to South Australia, click here for more information on how to edit labels
CustomField1.ValueString (30)Custom field text entry populated for CustomField1.
CustomField2objectThe following set of information pulls through details for a contact custom field
CustomField2.Label
Read-only
String (30)Name of CustomField2 applicable to the custom field text, labels can be edited, for example CustomField # 2 could be changed to Queensland
CustomField2.ValueString (30)Custom field text entry populated for CustomField2.
CustomField3objectThe following set of information pulls through details for a contact custom field
CustomField3.Label
Read-only
String (30)Name of CustomField3 applicable to the custom field text, labels can be edited within the AccountRight interface ONLY. For example CustomField # 3 could be changed to ACT, click here for more information on how to edit labels
CustomField3.ValueString (30)Custom field text entry populated for CustomField3.
QuantityOnHand
Read-only
Decimal (13.3)Quantity of units held in inventory
QuantityCommitted
Read-only
Decimal (13.3)Quantity of the item held in pending sale invoices.
QuantityOnOrder
Read-only
Decimal (13.3)Quantity of the item held in pending purchase orders.
QuantityAvailable
Read-only
Decimal (13.3)Calculated quantity of the item available for sale.
AverageCost
Read-only
Decimal (13.6)Item's average cost when the quantity on hand is equal to or greater than zero.
CurrentValue
Read-only
Decimal (13.6)Dollar value of units held in inventory.
BaseSellingPrice
Read-only
Decimal (13.6)Item's base selling price inclusive of tax.
IsBoughtBooleanTrue indicates the item is bought. False indicates the item is not bought.
IsSoldBooleanTrue indicates the item is sold. False indicates the item is not sold.
IsInventoriedBooleanTrue indicates the item is inventoried. False indicates the item is not inventoried.
ExpenseAccountobjectThe following set of information pulls through details for an Expense account
ExpenseAccount.UID
Required
Guid (36)Please note: Passing the Account UID is required if IsBought = true AND IsInventoried = false Foreign Key : Unique identifier for the account in the form of a guid.
ExpenseAccount.Name
Read-only
String (60)Account name belonging to the expense account record.
ExpenseAccount.DisplayID
Read-only
String (6)Account code format includes separator ie 6-1100 { 'DisplayID': '6-1100' }
ExpenseAccount.URI
Read-only
StringUniform resource identifier associated with the expense account object.
CostOfSalesAccountobjectThe following set of information pulls through details for a CostOfSales account
CostOfSalesAccount.UID
Required
Guid (36)Please note: Passing the Account UID is required if IsSold = true AND IsInventoried = true Foreign Key : Unique identifier for the account in the form of a guid.
CostOfSalesAccount.Name
Read-only
String (60)Account name belonging to the cost of sales account record.
CostOfSalesAccount.DisplayID
Read-only
String (6)Account code format includes separator ie 5-1100 { 'DisplayID': '5-1100' }
CostOfSalesAccount.URI
Read-only
StringUniform resource identifier associated with the cost of sales account object.
IncomeAccountobjectThe following set of information pulls through details for an Icome account
IncomeAccount.UID
Required
Guid (36)Please note: Passing the Account UID is required if IsSold = true Foreign Key : Unique identifier for the account in the form of a guid.
IncomeAccount.Name
Read-only
String (60)Account name belonging to the income account record.
IncomeAccount.DisplayID
Read-only
String (6)Account code format includes separator ie 4-1100 { 'DisplayID': '4-1100' }
IncomeAccount.URI
Read-only
StringUniform resource identifier associated with the income account object.
AssetAccountobjectThe following set of information pulls through details for an Asset account
AssetAccount.UID
Required
Guid (36)Please note: Passing the Account UID is required if IsInventoried = true Foreign Key : Unique identifier for the account in the form of a guid.
AssetAccount.Name
Read-only
String (60)Account name belonging to the asset account record.
AssetAccount.DisplayID
Read-only
String (6)Account code format includes separator ie 1-1100 { 'DisplayID': '1-1100' }
AssetAccount.URI
Read-only
StringUniform resource identifier associated with the asset account object.
BuyingDetailsobjectThe following set of information pulls through Buying details for an item. Note: If IsBought = false null is returned.
BuyingDetails.LastPurchasePrice
Read-only
Decimal (12.6)The item’s tax inclusive price per unit when last purchased.
BuyingDetails.StandardCostDecimal (12.6)Standard purchase price for one buying unit of this item.
BuyingDetails.BuyingUnitOfMeasureStringDescription of the unit type the item is purchased with, ie: kg, hour.
BuyingDetails.ItemsPerBuyingUnitDecimalNumber of items per buying unit. Note: if is IsInventoried = false null is returned.
BuyingDetails.TaxCodeobjectThe following set of information pulls through details for the Tax Code
BuyingDetails.TaxCode.UID
Required
GUID (36)Please note: Only required if IsBought = true Foreign Key : Unique tax code identifier in the form of a guid
BuyingDetails.TaxCode.Code
Read-only
String (3)3 digit code assigned to the tax code.
BuyingDetails.TaxCode.URI
Read-only
StringUniform resource identifier associated with the tax code object.
BuyingDetails.RestockingInformationobjectThe following set of information pulls through details for item restocking.
BuyingDetails.RestockingInformation.MinimumLevelForRestockingAlertDecimalThe minimum number of items on hand before needing to reorder.
BuyingDetails.RestockingInformation.SupplierobjectThe following set of information pulls through details for the Supplier contact assigned for as the Primary supplier for reorders.
BuyingDetails.RestockingInformation.Supplier.UID
Required
Guid (36)Please note: Only required if assigning a default supplier contact for restocking. Foreign Key : Unique guid identifier belonging to the supplier contact.
BuyingDetails.RestockingInformation.Supplier.Name
Read-only
String (30)Name of the supplier.
BuyingDetails.RestockingInformation.Supplier.DisplayIDString (15)Supplier contact Card ID, can also be used as a unique supplier contact identifier.
BuyingDetails.RestockingInformation.Supplier.URI
Read-only
StringUniform resource identifier associated with the supplier object.
BuyingDetails.RestockingInformation.SupplierItemNumberString (30)Number or code supplier has assigned to the item.
BuyingDetails.RestockingInformation.DefaultOrderQuantityStringDefault number of units to buy on auto reorder.
StandardCostTaxInclusive
Read-only
BooleanReturns a True or False value to determine if the Standard Cost includes tax
SellingDetailsobjectThe following set of information pulls through Selling details for an item. Note: If IsSold = false null is returned.
SellingDetails.BaseSellingPriceDecimal (12.6)Standard selling price for one selling unit of this item.
SellingDetails.SellingUnitOfMeasureStringDescription of the unit type the item is sold as, ie: kg, hour.
SellingDetails.ItemsPerSellingUnitDecimalNumber of items per selling unit. Note: if is IsInventoried = false null is returned.
SellingDetails.TaxCodeobjectThe following set of information pulls through details for the Tax Code
SellingDetails.TaxCode.UID
Required
GUID (36)Please note: Only required if IsSold = true Foreign Key : Unique tax code identifier in the form of a guid
SellingDetails.TaxCode.Code
Read-only
String (3)3 digit code assigned to the tax code.
SellingDetails.TaxCode.URI
Read-only
StringUniform resource identifier associated with the tax code object.
SellingDetails.IsTaxInclusiveBooleanTrue indicates the selling prices are inclusive of tax. False indicates the selling prices are exclusive of tax
SellingDetails.CalculateSalesTaxOnStringONLY APPLICABLE FOR AU REGION Sales tax can be calculated on any of the following Enum values: ActualSellingPrice BaseSellingPrice LevelA LevelB LevelC LevelD LevelE LevelF
SellingDetails.PriceMatrixURIStringPlease note: Only available if Item IsSold = true more information on ItemPriceMatrix found here
LocationDetailsarrayAn item assigned location(s) information.
LocationDetails.LocationobjectThe following set of information pulls through details for the item associated location.
LocationDetails.Location.UID
Read-only
Guid (36)Foreign Key : Unique identifier for location in the form of a guid.
LocationDetails.Location.Identifier
Read-only
String (10)Identifier assigned to the location.
LocationDetails.Location.Name
Read-only
String (30)Name assigned to the location.
LocationDetails.Location.URI
Read-only
StringUniform resource identifier associated with the location object.
LocationDetails.QuantityOnHand
Read-only
Decimal (13.3)Quantity of units held in inventory
DefaultSellLocationobjectThe following set of information pulls through details for the item associated location./li>
DefaultSellLocation.UID
Read-only
Guid (36)Foreign Key : Unique identifier for location in the form of a guid.
DefaultSellLocation.Identifier
Read-only
String (10)Identifier assigned to the location.
DefaultSellLocation.Name
Read-only
String (30)Name assigned to the location.
DefaultSellLocation.URI
Read-only
StringUniform resource identifier associated with the location object.
DefaultReceiveLocationobjectThe following set of information pulls through details for the item associated location./li>
DefaultReceiveLocation.UID
Read-only
Guid (36)Foreign Key : Unique identifier for location in the form of a guid.
DefaultReceiveLocation.Identifier
Read-only
String (10)Identifier assigned to the location.
DefaultReceiveLocation.Name
Read-only
String (30)Name assigned to the location.
DefaultReceiveLocation.URI
Read-only
StringUniform resource identifier associated with the location object.
BillOfMaterialsobjectThe following set of information pulls through details on what makes up the an item that uses Auto-build
BillOfMaterials.QuantityDefines the number of items that is built
BillOfMaterials.ItemsobjectThe following set of information pulls through details for the Items that is used to create this item.
BillOfMaterials.Items.QuantityDefines the number of items that is used to build this item
BillOfMaterials.Items.ItemsobjectThe following set of information pulls through details for the Item.
BillOfMaterials.Items.Items.UID
Required
Guid (36)Foreign Key : Unique identifier for item in the form of a guid.
BillOfMaterials.Items.Items.Number
Read-only
String (30)Number assigned to the item.
BillOfMaterials.Items.Items.Name
Read-only
String (30)Name assigned to the item.
BillOfMaterials.Items.Items.URI
Read-only
StringUniform resource identifier associated with the item object.
LastModified
Read-only
DateTimeDateTime of the last time this resource was modified through a direct action to the object. eg a field was updated.
PhotoURIStringUniform resource identifier associated with a photo image.
URI
Read-only
StringUniform resource identifier encompasses all types of names and addresses that refer to objects on the web.
RowVersion
Required
StringNumber value that changes upon a record update, can be used for change control but does does not preserve a date or a time. ONLY required for updating an existing item. NOT required when creating a new item.