LineItem
An entry in an invoice.
type LineItem {
id: ID
referenceId: ID
referenceType: String
date: Date
title: String
productType: String
itemCode: String
cost: Float
price: Float
quantity: Float
taxRate: Float
total: Float
netTotal: Float
healthcodeCode: String
providerHealthcodeIdentifier: String
healthcode: LineItemHealthcode
}
Fields
LineItem.id ● ID scalar
LineItem.referenceId ● ID scalar
The ID of the object this line item is associated with.
LineItem.referenceType ● String scalar
The type of object referenced by referenceId. Possible values are Booking, Record, Product, MembershipProduct, and Pathway.
LineItem.date ● Date scalar
LineItem.title ● String scalar
LineItem.productType ● String scalar
LineItem.itemCode ● String scalar
LineItem.cost ● Float scalar
LineItem.price ● Float scalar
LineItem.quantity ● Float scalar
LineItem.taxRate ● Float scalar
LineItem.total ● Float scalar
LineItem.netTotal ● Float scalar
Invoice snapshot: line total including tax (total + total × taxRate / 100 when taxRate is set), matching Healthcode NetTotal.
LineItem.healthcodeCode ● String scalar
Invoice snapshot: preferred Healthcode item code — healthcode.serviceCode when set, otherwise healthcode.industryStandardCode.
LineItem.providerHealthcodeIdentifier ● String scalar
Current data: default Healthcode provider number for this line, from the invoice doctor's user profile (same default as doctorHealthcodeIdentifier). Submission may override per line.
LineItem.healthcode ● LineItemHealthcode object
Invoice snapshot: Healthcode service and procedure codes stored on the line item.
Member Of
Invoice object