Object » Order

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

Fields

totalCouponDiscount  (Decimal)

note  (String)

discountType  (DiscountType)

items  ([OrderItem])

id  (ID)

coupon  (Coupon)

client  (Client)

totalMemberDiscount  (Decimal)

payments  ([Payment])

posted  (Boolean)

status  (InvoiceStatus)

subtotal  (Decimal)

invoiceReference  (String)

invoiced  (Boolean)

location  (Location)

provider  (Provider)

discount  (Decimal)

invoicedAt  (DateTime)

isAccountCredit  (Boolean)

if this order is representing an account credit

encounters  ([Encounter])

totalTax  (Decimal)

isNotRendered  (Boolean)

if this order is representing a not rendered order item

totalNotRendered  (Decimal)

flags  ([OrderFlag])

patients  ([Patient])

totalPaid  (Decimal)

statusChangeAt  (DateTime)

datetime  (DateTime)

totalDiscounted  (Decimal)

taxRate  (Decimal)

locationId  (ID)

isCredit  (Boolean)

if this order is representing a credited order item

estimate  (Estimate)

total  (Price)

updatedAt  (NaiveDateTime)

paymentDue  (Price)

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

appliedCoupons  ([Coupon])

insertedAt  (NaiveDateTime)