CreateCreditMemoItemInput

Input Fields

ref (String!)

External reference to the CreditMemoItem. Must be unique.
Max character limit: 100.

type (String!)

Type of the CreditMemoItem, typically used by the Orchestration Engine to determine the workflow that should be applied.
Max character limit: 50.

description (String)

Description of the CreditMemoItem.

creditReasonCode (SettingValueTypeInput)

Credit reason code of the CreditMemoItem.

creditMemo (CreditMemoKey!)

CreditMemo associated with the CreditMemoItem.

orderItem (OrderItemLinkInput)

Reference to an OrderItem associated with the CreditMemoItem.

returnOrderItem (ReturnOrderItemKey)

Reference to a ReturnOrderItem associated with the CreditMemoItem.

product (ProductKey)

Reference to a Product associated with the CreditMemoItem.

unitQuantity (QuantityTypeInput!)

unitQuantity holds separately the amount and the unit associated.

unitTaxType (TaxTypeInput)

The tax type of this item. Should only be provided if different to the default credit memo tax type.

unitAmount (AmountTypeInput!)

The unit sale price at time of sale or exchange

unitCostAmount (AmountTypeInput)

The unit cost price at time of sale or exchange.

amount (AmountTypeInput!)

The item amount for this item excluding tax. This is a calculated value based on business rules that does not necessarily have to take into account the unit quantity or amounts.

taxAmount (AmountTypeInput!)

The tax amount for this item. If not present at the item level, tax amount should be generated based on the tax type set at the invoice parent level.