billingRun
Open billing work per client and business unit: blocked charges and invoices that are not sent yet. Clients without open work are left out.
Arguments
afterStringA cursor after which elements are returned.
beforeStringA cursor before which elements are returned.
firstIntLimits number of fetched items. Maximum allowed value: 250.
lastIntLimits number of fetched items. Maximum allowed value: 250.
queryStringSearch and filter expression for the rows. A filter made up of field terms, connectives, modifiers, and comparators. You can apply one or more filters to a query.
stageenumNEEDS_ATTENTION- The client has blocked charges or an invoice whose last send failed.
READY_TO_SEND- An open invoice is final (its period ended or it was finalized) and waits to be sent.
DRAFT- Open invoices still collect charges of a running period.
client. iduuidAny valuebusiness_unit. iduuidAny valuesearchstringAny valuereverseBoolean!Default: falseReverse the order of the underlying list.
Returns
cursorString!A unique cursor that can be used for pagination.
endCursorStringThe cursor to continue paginating forwards.
hasNextPageBoolean!When paginating forwards, are there more items?
hasPreviousPageBoolean!When paginating backwards, are there more items?
startCursorStringThe cursor to continue paginating backwards.