Skip to main content

UpsertAccountingItemInput

Autogenerated input type of UpsertAccountingItem

input UpsertAccountingItemInput {
assetAccountExternalId: ID
clientMutationId: String
currencyCode: String
expenseAccountExternalId: ID
incomeAccountExternalId: ID
integrationId: ID!
inventoryTracked: Boolean
itemType: String
name: String
productId: ID!
purchaseCost: BigDecimal
purchaseDescription: String
purchaseEnabled: Boolean
salesDescription: String
salesEnabled: Boolean
sku: String
status: String
unitPrice: BigDecimal
}

Fields

UpsertAccountingItemInput.assetAccountExternalId ● ID scalar common

Provider account id holding this item's inventory value.

UpsertAccountingItemInput.clientMutationId ● String scalar common

A unique identifier for the client performing the mutation.

UpsertAccountingItemInput.currencyCode ● String scalar common

Currency for this item's amounts.

UpsertAccountingItemInput.expenseAccountExternalId ● ID scalar common

Provider account id that purchases of this item post to.

UpsertAccountingItemInput.incomeAccountExternalId ● ID scalar common

Provider account id that sales of this item post to.

UpsertAccountingItemInput.integrationId ● ID! non-null scalar common

The accounting integration this item is configured against.

UpsertAccountingItemInput.inventoryTracked ● Boolean scalar common

Whether quantity on hand is tracked. Only valid on inventory items.

UpsertAccountingItemInput.itemType ● String scalar common

Type of item: inventory, non_inventory, service, group, other.

UpsertAccountingItemInput.name ● String scalar common

The item's name.

UpsertAccountingItemInput.productId ● ID! non-null scalar common

The product whose accounting item to write.

UpsertAccountingItemInput.purchaseCost ● BigDecimal scalar common

The cost this item is purchased at.

UpsertAccountingItemInput.purchaseDescription ● String scalar common

Description used on purchase documents.

UpsertAccountingItemInput.purchaseEnabled ● Boolean scalar common

Whether this item is set up to purchase.

UpsertAccountingItemInput.salesDescription ● String scalar common

Description used on sales documents.

UpsertAccountingItemInput.salesEnabled ● Boolean scalar common

Whether this item is set up to sell.

UpsertAccountingItemInput.sku ● String scalar common

The item's code.

UpsertAccountingItemInput.status ● String scalar common

Item status: active or inactive.

UpsertAccountingItemInput.unitPrice ● BigDecimal scalar common

The price this item sells for.

Member Of

upsertAccountingItem mutation