Types
GetCustomerInvoicesInput
Input for fetching a customer’s invoices from the connected billing provider.
input
GetCustomerInvoicesInputFields
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)
orderBy
Field to sort by (default ISSUE_DATE)
orderDir
Sort direction (default ASC)
page
Int
default:0
Zero-based page index for offset pagination (default 0)
stateIn
Optional: only invoices in these states. Omit to return all states.