PaidInvoice
PaidInvoice
PaidInvoice
Kind: Object
Fields
| Field | Type | Description |
|---|---|---|
amountAvailableToRefund |
Int! |
The amount available to refund in cents (total minus already-refunded credit notes) |
billingReason |
String |
The billing reason for the paid invoice |
card |
Card |
The card used to make the payment, if any |
createdAt |
DateTime! |
The date and time the paid invoice was created |
customer |
SimpleRollerupCustomer |
The customer who was sold to |
employee |
Employee |
The employee who made the sale |
id |
ID! |
|
invoiceUrl |
String |
The url for the invoice |
isRecharge |
Boolean! |
Whether this invoice is a recharge (subscription_cycle billing reason) |
isUpdate |
Boolean! |
Whether this invoice is an update (subscription_update billing reason) |
lineItems |
[SimplePaidInvoiceLineItem!] |
The line items that were sold in the paid invoice |
location |
SimpleLocation |
The location that the paid invoice occurred in |
paymentMethodType |
PaymentMethodType |
How the invoice was paid, or null when it isn’t known |
stripeChargeId |
String |
The charge ID associated with the paid invoice |
stripeInvoiceId |
String |
The Stripe invoice ID associated with the paid invoice |
subscriptionId |
String |
The RollerUp subscription ID associated with this paid invoice |
total |
Int! |
The total amount of the paid invoice in cents |
visit |
Visit |
The visit that the paid invoice occurred in |
Definition
type PaidInvoice {
"""
The amount available to refund in cents (total minus already-refunded credit notes)
"""
amountAvailableToRefund: Int!
"""The billing reason for the paid invoice"""
billingReason: String
"""The card used to make the payment, if any"""
card: Card
"""The date and time the paid invoice was created"""
createdAt: DateTime!
"""The customer who was sold to"""
customer: SimpleRollerupCustomer
"""The employee who made the sale"""
employee: Employee
id: ID!
"""The url for the invoice"""
invoiceUrl: String
"""Whether this invoice is a recharge (subscription_cycle billing reason)"""
isRecharge: Boolean!
"""Whether this invoice is an update (subscription_update billing reason)"""
isUpdate: Boolean!
"""The line items that were sold in the paid invoice"""
lineItems: [SimplePaidInvoiceLineItem!]
"""The location that the paid invoice occurred in"""
location: SimpleLocation
"""How the invoice was paid, or null when it isn't known"""
paymentMethodType: PaymentMethodType
"""The charge ID associated with the paid invoice"""
stripeChargeId: String
"""The Stripe invoice ID associated with the paid invoice"""
stripeInvoiceId: String
"""The RollerUp subscription ID associated with this paid invoice"""
subscriptionId: String
"""The total amount of the paid invoice in cents"""
total: Int!
"""The visit that the paid invoice occurred in"""
visit: Visit
}