# Sale - admin-graphql - INTERFACE Version: 2024-10 ## Description An individual sale record associated with a sales agreement. Every money value in an order's sales data is represented in the currency's smallest unit. When amounts are divided across multiple line items, such as taxes or order discounts, the amounts might not divide evenly across all of the line items on the order. To address this, the remaining currency units that couldn't be divided evenly are allocated one at a time, starting with the first line item, until they are all accounted for. In aggregate, the values sum up correctly. In isolation, one line item might have a different tax or discount amount than another line item of the same price, before taxes and discounts. This is because the amount could not be divided evenly across the items. The allocation of currency units across line items is immutable. After they are allocated, currency units are never reallocated or redistributed among the line items. ### Access Scopes `read_orders` access scope. ## Fields * [actionType](/docs/api/admin-graphql/2024-10/enums/SaleActionType): SaleActionType! - The type of order action that the sale represents. * [id](/docs/api/admin-graphql/2024-10/scalars/ID): ID! - The unique ID for the sale. * [lineType](/docs/api/admin-graphql/2024-10/enums/SaleLineType): SaleLineType! - The line type assocated with the sale. * [quantity](/docs/api/admin-graphql/2024-10/scalars/Int): Int - The number of units either ordered or intended to be returned. * [taxes](/docs/api/admin-graphql/2024-10/objects/SaleTax): SaleTax! - All individual taxes associated with the sale. * [totalAmount](/docs/api/admin-graphql/2024-10/objects/MoneyBag): MoneyBag! - The total sale amount after taxes and discounts. * [totalDiscountAmountAfterTaxes](/docs/api/admin-graphql/2024-10/objects/MoneyBag): MoneyBag! - The total discounts allocated to the sale after taxes. * [totalDiscountAmountBeforeTaxes](/docs/api/admin-graphql/2024-10/objects/MoneyBag): MoneyBag! - The total discounts allocated to the sale before taxes. * [totalTaxAmount](/docs/api/admin-graphql/2024-10/objects/MoneyBag): MoneyBag! - The total amount of taxes for the sale. ## Connections ## Types implemented in * [AdditionalFeeSale](/docs/api/admin-graphql/2024-10/objects/AdditionalFeeSale) * [AdjustmentSale](/docs/api/admin-graphql/2024-10/objects/AdjustmentSale) * [DutySale](/docs/api/admin-graphql/2024-10/objects/DutySale) * [FeeSale](/docs/api/admin-graphql/2024-10/objects/FeeSale) * [GiftCardSale](/docs/api/admin-graphql/2024-10/objects/GiftCardSale) * [ProductSale](/docs/api/admin-graphql/2024-10/objects/ProductSale) * [ShippingLineSale](/docs/api/admin-graphql/2024-10/objects/ShippingLineSale) * [TipSale](/docs/api/admin-graphql/2024-10/objects/TipSale) * [UnknownSale](/docs/api/admin-graphql/2024-10/objects/UnknownSale) ## Examples