Skip to navigation

List

Lists owner-scoped invoices with related orders, counterparties, and accounts expanded. | authz: allowed_org_types=[provider], min_org_role=operator | () -> (InvoiceListRes)

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Query parameters

searchstring or nullOptional
Search invoice names and descriptions.
sort_byenumOptional
Field to sort by.
Allowed values:
sort_orderenumOptional
Sort order.
Allowed values:
pageintegerOptional>=1Defaults to 1
page_sizeintegerOptional1-100Defaults to 20
filter_invoice_idslist of strings or nullOptional
Filter by selected invoice ids
filter_statuseslist of enums or nullOptional
Filter by one or more invoice statuses.
Allowed values:
filter_invoice_typeslist of enums or nullOptional
Filter by one or more invoice types.
Allowed values:
filter_currency_codeslist of enums or nullOptional
Filter by one or more currency codes.
filter_counterparty_org_idstring or nullOptional

Filter by an on-CHRT counterparty organization.

filter_counterparty_off_chrt_org_data_idstring or nullOptional

Filter by off-CHRT counterparty organization data.

filter_counterparty_driver_idstring or nullOptional
Filter by a driver counterparty.
filter_counterparty_account_idstring or nullOptional
Filter by an associated counterparty account.
filter_created_at_timestamp_gtestring or nullOptionalformat: "date-time"

Filter by created_at_timestamp greater than or equal.

filter_created_at_timestamp_ltestring or nullOptionalformat: "date-time"

Filter by created_at_timestamp less than or equal.

filter_last_edited_at_timestamp_gtestring or nullOptionalformat: "date-time"

Filter by last_edited_at_timestamp greater than or equal.

filter_last_edited_at_timestamp_ltestring or nullOptionalformat: "date-time"

Filter by last_edited_at_timestamp less than or equal.

Response

Successful Response
itemslist of objects
total_countinteger

Errors

422
Unprocessable Entity Error