BillingItem
Billing
Fields
amount_paid
· String · Raw amount value (use amount_paid_string for displaying money amounts) amount_paid_string
· String · Formatted money amount with 2 decimal places - use this field for displaying payment amounts application_fee_amount
· String · Fee charged by stripe in cents card_brand
· String · card brand used for this charge (e.g. visa, mastercard) for succeeded payments card_last4
· String · last 4 digits of the card used for this specific charge for succeeded payments card_source
· String · card brand and last4 digits in the event of a failed charge charge_backs
· [ChargeBack!] · the related charge backs coupon_code
· String · coupon code cpt_codes_super_bills_id
· ID · cpt codes super bills id deleted_at
· ISO8601DateTime · date payment was deleted failure_reason
· String · Error message returned when payment failed invoice_id
· ID · id of invoice deprecated
Use requested_payment_id instead. This will return the same data as thatis_canceled
· Boolean · canceled indicator is_invoice_paid_early
· Boolean!
· required · True when this is a scheduled billing item whose invoice was already paid by another billing item (early payment scenario) is_outside_payment
· Boolean · Whether this payment was made outside of Healthie is_recurring
· Boolean · Whether this payment is recurring item_position_number
· Int · The index number of partial payment net_payment
· String · The payment, after refunds are taken out next_scheduled_payment_amount
· String · Nil unless the payment is an uncharged upcoming scheduled payment. Otherwise, is the payment amount that is scheduled to be charged offering
· Offering · The offering the payment is for. Subsequent payments of a recurring payment plan (plan renewals) do not have one. Payments that settle multiple invoices have none either. deprecated
Use `BillingItem.offerings`. A payment can pay for more than one offeringoffering_coupon
· OfferingCoupon · offering coupon connected to the payment offering_coupon_id
· ID · id of coupon offering_id
· ID · The id of the offering the payment is for. Subsequent payments of a recurring payment plan (plan renewals) do not have one. Payments that settle multiple invoices have none either. deprecated
Use `BillingItem.offerings`. A payment can pay for more than one offeringofferings
· [Offering!]!
· required · Every offering this payment paid for, ordered by id. Deleted offerings are included. original_price
· String · original price payment_for
· String · What this charge paid for, such as a package, an appointment, or a no-show or late cancellation fee. A charge applied to more than one invoice lists them, e.g. "2 invoices: JA-2240-2026, JA-2241-2026"; use requested_payments for each invoice's details and amount payment_medium
· ID · payment medium receipt_last_sent_at
· ISO8601DateTime · receipt last sent at date recipient_id
· ID · ID of receiver deprecated
Use recipient_ids instead. A charge can pay invoices from several providers.recurring_payment
· RecurringPayment · recurring payment connected to the payment refund_amount
· String · amount of refund refund_date
· ISO8601DateTime · date of refund refund_items
· [RefundItem!] · the related refundings requested_payer
· RequestedPayer · Individual responsible for payment. If user_id, user exists in Healthie, if not, individual doesn't have a Healthie account requested_payment
· RequestedPayment · The connected requested payment requested_payment_id
· ID · The ID of the requested payment (we call them invoices in our UI) requested_payments
· BillingItemRequestedPaymentConnection!
· required · All invoices this billing item was applied against, ordered by invoice id, with the amount of this charge applied to each on the edge. An invoice that has been deleted keeps its edge and amount, with a null node shown_description
· String · The description text to show for the payment shown_note
· String · The note text to show for the payment state
· BillingItemState · Enum status of billing item succeeded/failed stripe_charge_id
· ID · id of stripe charge stripe_error
· String · A JSON object containing information on why Stripe was unable to process a charge successful_retried_payment
· BillingItem · if a failed payment is retried successfully then this will reference that successful payment updated_at
· ISO8601DateTime · updated at date user_package_selection
· UserPackageSelection · The first user package selection connected to this payment, by id deprecated
Use `BillingItem.user_package_selections`. A payment can create one selection per offeringuser_package_selections
· [UserPackageSelection!]!
· required · Every user package selection connected to this payment, ordered by id Used By
Definition
"""Billing"""type BillingItem { """ Raw amount value (use amount_paid_string for displaying money amounts) """ amount_paid: String
""" Formatted money amount with 2 decimal places - use this field for displaying payment amounts """ amount_paid_string: String
""" Fee charged by stripe in cents """ application_fee_amount: String
""" card brand used for this charge (e.g. visa, mastercard) for succeeded payments """ card_brand: String
""" last 4 digits of the card used for this specific charge for succeeded payments """ card_last4: String
""" card brand and last4 digits in the event of a failed charge """ card_source: String
""" the related charge backs """ charge_backs: [ChargeBack!]
""" coupon code """ coupon_code: String
""" cpt codes super bills id """ cpt_codes_super_bills_id: ID
""" created at date """ created_at: ISO8601DateTime!
""" type of currency """ currency: String
""" date payment was deleted """ deleted_at: ISO8601DateTime
""" Error message returned when payment failed """ failure_reason: String
""" Name of person who gifted this package(if applicable). Returns nil if not an offering or if not a gift """ gifted_by: String
""" Name of person who received this package as a gift. Returns nil if not an offering or if not a gift """ gifted_to: String
""" The unique identifier of the billing item """ id: ID!
""" id of invoice """ invoice_id: ID @deprecated( reason: "Use requested_payment_id instead. This will return the same data as that" )
""" canceled indicator """ is_canceled: Boolean
""" True when this is a scheduled billing item whose invoice was already paid by another billing item (early payment scenario) """ is_invoice_paid_early: Boolean!
""" Whether this payment was made outside of Healthie """ is_outside_payment: Boolean
""" Whether this payment is recurring """ is_recurring: Boolean
""" The index number of partial payment """ item_position_number: Int
""" A serialized JSON string of metadata """ metadata: JSON
""" The payment, after refunds are taken out """ net_payment: String
""" Nil unless the payment is an uncharged upcoming scheduled payment. Otherwise, is the payment amount that is scheduled to be charged """ next_scheduled_payment_amount: String
""" payment note """ note: String
""" The offering the payment is for. Subsequent payments of a recurring payment plan (plan renewals) do not have one. Payments that settle multiple invoices have none either. """ offering: Offering @deprecated( reason: "Use `BillingItem.offerings`. A payment can pay for more than one offering" )
""" offering coupon connected to the payment """ offering_coupon: OfferingCoupon
""" id of coupon """ offering_coupon_id: ID
""" The id of the offering the payment is for. Subsequent payments of a recurring payment plan (plan renewals) do not have one. Payments that settle multiple invoices have none either. """ offering_id: ID @deprecated( reason: "Use `BillingItem.offerings`. A payment can pay for more than one offering" )
""" Every offering this payment paid for, ordered by id. Deleted offerings are included. """ offerings: [Offering!]!
""" original price """ original_price: String
""" What this charge paid for, such as a package, an appointment, or a no-show or late cancellation fee. A charge applied to more than one invoice lists them, e.g. "2 invoices: JA-2240-2026, JA-2241-2026"; use requested_payments for each invoice's details and amount """ payment_for: String
""" payment medium """ payment_medium: ID
""" provider """ provider: User
""" receipt last sent at date """ receipt_last_sent_at: ISO8601DateTime
""" recipient of this payment """ recipient: User
""" ID of receiver """ recipient_id: ID @deprecated( reason: "Use recipient_ids instead. A charge can pay invoices from several providers." )
""" IDs of every provider whose invoices were paid by this charge """ recipient_ids: [ID!]!
""" Every provider whose invoices were paid by this charge """ recipients: [User!]!
""" recurring payment connected to the payment """ recurring_payment: RecurringPayment
""" amount of refund """ refund_amount: String
""" date of refund """ refund_date: ISO8601DateTime
""" the related refundings """ refund_items: [RefundItem!]
""" Individual responsible for payment. If user_id, user exists in Healthie, if not, individual doesn't have a Healthie account """ requested_payer: RequestedPayer
""" The connected requested payment """ requested_payment: RequestedPayment
""" The ID of the requested payment (we call them invoices in our UI) """ requested_payment_id: ID
""" All invoices this billing item was applied against, ordered by invoice id, with the amount of this charge applied to each on the edge. An invoice that has been deleted keeps its edge and amount, with a null node """ requested_payments( """ Returns the elements in the list that come after the specified cursor. """ after: String
""" Returns the elements in the list that come before the specified cursor. """ before: String
""" Returns the first _n_ elements from the list. """ first: Int
""" Returns the last _n_ elements from the list. """ last: Int ): BillingItemRequestedPaymentConnection!
""" sender of this payment """ sender: User
""" id of sender """ sender_id: ID
""" The description text to show for the payment """ shown_description: String
""" The note text to show for the payment """ shown_note: String
""" Enum status of billing item succeeded/failed """ state: BillingItemState
""" id of stripe charge """ stripe_charge_id: ID
""" A JSON object containing information on why Stripe was unable to process a charge """ stripe_error: String
""" if a failed payment is retried successfully then this will reference that successful payment """ successful_retried_payment: BillingItem
""" updated at date """ updated_at: ISO8601DateTime
""" The first user package selection connected to this payment, by id """ user_package_selection: UserPackageSelection @deprecated( reason: "Use `BillingItem.user_package_selections`. A payment can create one selection per offering" )
""" Every user package selection connected to this payment, ordered by id """ user_package_selections: [UserPackageSelection!]!}