AccountingItem
The endless-owned canonical accounting item for a product. Its presence
indicates the product has been pushed to (or linked with) accounting;
externalId is the connected provider's identifier for it once synced.
type AccountingItem {
archivedAt: ISO8601DateTime
assetAccount: AccountingAccount
createdAt: ISO8601DateTime!
currencyCode: String
expenseAccount: AccountingAccount
external(
integrationId: ID!
): AccountingItemExternal
externalId: String
id: ID!
incomeAccount: AccountingAccount
inventoryTracked: Boolean!
itemType: String!
name: String!
productId: ID
purchaseCost: MonetaryValue
purchaseDescription: String
purchaseEnabled: Boolean!
pushBlockedReason(
integrationId: ID!
): String
salesDescription: String
salesEnabled: Boolean!
sku: String
status: String!
unitPrice: MonetaryValue
updatedAt: ISO8601DateTime!
}
Fields
AccountingItem.archivedAt ● ISO8601DateTime scalar common
When the item was archived, if archived.
AccountingItem.assetAccount ● AccountingAccount object accounting
Provider account holding this item's inventory value.
AccountingItem.createdAt ● ISO8601DateTime! non-null scalar common
When the item was created.
AccountingItem.currencyCode ● String scalar common
Currency for this item's amounts. Falls back to the company's currency when unset.
AccountingItem.expenseAccount ● AccountingAccount object accounting
Provider account that purchases of this item post to.
AccountingItem.external ● AccountingItemExternal object accounting
This item as it currently stands in the given integration's provider. Null when the item has not been linked to that integration yet.
AccountingItem.external.integrationId ● ID! non-null scalar common
The accounting integration whose copy of this item to return.
AccountingItem.externalId ● String scalar common
The connected provider's identifier for this item (e.g. the QuickBooks item id), if synced.
AccountingItem.id ● ID! non-null scalar common
Unique identifier for the accounting item.
AccountingItem.incomeAccount ● AccountingAccount object accounting
Provider account that sales of this item post to.
AccountingItem.inventoryTracked ● Boolean! non-null scalar common
Whether quantity on hand is tracked for this item. Only inventory items track quantity.
AccountingItem.itemType ● String! non-null scalar common
Type of item: inventory, non_inventory, service, group, other.
AccountingItem.name ● String! non-null scalar common
The item's name.
AccountingItem.productId ● ID scalar common
The EC product this item is backed by, if any.
AccountingItem.purchaseCost ● MonetaryValue object common
The cost this item is purchased at.
AccountingItem.purchaseDescription ● String scalar common
Description used on purchase documents.
AccountingItem.purchaseEnabled ● Boolean! non-null scalar common
Whether this item is set up to purchase.
AccountingItem.pushBlockedReason ● String scalar common
Why this item cannot currently be pushed to the requested accounting integration.
AccountingItem.pushBlockedReason.integrationId ● ID! non-null scalar common
The accounting integration the item would be pushed to.
AccountingItem.salesDescription ● String scalar common
Description used on sales documents.
AccountingItem.salesEnabled ● Boolean! non-null scalar common
Whether this item is set up to sell.
AccountingItem.sku ● String scalar common
The free-standing code backing this item, when not product-backed.
AccountingItem.status ● String! non-null scalar common
Item status: active or inactive.
AccountingItem.unitPrice ● MonetaryValue object common
The price this item sells for.
AccountingItem.updatedAt ● ISO8601DateTime! non-null scalar common
When the item was last updated.
Returned By
accountingItem query ● accountingItems query
Member Of
Product object