Skip to main content

OrderTotals

Order financial totals and calculations.

Comprehensive breakdown of order amounts including subtotals, taxes, discounts, and final totals.

IMPORTANT - tax semantics: in the Propeller API gross is the amount EXCLUDING tax and net is the amount INCLUDING tax (net = gross + tax). This is the REVERSE of common accounting usage, where gross means tax-inclusive. Do not map gross to a tax-inclusive field.

type OrderTotals {
orderId: Int! @deprecated
gross: Float!
net: Float!
tax: Float!
discountType: OrderDiscountType!
discountValue: Float!
taxPercentages: [OrderTotalTaxPercentage!]!
}

Fields​

OrderTotals.gross ● Float! non-null scalar​

The total of this Order excluding tax

OrderTotals.net ● Float! non-null scalar​

The total of this Order including tax

OrderTotals.tax ● Float! non-null scalar​

The total amount of tax for this Order

OrderTotals.discountType ● OrderDiscountType! non-null enum​

The type of global discount

OrderTotals.discountValue ● Float! non-null scalar​

The discount value, can be absolute or a percentage depending on the discountType

OrderTotals.taxPercentages ● [OrderTotalTaxPercentage!]! non-null object​

The totals per tax percentage

Show deprecated

Member Of​

Order object