idstring
The unique identifier of the order line item.
createdByIdstring
The unique identifier of the user who created the order line item.
createdDatestring date-time
The time that the order line item gets created in the system, in the
YYYY-MM-DD HH:MM:SS format.
updatedByIdstring
The unique identifier of the user who last updated the order line item.
updatedDatestring date-time
The date and time when the order line item was last updated.
accountingCodestring nullable
The accountingCode for the Order Line Item (OLI).
You can update this field only for a sales OLI and only when the sales OLI is in the Executing state (when the itemState field is set as Executing).
billTargetDatestring date
The target date for the Order Line Item (OLI) to be picked up by bill run for generating billing documents.
To generate billing documents for an OLI, you must set this field and set the itemState field to SentToBilling.
You can update this field for a sales or return OLI only when the OLI is in the Executing state (when the itemState field is set as Executing).
amountPerUnitnumber
The actual charged amount per unit for the Order Line Item (OLI).
You can update this field only for a sales OLI and only when the sales OLI is in the Executing state (when the itemState field is set as Executing).
descriptionstring
The description of the Order Line Item.
amountnumber
The total amount for the Order Line Item (OLI).
amountWithoutTaxnumber
The total amount for the Order Line Item (OLI) excluding tax.
itemNamestring
The name of the Order Line Item (OLI).
You can update this field for a sales or return OLI only when the OLI is in the Executing state (when the itemState field is set as Executing).
itemNumberstring
The number for the Order Line Item (OLI).
You can update this field for a sales or return OLI only when the OLI is in the Executing state (when the itemState field is set as Executing).
itemState'Executing' | 'Booked' | 'SentToBilling' | 'Complete' | 'Cancelled'
The state of the Order Line Item (OLI). See State transitions for an order, order line item, and fulfillment for more information.
To generate invoice for an OLI, you must set this field to SentToBilling and set the billTargetDate field .
You can update this field for a sales or return OLI only when the OLI is in the Executing or 'Booked' or SentToBillingstate (when the itemState field is set as Executing or SentToBilling).
itemType'Product' | 'Fee' | 'Services'
The type of the Order Line Item (OLI).
You can update this field only for a sales OLI and only when the sales OLI is in the Executing state (when the itemState field is set as Executing).
listPricePerUnitnumber
The list price per unit for the Order Line Item (OLI).
You can update this field only for a sales OLI and only when the sales OLI is in the Executing state (when the itemState field is set as Executing).
listPricenumber
The extended list price for an order line item, calculated by the formula:
listPrice = listPricePerUnit * quantity
orderIdstring
The ID of the order that the order line item belongs to.
orderNumberstring
The number of the order that the order line item belongs to.
productCodestring
The product code for the Order Line Item (OLI).
You can update this field only for a sales OLI and only when the sales OLI is in the Executing state (when the itemState field is set as Executing).
purchaseOrderNumberstring
Used by customers to specify the Purchase Order Number provided by the buyer.
You can update this field only for a sales OLI and only when the sales OLI is in the Executing state (when the itemState field is set as Executing).
quantitynumber
The quantity of units, such as the number of authors in a hosted wiki service.
You can update this field for a sales or return OLI only when the OLI in the Executing state (when the itemState field is set as Executing).
revenueRecognitionRulestring
The Revenue Recognition rule for the Order Line Item.
productRatePlanChargeIdstring
ID of a Product Rate Plan Charge. Only one-time charges are supported.
billToIdstring
The ID of a contact that belongs to the billing account of the order line item. Use this field to assign an existing account as the bill-to contact of an order line item.
billToSnapshotIdstring
The snapshot of the ID for an account used as the bill-to contact of an order line item. This field is used to store the original information about the account, in case the information about the account is changed after the creation of the order line item. The billToSnapshotId field is exposed while retrieving the order line item details.
shipTostring
The ID of a contact that belongs to the owner acount or billing account of the order line item. Use this field to assign an existing account as the ship-to contact of an order line item.
shipToSnapshotIdstring
The snapshot of the ID for an account used as the ship-to contact of an order line item. This field is used to store the original information about the account, in case the information about the account is changed after the creation of the order line item. The shipToSnapshotId field is exposed while retrieving the order line item details.
soldTostring
The ID of a contact that belongs to the owner acount or billing account of the order line item. Use this field to assign an existing account as the sold-to contact of an order line item.
soldToSnapshotIdstring
The snapshot of the ID for an account used as the sold-to contact of an order line item. This field is used to store the original information about the account, in case the information about the account is changed after the creation of the order line item. The soldToSnapshotId field is exposed while retrieving the order line item details.
soldToOrderContactIdstring
The ID of the sold-to contact for the order.
ownerAccountIdstring
The account ID of the owner of the order line item.
invoiceOwnerAccountIdstring
The account ID of the invoice owner of the order line item.
taxCodestring
The tax code for the Order Line Item (OLI).
You can update this field only for a sales OLI and only when the sales OLI is in the Executing state (when the itemState field is set as Executing).
taxMode'TaxInclusive' | 'TaxExclusive'
The tax mode for the Order Line Item (OLI).
You can update this field only for a sales OLI and only when the sales OLI is in the Executing state (when the itemState field is set as Executing).
transactionDatestring date
The date when the transaction occurs.
uOMstring
Specifies the units to measure usage.
You can update this field only for a sales OLI and only when the sales OLI is in the Executing state (when the itemState field is set as Executing).
relatedSubscriptionNumberstring
This field is used to relate an order line item to an subscription.
You can update this field only for a sales OLI and only when the sales OLI is in the Executing state (when the itemState field is set as Executing).
transactionEndDatestring date
The date a transaction is completed. The default value of this field is the transaction start date. Also, the value of this field should always equal or be later than the value of the transactionStartDate field.
You can update this field for a sales or return OLI only when the OLI is in the Executing state (when the itemState field is set as Executing).
transactionStartDatestring date
The date a transaction starts. The default value of this field is the order date.
You can update this field for a sales or return OLI only when the OLI is in the Executing state (when the itemState field is set as Executing).
excludeItemBillingFromRevenueAccountingboolean
Indicates whether to exclude the related invoice items, invoice item adjustments, credit memo items, and debit memo items from revenue accounting.
Note: This field is only available if you have the Order to Revenue or Billing - Revenue Integration feature enabled.
excludeItemBookingFromRevenueAccountingboolean
Indicates whether to exclude the related rate plan charges and order line items from revenue accounting.
Note: This field is only available if you have the Order to Revenue or Billing - Revenue Integration feature enabled.
originalOrderDatestring date
The date of the original sale order for a return order line item.
amendedByOrderOnstring date
The date of the amended order for a return order line item.
itemCategory'Sales' | 'Return'
The category of the Order Line Item, to indicate a product sale or return.
originalOrderIdstring
The ID of the original sale order for a return order line item.
originalOrderLineItemIdstring
The ID of the original sale order line item for a return order line item.
originalOrderLineItemNumberstring
The number of the original sale order line item for a return order line item.
originalOrderNumberstring
The number of the original sale order for a return order line item.
quantityAvailableForReturnnumber
The quantity that can be returned for an order line item.
quantityFulfillednumber
The fulfilled quantity for an order line item.
quantityPendingFulfillmentnumber
The quantity to fulfill for an order line item.
requiresFulfillmentboolean
The flag to show whether fulfillment is needed or not. It's derived from billing rule of the Order Line Item.
billingRule'TriggerWithoutFulfillment' | 'TriggerAsFulfillmentOccurs'
The billing rule of the Order Line Item.
inlineDiscountPerUnitnumber
This field is used in accordance with the inlineDiscountType field, in the following manner:
- If the inlineDiscountType field is set as Percentage, this field specifies the discount percentage for each unit of the order line item. For exmaple, if you specify 5 in this field, the discount percentage is 5%.
- If the inlineDiscountType field is set as FixedAmount, this field specifies the discount amount on each unit of the order line item. For exmaple, if you specify 10 in this field, the discount amount on each unit of the order line item is 10.
Once you set the inlineDiscountType, inlineDiscountPerUnit, and listPricePerUnit fields, the system will automatically generate the amountPerUnit field. You shall not set the amountPerUnit field by yourself.
inlineDiscountType'Percentage' | 'FixedAmount' | 'None'
This field is used to specify the inline discount type, which can be Percentage, FixedAmount, or None. The default value is Percentage.
This field is used together with the inlineDiscountPerUnit field to specify inline discounts for order line items. The inline discount is applied to the list price of an order line item.
Once you set the inlineDiscountType, inlineDiscountPerUnit, and listPricePerUnit fields, the system will automatically generate the amountPerUnit field. You shall not set the amountPerUnit field by yourself.
discountnumber
This field shows the total discount amount that is applied to an order line item after the inlineDiscountType, inlineDiscountPerUnit and quantity fields are set.
The inline discount is applied to the list price of an order line item.
recognizedRevenueAccountingCodeIdstring
The recognized revenue accounting code for the Order Line Item.
deferredRevenueAccountingCodeIdstring
The deferred revenue accounting code for the Order Line Item.
contractAssetAccountingCodestring
contractLiabilityAccountingCodestring
contractRecognizedRevenueAccountingCodeIdstring
unbilledReceivablesAccountingCodeIdstring
adjustmentRevenueAccountingCodeIdstring
adjustmentLiabilityAccountingCodeIdstring