Object » Order

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

Fields

appliedCoupons  ([Coupon])

cityTaxCents  (Int)

client  (Client)

countyTaxCents  (Int)

coupon  (Coupon)

datetime  (DateTime)

discount  (Decimal)

discountType  (DiscountType)

encounters  ([Encounter])

estimate  (Estimate)

flags  ([OrderFlag])

historicalId  (String)

id  (ID)

insertedAt  (NaiveDateTime)

invoiceReference  (String)

invoiced  (Boolean)

invoicedAt  (DateTime)

isAccountCredit  (Boolean)

if this order is representing an account credit

isCredit  (Boolean)

if this order is representing a credited order item

isNotRendered  (Boolean)

if this order is representing a not rendered order item

itemDiscountWithOrderDiscountCents  (Int)

itemDiscountWithoutOrderDiscountCents  (Int)

items  ([OrderItem])

location  (Location)

locationId  (ID)

memberDiscountCents  (Int)

note  (String)

orderDiscountCents  (Int)

otherTaxCents  (Int)

patient  (Patient)

patients  ([Patient])

payLink  (String)

paymentDue  (Price)

DEPRECATED: Deprecated! Will be removed soon. Use 'total' - 'totalPaid' to calculate instead. 

paymentDueCents  (Int)

payments  ([Payment])

planDiscountCents  (Int)

posted  (Boolean)

provider  (Provider)

stateTaxCents  (Int)

status  (InvoiceStatus)

statusChangeAt  (DateTime)

subtotal  (Decimal)

DEPRECATED: Please use `subtotalCents` 

subtotalCents  (Int)

taxRate  (Decimal)

total  (Price)

DEPRECATED: Please use `totalAfterTaxCents` 

totalAfterTaxCents  (Int)

totalBeforeTaxCents  (Int)

totalCouponDiscount  (Decimal)

DEPRECATED: Please use `itemDiscountWithOrderDiscountCents` 

totalDiscountCents  (Int)

totalDiscounted  (Decimal)

DEPRECATED: Please use `totalDiscountCents` 

totalMemberDiscount  (Decimal)

DEPRECATED: Please use sum of `memberDiscountCents` and `planDiscountCents` 

totalNotRendered  (Decimal)

totalPaid  (Decimal)

totalTax  (Decimal)

DEPRECATED: Please use `totalTaxCents` 

totalTaxCents  (Int)

updatedAt  (NaiveDateTime)