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]
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]
+
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
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
updatedAtNaiveDateTime
verbiageString
visitVisit