OBJECT

Billing

Billing record.

link GraphQL Schema definition

  • type Billing implements Node {
  • # The billing amount. Denominated in cents.
  • amountCents: Int!
  • # The billing amount excluding tax.
  • amountExTax: Decimal!
  • # The billing amount excluding tax. Denominated in cents.
  • amountExTaxCents: Int!
  • # 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!
  • # 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!
  • }