# CalculatedDraftOrder - admin - OBJECT
Version: 2025-01

## Description
The calculated fields for a draft order.

### Access Scopes
`read_draft_orders` access scope.


## Fields
* [acceptAutomaticDiscounts](/docs/api/admin/2025-01/scalars/Boolean): Boolean - Whether or not to accept automatic discounts on the draft order during calculation.
If false, only discount codes and custom draft order discounts (see `appliedDiscount`) will be applied.
If true, eligible automatic discounts will be applied in addition to discount codes and custom draft order discounts.
* [alerts](/docs/api/admin/2025-01/objects/ResourceAlert): ResourceAlert! - The list of alerts raised while calculating.
* [allVariantPricesOverridden](/docs/api/admin/2025-01/scalars/Boolean): Boolean! - Whether all variant prices have been overridden.
* [anyVariantPricesOverridden](/docs/api/admin/2025-01/scalars/Boolean): Boolean! - Whether any variant prices have been overridden.
* [appliedDiscount](/docs/api/admin/2025-01/objects/DraftOrderAppliedDiscount): DraftOrderAppliedDiscount - The custom order-level discount applied.
* [availableShippingRates](/docs/api/admin/2025-01/objects/ShippingRate): ShippingRate! - The available shipping rates.
Requires a customer with a valid shipping address and at least one line item.
* [billingAddressMatchesShippingAddress](/docs/api/admin/2025-01/scalars/Boolean): Boolean! - Whether the billing address matches the shipping address.
* [currencyCode](/docs/api/admin/2025-01/enums/CurrencyCode): CurrencyCode! - The shop currency used for calculation.
* [customer](/docs/api/admin/2025-01/objects/Customer): Customer - The customer who will be sent an invoice.
* [discountCodes](/docs/api/admin/2025-01/scalars/String): String! - All discount codes applied.
* [lineItems](/docs/api/admin/2025-01/objects/CalculatedDraftOrderLineItem): CalculatedDraftOrderLineItem! - The list of the line items in the calculated draft order.
* [lineItemsSubtotalPrice](/docs/api/admin/2025-01/objects/MoneyBag): MoneyBag! - A subtotal of the line items and corresponding discounts,
excluding include shipping charges, shipping discounts, taxes, or order discounts.
* [marketName](/docs/api/admin/2025-01/scalars/String): String! - The name of the selected market.
* [marketRegionCountryCode](/docs/api/admin/2025-01/enums/CountryCode): CountryCode! - The selected country code that determines the pricing.
* [phone](/docs/api/admin/2025-01/scalars/String): String - The assigned phone number.
* [platformDiscounts](/docs/api/admin/2025-01/objects/DraftOrderPlatformDiscount): DraftOrderPlatformDiscount! - The list of platform discounts applied.
* [presentmentCurrencyCode](/docs/api/admin/2025-01/enums/CurrencyCode): CurrencyCode! - The payment currency used for calculation.
* [purchasingEntity](/docs/api/admin/2025-01/unions/PurchasingEntity): PurchasingEntity - The purchasing entity.
* [shippingLine](/docs/api/admin/2025-01/objects/ShippingLine): ShippingLine - The line item containing the shipping information and costs.
* [subtotalPrice](/docs/api/admin/2025-01/scalars/Money): Money! - The subtotal, in shop currency, of the line items and their discounts, excluding shipping charges, shipping discounts, and taxes.
* [subtotalPriceSet](/docs/api/admin/2025-01/objects/MoneyBag): MoneyBag! - The subtotal, of the line items and their discounts, excluding shipping charges, shipping discounts, and taxes.
* [taxLines](/docs/api/admin/2025-01/objects/TaxLine): TaxLine! - The list of of taxes lines charged for each line item and shipping line.
* [taxesIncluded](/docs/api/admin/2025-01/scalars/Boolean): Boolean! - Whether the line item prices include taxes.
* [totalDiscountsSet](/docs/api/admin/2025-01/objects/MoneyBag): MoneyBag! - Total discounts.
* [totalLineItemsPriceSet](/docs/api/admin/2025-01/objects/MoneyBag): MoneyBag! - Total price of line items.
* [totalPrice](/docs/api/admin/2025-01/scalars/Money): Money! - The total price, in shop currency, includes taxes, shipping charges, and discounts.
* [totalPriceSet](/docs/api/admin/2025-01/objects/MoneyBag): MoneyBag! - The total price, includes taxes, shipping charges, and discounts.
* [totalQuantityOfLineItems](/docs/api/admin/2025-01/scalars/Int): Int! - The sum of individual line item quantities.
If the draft order has bundle items, this is the sum containing the quantities of individual items in the bundle.
* [totalShippingPrice](/docs/api/admin/2025-01/scalars/Money): Money! - The total shipping price in shop currency.
* [totalShippingPriceSet](/docs/api/admin/2025-01/objects/MoneyBag): MoneyBag! - The total shipping price.
* [totalTax](/docs/api/admin/2025-01/scalars/Money): Money! - The total tax in shop currency.
* [totalTaxSet](/docs/api/admin/2025-01/objects/MoneyBag): MoneyBag! - The total tax.
* [transformerFingerprint](/docs/api/admin/2025-01/scalars/String): String - Fingerprint of the current cart.
In order to have bundles work, the fingerprint must be passed to
each request as it was previously returned, unmodified.
* [warnings](/docs/api/admin/2025-01/interfaces/DraftOrderWarning): DraftOrderWarning! - The list of warnings raised while calculating.

## Connections



## Related queries

## Related mutations
* [draftOrderCalculate](/docs/api/admin/2025-01/mutations/draftOrderCalculate) Calculates the properties of a draft order. Useful for determining information
such as total taxes or price without actually creating a draft order.

## Related Unions

## Examples