StripeInvoice
Stripe invoice record with payment details and optional coupon information
type StripeInvoice {
id: String!
number: String
amountPaid: Float!
status: String!
created: Time!
hostedInvoiceUrl: String
invoicePdf: String
billingReason: String
periodStart: Time!
periodEnd: Time!
discountAmount: Float!
couponName: String
couponPercentOff: Float
couponAmountOff: Float
}
Fields
StripeInvoice.id ● String! non-null scalar
StripeInvoice.number ● String scalar
StripeInvoice.amountPaid ● Float! non-null scalar
StripeInvoice.status ● String! non-null scalar
StripeInvoice.created ● Time! non-null scalar
StripeInvoice.hostedInvoiceUrl ● String scalar
StripeInvoice.invoicePdf ● String scalar
StripeInvoice.billingReason ● String scalar
StripeInvoice.periodStart ● Time! non-null scalar
StripeInvoice.periodEnd ● Time! non-null scalar
StripeInvoice.discountAmount ● Float! non-null scalar
Total discount applied to this invoice (in dollars). Zero if no coupon.
StripeInvoice.couponName ● String scalar
Coupon/promotion code name shown to the customer (e.g., "WELCOME20"). Null if no coupon.
StripeInvoice.couponPercentOff ● Float scalar
Coupon percentage off (e.g., 20.0 for 20%). Null if amount-off coupon or no coupon.
StripeInvoice.couponAmountOff ● Float scalar
Coupon fixed amount off in dollars. Null if percent-off coupon or no coupon.
Returned By
paymentHistory query