Inventory

The Inventory object

From the Inventory endpoint, you can retrieve a list of all products and services for a specified business.

FieldTypeDescription
id
sortable, filterable
stringIdentifier for the inventory item, unique for the business in the accounting service.
name
sortable, filterable
stringName of the inventory item.
code
sortable, filterable
stringReference code of the inventory item.
type
sortable, filterable
stringType of the inventory item.
quantityOnHandarrayQuantity of the inventory item on hand at each location.
Quantity on hand.
status
sortable, filterable
string Current status of the inventory item.
isBillItem
sortable, filterable
boolean Specifies whether the inventory item can be associated with a bill (when it was purchased).
billItem objectInventory item details associated with a bill (when the item was purchased).
isInvoiceItem
sortable, filterable
booleanSpecifies whether the inventory item can be associated with an invoice (when it was sold).
invoiceItem objectInventory item details associated with an invoice (when the item was sold).
sourceModifiedDate
sortable, filterable
string
See Date
Date the record was last changed in the accounting service provider.

📘

Xero Limitations

Due to a limitation in Xero's API, all items from Xero are mapped as unknown.

📘

QuickBooks Online Limitations

Due to a limitation in QBO's APO, non-inventory items can not be pushed to QuickBooks Online.

Quantity On Hand

FieldTypeDescription
locationRefReference TypesReference to the location the inventory is located at
quantity
sortable, filterable
integerThe quantity of the inventory at the referenced location.
accountRefReference TypesReference to the Inventory account that tracks the current value of the inventory. If the same account is used for all inventory items, the current balance of this account will represent the current total value of the inventory.

Bill Item

FieldTypeDescription
descriptionstringDescription of the line item.
unitPrice
sortable, filterable
decimalLine item unit amount.
accountRefReference TypesReference to the account the line item is linked to.
taxRateRefReference TypesReference to the tax rate the line item is linked to.

Invoice Item

FieldTypeDescription
descriptionstringDescription of the line item.
unitPrice
sortable, filterable
decimalLine item unit amount.
accountRefReference TypesReference to the account the line item is linked to.
taxRateRefReference TypesReference to the tax rate the line item is linked to.

The Inventory Reference Object

Data types that reference an inventory, for example, invoice and bills, use an inventoryRef that includes the id and name of the linked inventory.

📘

Using Inventory Reference in Push

For convenience, when pushing data inventoryRef can be used alone with the id as a value instead of nesting it within.

When pushing to Xero, use code as a value.