Object

Order

An order is an itemized list of products and/or services to bill a client for

Usage Example
query {
# Use this type in your queries
someQuery {
appliedCoupons
cityTaxCents
cityTaxRate
client
coownerBreakdown
}
}

Fields

appliedCoupons[Coupon]
cityTaxCentsInt
cityTaxRateDecimal
clientClient
coownerBreakdown[CoownerBreakdown!]
countyTaxCentsInt
countyTaxRateDecimal
couponCoupon
couponDiscountCentsInt
datetimeDateTime
discountDecimal
discountReasonString
discountTypeDiscountType
encounters[Encounter]
estimateEstimate
flags[OrderFlag]
hfdApplicationFeeHfdApplicationFee

Null unless the HFD integration is enabled for this invoice's location.

historicalIdString
idID
insertedAtNaiveDateTime
invoiceReferenceString
invoicedBoolean
invoicedAtDateTime
invoicedAtDateDate
isAccountCreditBoolean

if this order is representing an account credit

isCreditBoolean

if this order is representing a credited order item

isNotRenderedBoolean

if this order is representing a not rendered order item

itemDiscountWithOrderDiscountCentsInt
itemDiscountWithoutOrderDiscountCentsInt
items[OrderItem]
+
lateFees[LateFee]
lineDiscountCentsInt
locationLocation
locationIdID
memberDiscountCentsInt
noteString
orderDiscountCentsInt
otherTaxCentsInt
otherTaxRateDecimal
patientPatient
patients[Patient]
paymentDuePrice
DEPRECATED: Deprecated! Will be removed soon. Use 'total' - 'totalPaid' to calculate instead.
paymentDueCentsInt
payments[Payment]
planDiscountCentsInt
postedBoolean
providerProvider
stateTaxCentsInt
stateTaxRateDecimal
statusChangeAtDateTime
subtotalDecimal
DEPRECATED: Please use `subtotalCents`
subtotalCentsInt
surchargeDecimal
taxRateDecimal
DEPRECATED: This field is deprecated and will only ever return an order's `otherTaxRate`. Orders now have various tax rate fields you may want to read. Please update your queries to pull from `otherTaxRate`, `cityTaxRate`, `stateTaxRate`, and `countyTaxRate`.
totalPrice
DEPRECATED: Please use `totalAfterTaxCents`
totalAfterTaxCentsInt
totalBeforeTaxCentsInt
totalCouponDiscountDecimal
DEPRECATED: Please use `itemDiscountWithOrderDiscountCents`
totalCreditedCentsInt
totalDiscountCentsInt
totalDiscountedDecimal
DEPRECATED: Please use `totalDiscountCents`
totalMemberDiscountDecimal
DEPRECATED: Please use sum of `memberDiscountCents` and `planDiscountCents`
totalNotRenderedDecimal
DEPRECATED: Please use `totalNotRenderedCents`
totalNotRenderedCentsInt
totalPaidDecimal
totalTaxDecimal
DEPRECATED: Please use `totalTaxCents`
totalTaxCentsInt
totalTaxRateDecimal
totalWithSurchargePrice
updatedAtNaiveDateTime
updatedByIdID
verbiageString
visitVisit