INPUT_OBJECT

InvoiceInput

Attributes for creating or updating an invoice

link GraphQL Schema definition

  • input InvoiceInput {
  • # Attributes for external IDs used by external systems to fetch invoices.
  • externalIds: [KeyValueInput!]
  • # Metadata key/value pairs.
  • metadata: [KeyValueInput!]
  • # Total cost of the invoice, which includes subtotals and cost of shipping if
  • # applicable. Denominated in cents. Deprecated as of July 2022 as the total is
  • # calculated from line items and will be removed on January 2023.
  • totalCents: Int
  • # Attributes of line items associated with the invoice.
  • lineItems: [LineItemInput!]!
  • # Adjustments to apply to the invoice.
  • adjustments: [AdjustmentInput!]
  • }