# getOrderCalculations

### Arguments

| Argument                                                                                                                             | Description                                     |
| ------------------------------------------------------------------------------------------------------------------------------------ | ----------------------------------------------- |
| orderedProducts (\[[OrderedProductInput](https://developer.firmhouse.com/graphql-api/api-reference/objects/ordered-product-input)!]) | The ordered products that are part of the order |
| discountCode ([String](https://developer.firmhouse.com/graphql-api/api-reference/objects/string))                                    |                                                 |

### Return fields

#### amountUntilFreeShippingCents ([Int](https://developer.firmhouse.com/graphql-api/api-reference/objects/int))

Amount in cents until shipping is free

#### amountUntilFreeShippingExclTaxCents ([Int](https://developer.firmhouse.com/graphql-api/api-reference/objects/int))

Amount in cents until shipping is free excluding tax

#### amountUntilFreeShippingInclTaxCents ([Int](https://developer.firmhouse.com/graphql-api/api-reference/objects/int))

Amount in cents until shipping is free including tax

#### currency ([String](https://developer.firmhouse.com/graphql-api/api-reference/objects/string)!)

The currency for this order

#### discountCents ([Int](https://developer.firmhouse.com/graphql-api/api-reference/objects/int)!)

Total discount in cents including tax

#### discountExclTaxCents ([Int](https://developer.firmhouse.com/graphql-api/api-reference/objects/int)!)

Total discount excluding tax in cents

#### discountInclTaxCents ([Int](https://developer.firmhouse.com/graphql-api/api-reference/objects/int)!)

Total discount including tax in cents

#### percentDiscount ([Int](https://developer.firmhouse.com/graphql-api/api-reference/objects/int))

Total percentage of discount

#### promotionDiscountExclTaxCents ([Int](https://developer.firmhouse.com/graphql-api/api-reference/objects/int)!)

Promotion discount excluding tax in cents

#### promotionDiscountInclTaxCents ([Int](https://developer.firmhouse.com/graphql-api/api-reference/objects/int)!)

Promotion discount including tax in cents

#### shippingCostsCents ([Int](https://developer.firmhouse.com/graphql-api/api-reference/objects/int)!)

ShippingCosts in cents for the (virtual) order including tax

#### shippingCostsExclTaxCents ([Int](https://developer.firmhouse.com/graphql-api/api-reference/objects/int)!)

ShippingCosts in cents for the (virtual) order excluding tax

#### shippingCostsInclTaxCents ([Int](https://developer.firmhouse.com/graphql-api/api-reference/objects/int)!)

ShippingCosts in cents for the (virtual) order including tax

#### subtotalBeforeShippingExclTaxCents ([Int](https://developer.firmhouse.com/graphql-api/api-reference/objects/int)!)

Subtotal in cents before shipping and discount excluding tax

#### subtotalBeforeShippingInclTaxCents ([Int](https://developer.firmhouse.com/graphql-api/api-reference/objects/int)!)

Subtotal in cents before shipping and discount including tax

#### subtotalCents ([Int](https://developer.firmhouse.com/graphql-api/api-reference/objects/int)!)

Subtotal in cents before shipping and discount

#### totalCents ([Int](https://developer.firmhouse.com/graphql-api/api-reference/objects/int)!)

Total in cents including tax

#### totalExclTaxCents ([Int](https://developer.firmhouse.com/graphql-api/api-reference/objects/int)!)

Total in cents excluding tax

#### totalInclTaxCents ([Int](https://developer.firmhouse.com/graphql-api/api-reference/objects/int)!)

Total in cents including tax

#### totalTaxCents ([Int](https://developer.firmhouse.com/graphql-api/api-reference/objects/int)!)

Total tax in cents for the (virtual) order

#### volumeDiscountExclTaxCents ([Int](https://developer.firmhouse.com/graphql-api/api-reference/objects/int)!)

Volume discount excluding tax in cents

#### volumeDiscountInclTaxCents ([Int](https://developer.firmhouse.com/graphql-api/api-reference/objects/int)!)

Volume discount including tax in cents
