fulfillment_invoices

Fetch fulfillment invoices matching the supplied arguments.

Arguments

ArgumentTypeRequiredDefaultDescription
date_fromISODateTimeNo

Inclusive start of the date range, in ISO-8601 datetime format.

date_toISODateTimeNo

Inclusive end of the date range, in ISO-8601 datetime format.

analyzeBooleanNo

If true, the query will only be analyzed (cost estimated) without executing it.

Return Type

FulfillmentInvoicesQueryResult

Query

query fulfillment_invoices(
  $date_from: ISODateTime,
  $date_to: ISODateTime,
  $analyze: Boolean
) {
  fulfillment_invoices(
    date_from: $date_from,
    date_to: $date_to,
    analyze: $analyze
  ) {
    request_id
    complexity
    data {
      ...FulfillmentInvoiceConnectionFragment
    }
  }
}

Variables

{
  "date_from": "2026-07-09T15:30:00Z",
  "date_to": "2026-07-09T15:30:00Z",
  "analyze": true
}

Response

{
  "data": {
    "fulfillment_invoices": {
      "request_id": "UmVjb3JkOjEyMzQ=",
      "complexity": 100,
      "data": [{id: "RnVsZmlsbG1lbnRJbnZvaWNlOjEyMzQ="}]
    }
  }
}