OBJECT

Billing

Billing record.

link GraphQL Schema definition

  • type Billing implements Node {
  • # The billing amount. Denominated in cents.
  • amountCents: Int! @deprecated( reason: "Prices can be larger than is representable by a graphql integer. Use the string version instead. This field will be removed no earlier than July 1st, 2025. " )
  • # The billing amount excluding tax.
  • amountExTax: Decimal!
  • # The billing amount excluding tax. Denominated in cents.
  • amountExTaxCents: Int! @deprecated( reason: "Prices can be larger than is representable by a graphql integer. Use the string version instead. This field will be removed no earlier than July 1st, 2025. " )
  • # The billing amount excluding tax. In string with currency symbol.
  • #
  • # Arguments
  • # currency: Currency in which to display money fields. Defaults
  • # to the currency of the marketplace's home country.
  • amountExTaxFormatted(currency: String): String!
  • # The billing amount. In string with currency symbol.
  • #
  • # Arguments
  • # currency: Currency in which to display money fields. Defaults
  • # to the currency of the marketplace's home country.
  • amountFormatted(currency: String): String!
  • billingLineItems: [BillingLineItem!]!
  • # The date the billing was created.
  • createdAt: ISO8601DateTime!
  • id: ID!
  • # The id used to identify the billing.
  • legacyId: Int!
  • # The date the billing was paid.
  • paidDate: ISO8601DateTime
  • # Arguments
  • # after: Returns the elements in the list that come after the
  • # specified cursor.
  • # before: Returns the elements in the list that come before the
  • # specified cursor.
  • # first: Returns the first _n_ elements from the list.
  • # last: Returns the last _n_ elements from the list.
  • paymentEvents(after: String, before: String, first: Int, last: Int): PaymentEventConnection!
  • # Link to retrieve the billing invoice in PDF format (EXPENSIVE TO GENERATE)
  • pdfData: String @deprecated( reason: "Use pdfData instead" )
  • # Link to retrieve the billing invoice in PDF format
  • pdfLink: String
  • seller: Seller!
  • status: BillingStatusEnum!
  • # The tax on the billing.
  • taxTotal: Decimal!
  • # The tax on the billing. Denominated in cents.
  • taxTotalCents: Int! @deprecated( reason: "Prices can be larger than is representable by a graphql integer. Use the string version instead. This field will be removed no earlier than July 1st, 2025. " )
  • # The tax on the billing. In string with currency symbol.
  • #
  • # Arguments
  • # currency: Currency in which to display money fields. Defaults
  • # to the currency of the marketplace's home country.
  • taxTotalFormatted(currency: String): String!
  • # The date the billing was updated.
  • updatedAt: ISO8601DateTime!
  • # This field identifies billing records that are user cancellable.
  • userCancellable: Boolean!
  • }