Tenant / Billing runs

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

afterString

A cursor after which elements are returned.

beforeString

A cursor before which elements are returned.

firstInt

Limits number of fetched items. Maximum allowed value: 250.

lastInt

Limits number of fetched items. Maximum allowed value: 250.

queryString

Search 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.

Supported filters
stageenum
NEEDS_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 value
business_unit.iduuidAny value
searchstringAny value
reverseBoolean!Default: false

Reverse the order of the underlying list.

sortKeyBillingRunSortKeyDefault: STAGE

Sort the underlying list using a key.

NAMESTAGE

Returns

cursorString!

A unique cursor that can be used for pagination.

endCursorString

The cursor to continue paginating forwards.

hasNextPageBoolean!

When paginating forwards, are there more items?

hasPreviousPageBoolean!

When paginating backwards, are there more items?

startCursorString

The cursor to continue paginating backwards.