Skip to main content

LinePrice Object

Description

Price breakdown for a line item including base price, taxes, discounts, and totals.

Declaration

type LinePrice {
base: Float!
beforeTaxes: Float!
discounts: [LinePriceDiscount!]
postDiscount: Float
subtotal: Float
subtotalBeforeTaxes: Float
taxes: [Tax!]!
taxAmounts: [Tax!]
total: Float
}

Fields

NameTypeDescription
baseFloat!Base price of the item before any adjustments.
beforeTaxesFloat!Price before taxes are applied.
discounts[LinePriceDiscount!]Discounts applied to this line item.
postDiscountFloatPrice after discounts are applied.
subtotalFloatSubtotal for this line item after discounts and before taxes.
subtotalBeforeTaxesFloatSubtotal before taxes are applied.
taxes[Tax!]!Tax information applied to this line item.
taxAmounts[Tax!]Tax amounts broken down by tax definition.
totalFloatTotal price for this line item including all taxes and discounts.