Skip to main content
inputGetCustomerInvoicesInput

Fields

contractRef
String

Optional: only invoices for this contract (contract external ID or Received contract ID). Omit for all contracts.

customerId
String!
required

The Stigg customer ref ID (or raw Received customer ID) to fetch invoices for

environmentId
UUID

The unique identifier for the environment

issuedAfter
DateTime

Optional: only invoices issued on or after this date, inclusive (ISO 8601)

issuedBefore
DateTime

Optional: only invoices issued on or before this date, inclusive (ISO 8601)

limit
Int
default:100

Maximum number of invoices to return per page (default 100)

Field to sort by (default ISSUE_DATE)

Sort direction (default ASC)

page
Int
default:0

Zero-based page index for offset pagination (default 0)

Optional: only invoices in these states. Omit to return all states.