# CalculatedDraftOrder - admin - OBJECT Version: 2024-04 ## Description The calculated fields for a draft order. ### Access Scopes `read_draft_orders` access scope. ## Fields * [appliedDiscount](/docs/api/admin/2024-04/objects/DraftOrderAppliedDiscount): DraftOrderAppliedDiscount - The custom order-level discount applied. * [availableShippingRates](/docs/api/admin/2024-04/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/2024-04/scalars/Boolean): Boolean! - Whether the billing address matches the shipping address. * [currencyCode](/docs/api/admin/2024-04/enums/CurrencyCode): CurrencyCode! - The shop currency used for calculation. * [customer](/docs/api/admin/2024-04/objects/Customer): Customer - The customer who will be sent an invoice. * [lineItems](/docs/api/admin/2024-04/objects/CalculatedDraftOrderLineItem): CalculatedDraftOrderLineItem! - The list of the line items in the calculated draft order. * [lineItemsSubtotalPrice](/docs/api/admin/2024-04/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/2024-04/scalars/String): String! - The name of the selected market. * [marketRegionCountryCode](/docs/api/admin/2024-04/enums/CountryCode): CountryCode! - The selected country code that determines the pricing. * [phone](/docs/api/admin/2024-04/scalars/String): String - The assigned phone number. * [presentmentCurrencyCode](/docs/api/admin/2024-04/enums/CurrencyCode): CurrencyCode! - The payment currency used for calculation. * [purchasingEntity](/docs/api/admin/2024-04/unions/PurchasingEntity): PurchasingEntity - The purchasing entity. * [shippingLine](/docs/api/admin/2024-04/objects/ShippingLine): ShippingLine - The line item containing the shipping information and costs. * [subtotalPrice](/docs/api/admin/2024-04/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/2024-04/objects/MoneyBag): MoneyBag! - The subtotal, of the line items and their discounts, excluding shipping charges, shipping discounts, and taxes. * [taxLines](/docs/api/admin/2024-04/objects/TaxLine): TaxLine! - The list of of taxes lines charged for each line item and shipping line. * [totalDiscountsSet](/docs/api/admin/2024-04/objects/MoneyBag): MoneyBag! - Total discounts. * [totalLineItemsPriceSet](/docs/api/admin/2024-04/objects/MoneyBag): MoneyBag! - Total price of line items. * [totalPrice](/docs/api/admin/2024-04/scalars/Money): Money! - The total price, in shop currency, includes taxes, shipping charges, and discounts. * [totalPriceSet](/docs/api/admin/2024-04/objects/MoneyBag): MoneyBag! - The total price, includes taxes, shipping charges, and discounts. * [totalShippingPrice](/docs/api/admin/2024-04/scalars/Money): Money! - The total shipping price in shop currency. * [totalShippingPriceSet](/docs/api/admin/2024-04/objects/MoneyBag): MoneyBag! - The total shipping price. * [totalTax](/docs/api/admin/2024-04/scalars/Money): Money! - The total tax in shop currency. * [totalTaxSet](/docs/api/admin/2024-04/objects/MoneyBag): MoneyBag! - The total tax. ## Connections ## Related queries ## Related mutations * [draftOrderCalculate](/docs/api/admin/2024-04/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