For the complete documentation index, see llms.txt. This page is also available as Markdown.

invoices

List of invoices.

Arguments

Argument
Description

invoicedSince (ISO8601DateTime)

Filter invoices to those that where invoiced since the given datetime.

invoicedUntil (ISO8601DateTime)

Filter invoices to those that where invoiced until the given datetime.

updatedSince (ISO8601DateTime)

Filter invoices to those that where updated since the given datetime.

updatedUntil (ISO8601DateTime)

Filter invoices to those that where updated until the given datetime.

subscriptionSignupCompletedSince (ISO8601DateTime)

Filter invoices to those whose subscription completed signup since a certain time.

subscriptionSignupCompletedUntil (ISO8601DateTime)

Filter invoices to those whose subscription completed signup until a certain time.

subscriptionId (ID)

Only list invoices that match the passed in subscription ID.

subscriptionStatuses ([SubscriptionStatus!])

Filter invoices on subscription status(es).

paymentTypes ([PaymentTypeEnum!])

Only list invoices with selected payment type. Lists all payment types if none given.

statuses ([InvoiceStatusEnum!])

Filter invoices on given status. Lists all invoices if none given.

after (String)

Returns the elements in the list that come after the specified cursor.

before (String)

Returns the elements in the list that come before the specified cursor.

first (Int)

Returns the first n elements from the list.

last (Int)

Returns the last n elements from the list.

Return fields

edges ([InvoiceEdge])

A list of edges.

nodes ([Invoice])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

revenueExcludingTaxTotalCents (Int!)

Total invoice revenue excluding tax in cents.

revenueIncludingTaxTotalCents (Int!)

Total invoice revenue including tax in cents.

revenueTotalsPerCategory ([InvoiceCategoryRevenueSummary!]!)

Invoice revenue totals grouped by invoice line item category.

revenueTotalsPerProduct ([InvoiceProductRevenueSummary!]!)

Invoice revenue totals grouped by product.

Argument
Description

productIds ([ID!])

Only include invoice line items for these product IDs.

totalCount (Int)

The total number of items available.

Last updated

Was this helpful?